Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007421/0.0007422, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006071/0.006071, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.647/1.647, allocations: 252 MB / 0.5105 GB, free: 4.664 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005426/0.0005427, allocations: 16 kB / 0.6249 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5275/0.5281, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03622/0.5644, allocations: 36.29 MB / 0.7642 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02086/0.5853, allocations: 12.92 MB / 0.7768 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004189/0.5895, allocations: 147.1 kB / 0.7769 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.5923, allocations: 0.7636 MB / 0.7777 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00689/0.5992, allocations: 2.341 MB / 0.78 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006103/0.6054, allocations: 2.303 MB / 0.7822 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01566/0.621, allocations: 13.31 MB / 0.7952 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02161/0.6427, allocations: 13.2 MB / 0.8081 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006746/0.6495, allocations: 2.921 MB / 0.811 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007206/0.6568, allocations: 3.861 MB / 0.8147 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001581/0.6584, allocations: 320 kB / 0.815 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004268/0.6627, allocations: 1.63 MB / 0.8166 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00361/0.6663, allocations: 2.463 MB / 0.819 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.006588/0.6729, allocations: 2.932 MB / 0.8219 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.6879, allocations: 11.29 MB / 0.8329 GB, free: 160 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.688, allocations: 4 kB / 0.8329 GB, free: 156 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.004e-06/0.688, allocations: 0 / 0.8329 GB, free: 156 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004827/0.6885, allocations: 0 / 0.8329 GB, free: 156 kB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01641/0.7049, allocations: 5.142 MB / 0.8379 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.705, allocations: 8.031 kB / 0.8379 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.7152, allocations: 1.301 MB / 0.8392 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007826/0.723, allocations: 3.568 MB / 0.8427 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004109/0.7235, allocations: 382.4 kB / 0.8431 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002317/0.7258, allocations: 0.4924 MB / 0.8435 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/0.7479, allocations: 8.894 MB / 0.8522 GB, free: 11.86 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003236/0.7483, allocations: 31.67 kB / 0.8523 GB, free: 11.83 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001679/0.75, allocations: 219.9 kB / 0.8525 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002324/0.7523, allocations: 0.6304 MB / 0.8531 GB, free: 10.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/0.7682, allocations: 7.014 MB / 0.8599 GB, free: 3.957 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05478/0.823, allocations: 40.39 MB / 0.8994 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004798/0.8279, allocations: 2.898 MB / 0.9022 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00408/0.832, allocations: 2.667 MB / 0.9048 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.8322, allocations: 30.09 kB / 0.9048 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.022e-05/0.8323, allocations: 68.59 kB / 0.9049 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 4.439e-06/0.8323, allocations: 0 / 0.9049 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.7039/1.536, allocations: 77.49 MB / 0.9806 GB, free: 105.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/1.536, allocations: 94.73 kB / 0.9807 GB, free: 105.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003754/1.54, allocations: 2.363 MB / 0.983 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009336/1.541, allocations: 97.7 kB / 0.9831 GB, free: 103.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/1.542, allocations: 2.334 MB / 0.9853 GB, free: 100.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002055/1.544, allocations: 1.438 MB / 0.9868 GB, free: 99.51 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/1.546, allocations: 339 kB / 0.9871 GB, free: 99.17 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.386e-05/1.546, allocations: 305.1 kB / 0.9874 GB, free: 98.87 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004557/1.55, allocations: 2.999 MB / 0.9903 GB, free: 95.86 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005228/1.555, allocations: 3.846 MB / 0.9941 GB, free: 91.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/1.566, allocations: 7.384 MB / 1.001 GB, free: 83.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-05/1.566, allocations: 8 kB / 1.001 GB, free: 83.97 MB / 0.7169 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02988/1.596, allocations: 12.56 MB / 1.014 GB, free: 71.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/1.596, allocations: 12 kB / 1.014 GB, free: 71.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-05/1.596, allocations: 24 kB / 1.014 GB, free: 71.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0231/1.619, allocations: 6.024 MB / 1.019 GB, free: 65.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/1.621, allocations: 491.2 kB / 1.02 GB, free: 64.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07314/1.695, allocations: 67.29 MB / 1.086 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005021/1.7, allocations: 215.8 kB / 1.086 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/1.701, allocations: 152 kB / 1.086 GB, free: 9.926 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006198/1.707, allocations: 1.996 MB / 1.088 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001524/1.709, allocations: 391.4 kB / 1.088 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0314/1.74, allocations: 12.22 MB / 1.1 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.171e-05/1.74, allocations: 44.78 kB / 1.1 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000221/1.74, allocations: 48 kB / 1.1 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001077/1.74, allocations: 19.92 kB / 1.1 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04586/1.786, allocations: 19.17 MB / 1.119 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.853e-05/1.786, allocations: 8 kB / 1.119 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.788, allocations: 287.5 kB / 1.119 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02159/1.81, allocations: 5.582 MB / 1.125 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007759/1.811, allocations: 76 kB / 1.125 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07897/1.89, allocations: 64.92 MB / 1.188 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/1.89, allocations: 8 kB / 1.188 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03358/1.923, allocations: 15.61 MB / 1.204 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003333/1.927, allocations: 1.047 MB / 1.205 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/1.928, allocations: 91.92 kB / 1.205 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003368/1.931, allocations: 211.7 kB / 1.205 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001884/1.933, allocations: 402.3 kB / 1.205 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004223/1.934, allocations: 108 kB / 1.205 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002593/1.936, allocations: 1.553 MB / 1.207 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/1.936, allocations: 4 kB / 1.207 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.008726/1.945, allocations: 1.844 MB / 1.209 GB, free: 8.496 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008652/1.946, allocations: 221.4 kB / 1.209 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02282/1.969, allocations: 12.2 MB / 1.221 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.045e-05/1.969, allocations: 0 / 1.221 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01649/1.985, allocations: 8.381 MB / 1.229 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009333/1.995, allocations: 1.112 MB / 1.23 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4948/2.49, allocations: 14.85 MB / 1.245 GB, free: 276.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007166/2.497, allocations: 4.093 MB / 1.249 GB, free: 275.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00313/2.5, allocations: 0.6635 MB / 1.249 GB, free: 275.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/2.501, allocations: 183.5 kB / 1.249 GB, free: 275.6 MB / 0.8731 GB Notification: Performance of SimCode: time 1.282e-06/2.501, allocations: 0 / 1.249 GB, free: 275.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.1562/2.657, allocations: 105 MB / 1.352 GB, free: 198.2 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) Environment - environmentSimulation: