Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007361/0.0007361, allocations: 87.03 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.0008273/0.0008271, 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.576/1.576, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.696/1.696, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005852/0.0005853, allocations: 19.69 kB / 0.6737 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2779, 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_RL): time 0.0251/0.303, allocations: 24.2 MB / 0.8109 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.318, allocations: 7.731 MB / 0.8185 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/0.3209, allocations: 103.4 kB / 0.8186 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.3228, allocations: 0.5077 MB / 0.8191 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004272/0.3271, allocations: 1.282 MB / 0.8203 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.3309, allocations: 0.988 MB / 0.8213 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008949/0.3399, allocations: 6.873 MB / 0.828 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01297/0.3529, allocations: 8.184 MB / 0.836 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.3575, allocations: 1.871 MB / 0.8378 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005792/0.3634, allocations: 2.402 MB / 0.8402 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.3645, allocations: 212 kB / 0.8404 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.367, allocations: 0.6009 MB / 0.841 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002301/0.3693, allocations: 1.664 MB / 0.8426 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001976/0.3713, allocations: 0.7966 MB / 0.8434 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009442/0.3808, allocations: 6.631 MB / 0.8498 GB, free: 11.67 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.3808, allocations: 0 / 0.8498 GB, free: 11.67 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3809, allocations: 4 kB / 0.8498 GB, free: 11.66 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003859/0.3813, allocations: 4 kB / 0.8498 GB, free: 11.66 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009528/0.3908, allocations: 3.452 MB / 0.8532 GB, free: 8.145 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3909, allocations: 12.02 kB / 0.8532 GB, free: 8.133 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005031/0.3959, allocations: 0.7953 MB / 0.854 GB, free: 7.332 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005287/0.4012, allocations: 2.374 MB / 0.8563 GB, free: 4.902 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.4015, allocations: 271.3 kB / 0.8566 GB, free: 4.637 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.4028, allocations: 379.8 kB / 0.8569 GB, free: 4.266 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.4148, allocations: 5.961 MB / 0.8628 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.4149, allocations: 15.88 kB / 0.8628 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004025/0.4154, allocations: 156 kB / 0.8629 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005738/0.4159, allocations: 290.8 kB / 0.8632 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009134/0.4251, allocations: 4.492 MB / 0.8676 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03344/0.4586, allocations: 27.69 MB / 0.8946 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.4602, allocations: 1.107 MB / 0.8957 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.4616, allocations: 1.029 MB / 0.8967 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.623e-05/0.4617, allocations: 16.94 kB / 0.8967 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.4617, allocations: 59.44 kB / 0.8968 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 2.816e-06/0.4617, allocations: 0 / 0.8968 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=131): time 0.01997/0.4817, allocations: 9.655 MB / 0.9062 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.4818, allocations: 68.72 kB / 0.9063 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.4838, allocations: 1.482 MB / 0.9077 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.484, allocations: 45.7 kB / 0.9078 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.4852, allocations: 1.659 MB / 0.9094 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/0.4857, allocations: 473.3 kB / 0.9098 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.162e-05/0.4858, allocations: 36 kB / 0.9099 GB, free: 11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4859, allocations: 377.9 kB / 0.9102 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.4873, allocations: 0.9096 MB / 0.9111 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.489, allocations: 1.459 MB / 0.9125 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.4906, allocations: 1.15 MB / 0.9137 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.4906, allocations: 4 kB / 0.9137 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005546/0.4961, allocations: 3.266 MB / 0.9169 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.4962, allocations: 15.98 kB / 0.9169 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.4962, allocations: 20.16 kB / 0.9169 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/0.4983, allocations: 0.7373 MB / 0.9176 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.4998, allocations: 383.4 kB / 0.918 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4997/0.9995, allocations: 15.75 MB / 0.9334 GB, free: 112.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.001, allocations: 107 kB / 0.9335 GB, free: 112.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/1.001, allocations: 71.81 kB / 0.9335 GB, free: 112.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002177/1.004, allocations: 1.315 MB / 0.9348 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/1.004, allocations: 198.2 kB / 0.935 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/1.008, allocations: 2.779 MB / 0.9377 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.008, allocations: 13.11 kB / 0.9377 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.008, allocations: 12.5 kB / 0.9378 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/1.008, allocations: 5.953 kB / 0.9378 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009736/1.018, allocations: 6.21 MB / 0.9438 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/1.018, allocations: 9.438 kB / 0.9438 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.02, allocations: 233.1 kB / 0.9441 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/1.022, allocations: 0.6631 MB / 0.9447 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/1.022, allocations: 32.72 kB / 0.9447 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/1.035, allocations: 15.51 MB / 0.9599 GB, free: 94.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/1.035, allocations: 12.83 kB / 0.9599 GB, free: 94.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005813/1.041, allocations: 3.997 MB / 0.9638 GB, free: 93.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008571/1.042, allocations: 457.8 kB / 0.9642 GB, free: 92.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/1.042, allocations: 33.38 kB / 0.9643 GB, free: 92.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007628/1.043, allocations: 83.25 kB / 0.9643 GB, free: 92.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/1.043, allocations: 112.2 kB / 0.9644 GB, free: 92.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.558e-05/1.044, allocations: 36.62 kB / 0.9645 GB, free: 92.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001352/1.045, allocations: 0.98 MB / 0.9654 GB, free: 92.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.045, allocations: 2.438 kB / 0.9654 GB, free: 92.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003175/1.048, allocations: 0.6854 MB / 0.9661 GB, free: 92.35 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002661/1.048, allocations: 155.5 kB / 0.9663 GB, free: 92.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005181/1.054, allocations: 3.487 MB / 0.9697 GB, free: 90.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.054, allocations: 1.344 kB / 0.9697 GB, free: 90.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002772/1.056, allocations: 2.292 MB / 0.9719 GB, free: 88.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/1.059, allocations: 0.6259 MB / 0.9725 GB, free: 88.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009283/1.069, allocations: 7.846 MB / 0.9802 GB, free: 84.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002001/1.071, allocations: 2.666 MB / 0.9828 GB, free: 82.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00151/1.072, allocations: 488.8 kB / 0.9832 GB, free: 82.24 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/1.072, allocations: 120.6 kB / 0.9834 GB, free: 82.23 MB / 0.7325 GB Notification: Performance of SimCode: time 1.323e-06/1.072, allocations: 0 / 0.9834 GB, free: 82.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.04355/1.116, allocations: 31.19 MB / 1.014 GB, free: 55.23 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: