Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.705/2.705, allocations: 287.5 MB / 302.4 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 186.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009434/0.0009431, allocations: 94.11 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000533/0.0005334, allocations: 16.31 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2356, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04966/0.2853, allocations: 34.16 MB / 1.012 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0318/0.3172, allocations: 12.43 MB / 1.024 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004548/0.3218, allocations: 143.1 kB / 1.024 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004046/0.3259, allocations: 0.7441 MB / 1.025 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008955/0.3349, allocations: 2.056 MB / 1.027 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008018/0.343, allocations: 1.626 MB / 1.028 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02014/0.3632, allocations: 10.6 MB / 1.039 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03005/0.3933, allocations: 11.44 MB / 1.05 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008421/0.4018, allocations: 2.949 MB / 1.053 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.4125, allocations: 3.769 MB / 1.056 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002459/0.415, allocations: 316 kB / 1.057 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00558/0.4206, allocations: 0.7844 MB / 1.057 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005799/0.4265, allocations: 2.432 MB / 1.06 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003749/0.4303, allocations: 1.167 MB / 1.061 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.7351/1.165, allocations: 9.727 MB / 1.07 GB, free: 26.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/1.165, allocations: 0 / 1.07 GB, free: 26.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.408e-06/1.165, allocations: 1.156 kB / 1.07 GB, free: 26.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005322/1.166, allocations: 0 / 1.07 GB, free: 26.9 MB / 0.6823 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.03176/1.198, allocations: 5.201 MB / 1.076 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.709e-05/1.198, allocations: 10.08 kB / 1.076 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02247/1.22, allocations: 1.303 MB / 1.077 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0196/1.24, allocations: 3.473 MB / 1.08 GB, free: 23.81 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/1.241, allocations: 381.5 kB / 1.081 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005008/1.246, allocations: 0.4971 MB / 1.081 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04717/1.293, allocations: 8.845 MB / 1.09 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00068/1.294, allocations: 32.53 kB / 1.09 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003902/1.298, allocations: 220.6 kB / 1.09 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006256/1.304, allocations: 0.633 MB / 1.091 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03442/1.339, allocations: 6.975 MB / 1.097 GB, free: 22.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1004/1.439, allocations: 40.39 MB / 1.137 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007499/1.447, allocations: 2.879 MB / 1.14 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006743/1.454, allocations: 2.659 MB / 1.142 GB, free: 11.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005479/1.454, allocations: 34.91 kB / 1.142 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.997e-05/1.454, allocations: 66.8 kB / 1.142 GB, free: 11.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=265): time 6.502e-06/1.454, allocations: 1.062 kB / 1.142 GB, free: 11.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=424): time 0.5955/2.05, allocations: 77.41 MB / 1.218 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.724e-05/2.05, allocations: 94.73 kB / 1.218 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005557/2.056, allocations: 2.336 MB / 1.22 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001142/2.057, allocations: 93.7 kB / 1.22 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002524/2.059, allocations: 2.341 MB / 1.223 GB, free: 4.988 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002837/2.062, allocations: 1.43 MB / 1.224 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006036/2.063, allocations: 92 kB / 1.224 GB, free: 3.48 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0004074/2.063, allocations: 483.2 kB / 1.225 GB, free: 3 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008306/2.072, allocations: 2.98 MB / 1.228 GB, free: 12 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009641/2.081, allocations: 3.827 MB / 1.231 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/2.092, allocations: 3.554 MB / 1.235 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-05/2.092, allocations: 4 kB / 1.235 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.0559/2.148, allocations: 12.51 MB / 1.247 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/2.148, allocations: 12 kB / 1.247 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-05/2.148, allocations: 25.97 kB / 1.247 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04367/2.192, allocations: 6.011 MB / 1.253 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004413/2.196, allocations: 494.7 kB / 1.253 GB, free: 5.473 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1744/2.371, allocations: 67.2 MB / 1.319 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006603/2.377, allocations: 211.8 kB / 1.319 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001366/2.379, allocations: 160 kB / 1.319 GB, free: 15.01 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006618/2.385, allocations: 1.985 MB / 1.321 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00174/2.387, allocations: 391.4 kB / 1.322 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05463/2.442, allocations: 12.18 MB / 1.334 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.895e-05/2.442, allocations: 40 kB / 1.334 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002295/2.442, allocations: 48 kB / 1.334 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001343/2.442, allocations: 27.86 kB / 1.334 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07632/2.519, allocations: 19.12 MB / 1.352 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.666e-05/2.519, allocations: 8.031 kB / 1.352 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/2.522, allocations: 288.6 kB / 1.353 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03975/2.562, allocations: 5.564 MB / 1.358 GB, free: 7.449 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001198/2.563, allocations: 91.94 kB / 1.358 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1365/2.7, allocations: 64.81 MB / 1.421 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/2.7, allocations: 11.38 kB / 1.421 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7256/3.425, allocations: 15.54 MB / 1.437 GB, free: 330.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004162/3.429, allocations: 1.042 MB / 1.438 GB, free: 330 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001859/3.431, allocations: 83.77 kB / 1.438 GB, free: 330 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00569/3.437, allocations: 223.1 kB / 1.438 GB, free: 330 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002447/3.44, allocations: 404.1 kB / 1.438 GB, free: 330 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009624/3.441, allocations: 105.9 kB / 1.438 GB, free: 330 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004164/3.445, allocations: 1.538 MB / 1.44 GB, free: 329.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.61e-07/3.445, allocations: 0 / 1.44 GB, free: 329.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01095/3.456, allocations: 1.843 MB / 1.442 GB, free: 329.9 MB / 0.9636 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001446/3.457, allocations: 217.2 kB / 1.442 GB, free: 329.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.03471/3.492, allocations: 12.18 MB / 1.454 GB, free: 325.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/3.492, allocations: 3.719 kB / 1.454 GB, free: 325.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.02566/3.518, allocations: 8.38 MB / 1.462 GB, free: 320.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01162/3.529, allocations: 1.11 MB / 1.463 GB, free: 319.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03741/3.567, allocations: 14.26 MB / 1.477 GB, free: 312.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009233/3.576, allocations: 4.089 MB / 1.481 GB, free: 311 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004507/3.581, allocations: 0.6649 MB / 1.482 GB, free: 310.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/3.582, allocations: 178.1 kB / 1.482 GB, free: 310.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.623e-06/3.582, allocations: 0 / 1.482 GB, free: 310.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.2412/3.823, allocations: 102.5 MB / 1.582 GB, free: 223.2 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)