Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008688/0.0008685, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008645/0.0008645, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.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.000535/0.0005351, allocations: 20.31 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2673, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03741/0.3048, allocations: 37.48 MB / 0.8239 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0224/0.3272, allocations: 14.4 MB / 0.838 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004965/0.3322, allocations: 163 kB / 0.8381 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003311/0.3355, allocations: 0.8333 MB / 0.8389 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007465/0.343, allocations: 2.332 MB / 0.8412 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006987/0.35, allocations: 1.901 MB / 0.8431 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02171/0.3718, allocations: 12.72 MB / 0.8555 GB, free: 5.906 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02404/0.3959, allocations: 13.97 MB / 0.8691 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008016/0.4039, allocations: 3.58 MB / 0.8726 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009122/0.4131, allocations: 4.645 MB / 0.8772 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002519/0.4157, allocations: 400 kB / 0.8775 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005013/0.4207, allocations: 0.8898 MB / 0.8784 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00566/0.4264, allocations: 2.973 MB / 0.8813 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004855/0.4313, allocations: 1.389 MB / 0.8827 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01557/0.4469, allocations: 11.76 MB / 0.8941 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4469, allocations: 0 / 0.8941 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4469, allocations: 4 kB / 0.8942 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005031/0.4474, allocations: 4 kB / 0.8942 GB, free: 14.13 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01715/0.4646, allocations: 6.224 MB / 0.9002 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4646, allocations: 12.03 kB / 0.9002 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.4752, allocations: 1.514 MB / 0.9017 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009713/0.4849, allocations: 4.101 MB / 0.9057 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005153/0.4855, allocations: 452.1 kB / 0.9062 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003251/0.4887, allocations: 0.5935 MB / 0.9067 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4727/0.9615, allocations: 10.63 MB / 0.9171 GB, free: 101.6 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002171/0.9617, allocations: 29.27 kB / 0.9171 GB, free: 101.6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009882/0.9627, allocations: 268.8 kB / 0.9174 GB, free: 101.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.965, allocations: 0.7729 MB / 0.9182 GB, free: 101.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/0.9845, allocations: 8.511 MB / 0.9265 GB, free: 98.35 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05392/1.038, allocations: 47 MB / 0.9724 GB, free: 58.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005097/1.044, allocations: 4.295 MB / 0.9766 GB, free: 56.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005355/1.049, allocations: 3.678 MB / 0.9802 GB, free: 54.53 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004251/1.049, allocations: 39.5 kB / 0.9802 GB, free: 54.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.28e-05/1.05, allocations: 72.66 kB / 0.9803 GB, free: 54.45 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 8.766e-06/1.05, allocations: 4 kB / 0.9803 GB, free: 54.45 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.4291/1.479, allocations: 127.9 MB / 1.105 GB, free: 6.84 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/1.479, allocations: 115.9 kB / 1.105 GB, free: 6.711 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/1.482, allocations: 2.65 MB / 1.108 GB, free: 4.062 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000882/1.483, allocations: 121.7 kB / 1.108 GB, free: 3.938 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001729/1.485, allocations: 2.676 MB / 1.111 GB, free: 1.238 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002162/1.487, allocations: 1.953 MB / 1.112 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/1.487, allocations: 112 kB / 1.113 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002925/1.488, allocations: 0.5257 MB / 1.113 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005522/1.493, allocations: 4.056 MB / 1.117 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006147/1.499, allocations: 4.996 MB / 1.122 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006657/1.506, allocations: 4.827 MB / 1.127 GB, free: 424 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-05/1.506, allocations: 4 kB / 1.127 GB, free: 420 kB / 0.8106 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03568/1.542, allocations: 16.91 MB / 1.143 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/1.542, allocations: 12 kB / 1.143 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/1.542, allocations: 28.03 kB / 1.143 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02806/1.57, allocations: 9.059 MB / 1.152 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/1.573, allocations: 0.5298 MB / 1.153 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1008/1.673, allocations: 70.62 MB / 1.222 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004593/1.678, allocations: 279.8 kB / 1.222 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008887/1.679, allocations: 188 kB / 1.222 GB, free: 13.16 MB / 0.92 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005308/1.684, allocations: 2.43 MB / 1.224 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.686, allocations: 470.5 kB / 1.225 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03766/1.723, allocations: 16.75 MB / 1.241 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.364e-05/1.723, allocations: 60 kB / 1.241 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002204/1.724, allocations: 76.12 kB / 1.241 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001225/1.724, allocations: 27.89 kB / 1.241 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5264/2.25, allocations: 25.61 MB / 1.266 GB, free: 308.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.122e-05/2.25, allocations: 11.34 kB / 1.266 GB, free: 308.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/2.252, allocations: 320.8 kB / 1.267 GB, free: 308.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02716/2.279, allocations: 8.264 MB / 1.275 GB, free: 308 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001084/2.28, allocations: 105.7 kB / 1.275 GB, free: 308 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08358/2.364, allocations: 67.44 MB / 1.341 GB, free: 275.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/2.364, allocations: 13.17 kB / 1.341 GB, free: 275.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03661/2.401, allocations: 21.48 MB / 1.362 GB, free: 264.4 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003427/2.404, allocations: 1.359 MB / 1.363 GB, free: 263.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/2.405, allocations: 111.7 kB / 1.363 GB, free: 263 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003213/2.409, allocations: 286.8 kB / 1.363 GB, free: 262.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002022/2.411, allocations: 0.5176 MB / 1.364 GB, free: 262.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003823/2.411, allocations: 144 kB / 1.364 GB, free: 262.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002065/2.413, allocations: 1.756 MB / 1.366 GB, free: 260.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.283e-06/2.413, allocations: 0 / 1.366 GB, free: 260.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.007362/2.42, allocations: 2.47 MB / 1.368 GB, free: 258.2 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007959/2.421, allocations: 238 kB / 1.368 GB, free: 258 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02147/2.443, allocations: 14.49 MB / 1.382 GB, free: 243.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/2.443, allocations: 4 kB / 1.382 GB, free: 243.3 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01554/2.458, allocations: 9.362 MB / 1.392 GB, free: 233.8 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00628/2.465, allocations: 1.288 MB / 1.393 GB, free: 232.6 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/2.487, allocations: 18.09 MB / 1.411 GB, free: 214.4 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005309/2.492, allocations: 4.9 MB / 1.415 GB, free: 209.4 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002821/2.495, allocations: 0.7487 MB / 1.416 GB, free: 208.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005747/2.496, allocations: 195.4 kB / 1.416 GB, free: 208.5 MB / 0.9512 GB Notification: Performance of SimCode: time 3.497e-06/2.496, allocations: 3.938 kB / 1.416 GB, free: 208.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.181/2.677, allocations: 135.4 MB / 1.549 GB, free: 74.28 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) Environment - environmentSimulation: