Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009547/0.0009549, 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.001033/0.001033, 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.514/1.514, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.628/1.628, 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.0004826/0.0004826, allocations: 12.09 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2483, 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_R): time 0.03238/0.2807, allocations: 31.92 MB / 0.8185 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01738/0.2981, allocations: 9.546 MB / 0.8278 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003629/0.3018, allocations: 123.3 kB / 0.8279 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002631/0.3045, allocations: 0.6859 MB / 0.8286 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.3105, allocations: 1.644 MB / 0.8302 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004468/0.315, allocations: 1.144 MB / 0.8313 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01141/0.3264, allocations: 8.845 MB / 0.8399 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01928/0.3457, allocations: 10.41 MB / 0.8501 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005425/0.3512, allocations: 2.436 MB / 0.8525 GB, free: 8.945 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006527/0.3577, allocations: 3.122 MB / 0.8555 GB, free: 5.812 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001819/0.3596, allocations: 280 kB / 0.8558 GB, free: 5.539 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003553/0.3632, allocations: 0.6478 MB / 0.8564 GB, free: 4.891 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004778/0.368, allocations: 2.089 MB / 0.8585 GB, free: 2.797 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003744/0.3718, allocations: 1.03 MB / 0.8595 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.3843, allocations: 8.552 MB / 0.8678 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.3844, allocations: 0 / 0.8678 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.977e-06/0.3844, allocations: 3.938 kB / 0.8678 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004909/0.3849, allocations: 0 / 0.8678 GB, free: 9.18 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01178/0.3967, allocations: 4.406 MB / 0.8721 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3967, allocations: 12.03 kB / 0.8721 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005453/0.4022, allocations: 0.9733 MB / 0.8731 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006784/0.409, allocations: 2.921 MB / 0.8759 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/0.4094, allocations: 361.5 kB / 0.8763 GB, free: 388 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00157/0.411, allocations: 464 kB / 0.8767 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.428, allocations: 7.867 MB / 0.8844 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.4282, allocations: 31.7 kB / 0.8844 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005571/0.4287, allocations: 204 kB / 0.8846 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000532/0.4293, allocations: 373.1 kB / 0.885 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.4412, allocations: 5.89 MB / 0.8908 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5747/1.016, allocations: 36.26 MB / 0.9262 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/1.02, allocations: 2.135 MB / 0.9282 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/1.022, allocations: 1.481 MB / 0.9297 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.298e-05/1.022, allocations: 17.62 kB / 0.9297 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/1.022, allocations: 52.75 kB / 0.9298 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.667e-06/1.022, allocations: 0 / 0.9298 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01189/1.034, allocations: 7.548 MB / 0.9371 GB, free: 107.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.034, allocations: 65.25 kB / 0.9372 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/1.036, allocations: 1.84 MB / 0.939 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/1.037, allocations: 53.14 kB / 0.939 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001568/1.038, allocations: 2.125 MB / 0.9411 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004906/1.039, allocations: 0.5558 MB / 0.9417 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/1.039, allocations: 46.06 kB / 0.9417 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001671/1.039, allocations: 394.8 kB / 0.9421 GB, free: 104 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/1.041, allocations: 1.05 MB / 0.9431 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/1.043, allocations: 1.761 MB / 0.9448 GB, free: 102.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/1.045, allocations: 1.342 MB / 0.9461 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/1.045, allocations: 6.094 kB / 0.9461 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006739/1.052, allocations: 3.9 MB / 0.9499 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/1.052, allocations: 18.28 kB / 0.95 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.146e-05/1.052, allocations: 22.91 kB / 0.95 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002548/1.055, allocations: 0.9277 MB / 0.9509 GB, free: 99.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/1.056, allocations: 428.2 kB / 0.9513 GB, free: 99.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/1.073, allocations: 21.06 MB / 0.9719 GB, free: 81.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/1.075, allocations: 124.4 kB / 0.972 GB, free: 81.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005457/1.076, allocations: 92.16 kB / 0.9721 GB, free: 81.7 MB / 0.7325 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004121/1.08, allocations: 1.656 MB / 0.9737 GB, free: 80.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007218/1.081, allocations: 255.5 kB / 0.9739 GB, free: 80.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005592/1.087, allocations: 3.248 MB / 0.9771 GB, free: 79.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.087, allocations: 15.72 kB / 0.9771 GB, free: 79.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.896e-05/1.087, allocations: 18.44 kB / 0.9771 GB, free: 79.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/1.087, allocations: 7.969 kB / 0.9771 GB, free: 79.35 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/1.099, allocations: 7.543 MB / 0.9845 GB, free: 74.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/1.099, allocations: 4.062 kB / 0.9845 GB, free: 74.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008039/1.1, allocations: 213.6 kB / 0.9847 GB, free: 74.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002037/1.102, allocations: 0.891 MB / 0.9856 GB, free: 74.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/1.102, allocations: 31 kB / 0.9856 GB, free: 74.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/1.117, allocations: 21.01 MB / 1.006 GB, free: 54.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.117, allocations: 7.391 kB / 1.006 GB, free: 54.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005199/1.122, allocations: 3.37 MB / 1.009 GB, free: 52.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/1.123, allocations: 0.5292 MB / 1.01 GB, free: 52.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006115/1.124, allocations: 40.12 kB / 1.01 GB, free: 52.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.125, allocations: 91.89 kB / 1.01 GB, free: 51.94 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/1.125, allocations: 141 kB / 1.01 GB, free: 51.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.125, allocations: 51.98 kB / 1.01 GB, free: 51.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001738/1.127, allocations: 1.201 MB / 1.011 GB, free: 50.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.6e-07/1.127, allocations: 4 kB / 1.011 GB, free: 50.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003639/1.131, allocations: 0.9062 MB / 1.012 GB, free: 49.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003289/1.131, allocations: 163 kB / 1.012 GB, free: 49.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005932/1.137, allocations: 4.403 MB / 1.017 GB, free: 44.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.137, allocations: 0 / 1.017 GB, free: 44.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003794/1.141, allocations: 2.994 MB / 1.02 GB, free: 41.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/1.146, allocations: 0.7755 MB / 1.02 GB, free: 41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/1.164, allocations: 9.238 MB / 1.029 GB, free: 31.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004233/1.168, allocations: 3.216 MB / 1.033 GB, free: 28.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002269/1.17, allocations: 0.5215 MB / 1.033 GB, free: 27.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/1.171, allocations: 143.4 kB / 1.033 GB, free: 27.77 MB / 0.7325 GB Notification: Performance of SimCode: time 1.272e-06/1.171, allocations: 4 kB / 1.033 GB, free: 27.77 MB / 0.7325 GB Notification: Performance of Templates: time 0.06608/1.237, allocations: 39.75 MB / 1.072 GB, free: 4.609 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: