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.001007/0.001007, allocations: 99.31 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.0009625/0.0009625, allocations: 177.3 kB / 15.94 MB, free: 220 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.691/1.691, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.766/1.766, allocations: 251.9 MB / 0.51 GB, free: 4.895 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.0009676/0.000968, allocations: 20 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6602/0.6612, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03875/0.7, allocations: 32.64 MB / 0.7598 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02356/0.7236, allocations: 12.55 MB / 0.7721 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004659/0.7284, allocations: 139.1 kB / 0.7722 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003712/0.7321, allocations: 0.7375 MB / 0.773 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00807/0.7402, allocations: 1.877 MB / 0.7748 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006404/0.7466, allocations: 1.656 MB / 0.7764 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0103/0.757, allocations: 4.809 MB / 0.7811 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01974/0.7768, allocations: 11.43 MB / 0.7923 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005945/0.7827, allocations: 2.612 MB / 0.7948 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006268/0.789, allocations: 2.671 MB / 0.7974 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001934/0.791, allocations: 316 kB / 0.7977 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/0.7951, allocations: 0.6595 MB / 0.7984 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005981/0.8011, allocations: 2.237 MB / 0.8005 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003217/0.8044, allocations: 1.175 MB / 0.8017 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.8185, allocations: 9.574 MB / 0.811 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.8185, allocations: 0 / 0.811 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.355e-06/0.8186, allocations: 4 kB / 0.811 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0005052/0.8191, allocations: 4 kB / 0.8111 GB, free: 6.113 MB / 0.6231 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.01524/0.8343, allocations: 5.158 MB / 0.8161 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.8344, allocations: 8.031 kB / 0.8161 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009081/0.8435, allocations: 1.285 MB / 0.8174 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/0.8541, allocations: 3.468 MB / 0.8207 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004146/0.8546, allocations: 382.1 kB / 0.8211 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002479/0.8571, allocations: 0.4998 MB / 0.8216 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/0.8784, allocations: 8.796 MB / 0.8302 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001813/0.8786, allocations: 31.72 kB / 0.8302 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000863/0.8795, allocations: 223.9 kB / 0.8304 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002255/0.8818, allocations: 0.6265 MB / 0.831 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.8994, allocations: 6.975 MB / 0.8378 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05938/0.9588, allocations: 40.39 MB / 0.8773 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/0.9633, allocations: 2.889 MB / 0.8801 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.9636, allocations: 30.09 kB / 0.8801 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.9637, allocations: 68.61 kB / 0.8802 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=265): time 4.158e-06/0.9637, allocations: 0 / 0.8802 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=424): time 0.7855/1.749, allocations: 77.41 MB / 0.9558 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.749, allocations: 98.67 kB / 0.9559 GB, free: 131 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/1.752, allocations: 2.332 MB / 0.9582 GB, free: 128.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009329/1.753, allocations: 93.7 kB / 0.9583 GB, free: 128.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.754, allocations: 2.342 MB / 0.9605 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001607/1.756, allocations: 1.43 MB / 0.9619 GB, free: 124.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/1.756, allocations: 92 kB / 0.962 GB, free: 124.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.756, allocations: 483.2 kB / 0.9625 GB, free: 124.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/1.76, allocations: 2.981 MB / 0.9654 GB, free: 121.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003796/1.763, allocations: 3.808 MB / 0.9691 GB, free: 117.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/1.767, allocations: 3.552 MB / 0.9726 GB, free: 113.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/1.767, allocations: 4 kB / 0.9726 GB, free: 113.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02415/1.792, allocations: 12.51 MB / 0.9848 GB, free: 100.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/1.792, allocations: 12 kB / 0.9848 GB, free: 100.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/1.792, allocations: 24 kB / 0.9848 GB, free: 100.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02042/1.812, allocations: 6.016 MB / 0.9907 GB, free: 94.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/1.814, allocations: 495.2 kB / 0.9912 GB, free: 94.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06518/1.879, allocations: 69.29 MB / 1.059 GB, free: 21.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/1.884, allocations: 219.8 kB / 1.059 GB, free: 21.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005327/1.884, allocations: 152 kB / 1.059 GB, free: 21.58 MB / 0.7169 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.003593/1.888, allocations: 1.988 MB / 1.061 GB, free: 19.58 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008918/1.889, allocations: 391.4 kB / 1.062 GB, free: 19.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02418/1.913, allocations: 12.19 MB / 1.073 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/1.913, allocations: 43.95 kB / 1.073 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001638/1.913, allocations: 48 kB / 1.074 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.424e-05/1.913, allocations: 19.92 kB / 1.074 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03996/1.953, allocations: 19.12 MB / 1.092 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.782e-05/1.953, allocations: 8 kB / 1.092 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.955, allocations: 291.5 kB / 1.092 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02077/1.976, allocations: 5.561 MB / 1.098 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007107/1.976, allocations: 76 kB / 1.098 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08125/2.058, allocations: 66.9 MB / 1.163 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/2.058, allocations: 15.92 kB / 1.163 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03174/2.09, allocations: 16.21 MB / 1.179 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003125/2.093, allocations: 1.047 MB / 1.18 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007816/2.093, allocations: 84.09 kB / 1.18 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002715/2.096, allocations: 223.7 kB / 1.18 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001588/2.098, allocations: 402.3 kB / 1.181 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002925/2.098, allocations: 112 kB / 1.181 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002273/2.1, allocations: 1.529 MB / 1.182 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.1e-07/2.1, allocations: 0 / 1.182 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.006632/2.107, allocations: 1.844 MB / 1.184 GB, free: 1.496 MB / 0.8262 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.0005841/2.108, allocations: 226.7 kB / 1.184 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02167/2.129, allocations: 12.19 MB / 1.196 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/2.129, allocations: 0 / 1.196 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01709/2.146, allocations: 8.364 MB / 1.205 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005721/2.152, allocations: 1.034 MB / 1.206 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/2.177, allocations: 14.28 MB / 1.22 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006746/2.184, allocations: 4.183 MB / 1.224 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003005/2.187, allocations: 0.6708 MB / 1.224 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005416/2.187, allocations: 175.4 kB / 1.224 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of SimCode: time 1.212e-06/2.187, allocations: 0 / 1.224 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of Templates: time 0.5687/2.756, allocations: 102.4 MB / 1.324 GB, free: 222.3 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: