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.0009955/0.0009955, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001166/0.001166, allocations: 177.3 kB / 15.94 MB, free: 228 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.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.477 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.674/1.674, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005053/0.0005053, allocations: 17.25 kB / 0.6736 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2357, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02625/0.262, allocations: 23.25 MB / 0.8098 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.2785, allocations: 7.771 MB / 0.8174 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/0.2812, allocations: 95.38 kB / 0.8175 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.2831, allocations: 0.5163 MB / 0.818 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004463/0.2876, allocations: 1.176 MB / 0.8192 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.2909, allocations: 1.013 MB / 0.8202 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005786/0.2967, allocations: 3.003 MB / 0.8231 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01346/0.3102, allocations: 8.167 MB / 0.8311 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003894/0.3141, allocations: 1.639 MB / 0.8327 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003545/0.3177, allocations: 1.666 MB / 0.8343 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001047/0.3187, allocations: 212 kB / 0.8345 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.321, allocations: 0.5072 MB / 0.835 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002879/0.3239, allocations: 1.524 MB / 0.8365 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002336/0.3262, allocations: 0.7966 MB / 0.8373 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008779/0.335, allocations: 6.518 MB / 0.8436 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3351, allocations: 4 kB / 0.8436 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3351, allocations: 0 / 0.8436 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000391/0.3355, allocations: 0 / 0.8436 GB, free: 1.922 MB / 0.6544 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.01133/0.3468, allocations: 3.436 MB / 0.847 GB, free: 14.42 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.3469, allocations: 8.031 kB / 0.847 GB, free: 14.41 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005176/0.3521, allocations: 0.7602 MB / 0.8477 GB, free: 13.65 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006417/0.3585, allocations: 2.362 MB / 0.85 GB, free: 11.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/0.3588, allocations: 275.3 kB / 0.8503 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001466/0.3603, allocations: 375.8 kB / 0.8507 GB, free: 10.59 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/0.3747, allocations: 5.941 MB / 0.8565 GB, free: 4.398 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/0.375, allocations: 27.66 kB / 0.8565 GB, free: 4.371 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001192/0.3762, allocations: 156 kB / 0.8566 GB, free: 4.219 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007246/0.377, allocations: 286.9 kB / 0.8569 GB, free: 3.938 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.3871, allocations: 4.496 MB / 0.8613 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03935/0.4265, allocations: 27.68 MB / 0.8883 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.4286, allocations: 1.107 MB / 0.8894 GB, free: 132 kB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.4288, allocations: 13 kB / 0.8894 GB, free: 120 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.4288, allocations: 47.52 kB / 0.8895 GB, free: 64 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.447e-06/0.4289, allocations: 0 / 0.8895 GB, free: 64 kB / 0.7012 GB Notification: Performance of matching and sorting (n=131): time 0.02264/0.4515, allocations: 9.665 MB / 0.8989 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.4516, allocations: 68.72 kB / 0.899 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/0.4544, allocations: 1.482 MB / 0.9004 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.4546, allocations: 49.7 kB / 0.9005 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.456, allocations: 1.667 MB / 0.9021 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005279/0.4565, allocations: 469.3 kB / 0.9025 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.4567, allocations: 36 kB / 0.9026 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.4569, allocations: 377.9 kB / 0.9029 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.4584, allocations: 0.9096 MB / 0.9038 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.4602, allocations: 1.447 MB / 0.9052 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.4619, allocations: 1.15 MB / 0.9064 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.462, allocations: 4 kB / 0.9064 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005997/0.468, allocations: 3.266 MB / 0.9096 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.468, allocations: 12 kB / 0.9096 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/0.4681, allocations: 16 kB / 0.9096 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.4703, allocations: 0.7419 MB / 0.9103 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.472, allocations: 383.4 kB / 0.9107 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4727/0.9447, allocations: 16.03 MB / 0.9263 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.9465, allocations: 104.8 kB / 0.9264 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.9468, allocations: 75.83 kB / 0.9265 GB, free: 117 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.002519/0.9493, allocations: 1.312 MB / 0.9278 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004759/0.9498, allocations: 203 kB / 0.928 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004764/0.9546, allocations: 2.781 MB / 0.9307 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.9546, allocations: 17.61 kB / 0.9307 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.607e-05/0.9546, allocations: 6.125 kB / 0.9307 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.9547, allocations: 6.703 kB / 0.9307 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.9669, allocations: 6.213 MB / 0.9368 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.967, allocations: 6.766 kB / 0.9368 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.9682, allocations: 229.8 kB / 0.937 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/0.9702, allocations: 0.6705 MB / 0.9377 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/0.9704, allocations: 34.44 kB / 0.9377 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/0.9854, allocations: 15.78 MB / 0.9531 GB, free: 99.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-05/0.9854, allocations: 5.5 kB / 0.9531 GB, free: 99.83 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007325/0.9928, allocations: 4.336 MB / 0.9573 GB, free: 97.63 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.994, allocations: 462.8 kB / 0.9578 GB, free: 97.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005885/0.9946, allocations: 33.44 kB / 0.9578 GB, free: 97.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.996, allocations: 83.17 kB / 0.9579 GB, free: 97.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004409/0.9964, allocations: 119.6 kB / 0.958 GB, free: 97.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.9966, allocations: 37.62 kB / 0.958 GB, free: 97.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001995/0.9986, allocations: 0.978 MB / 0.959 GB, free: 96.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9986, allocations: 1.031 kB / 0.959 GB, free: 96.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003463/1.002, allocations: 0.6838 MB / 0.9597 GB, free: 96.93 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.0003737/1.002, allocations: 153.9 kB / 0.9598 GB, free: 96.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005952/1.008, allocations: 3.487 MB / 0.9632 GB, free: 94.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.008, allocations: 1.469 kB / 0.9632 GB, free: 94.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003607/1.012, allocations: 2.293 MB / 0.9655 GB, free: 93.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/1.015, allocations: 0.5926 MB / 0.966 GB, free: 93.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.029, allocations: 7.835 MB / 0.9737 GB, free: 88.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003292/1.032, allocations: 2.735 MB / 0.9764 GB, free: 87.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002048/1.034, allocations: 497.2 kB / 0.9768 GB, free: 87.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/1.035, allocations: 117.4 kB / 0.9769 GB, free: 87.27 MB / 0.7325 GB Notification: Performance of SimCode: time 1.813e-06/1.035, allocations: 0 / 0.9769 GB, free: 87.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.05286/1.088, allocations: 31.17 MB / 1.007 GB, free: 61.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: