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.0009151/0.0009149, allocations: 100 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.0009034/0.0009035, 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.475/1.475, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.693/1.693, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0006468/0.0006469, allocations: 13.69 kB / 0.6736 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2539, 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_R): time 0.03505/0.289, allocations: 30.6 MB / 0.817 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.306, allocations: 9.649 MB / 0.8264 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/0.3089, allocations: 119.2 kB / 0.8265 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.3116, allocations: 0.6793 MB / 0.8272 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005027/0.3166, allocations: 1.573 MB / 0.8287 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003797/0.3204, allocations: 1.164 MB / 0.8299 GB, free: 88 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007402/0.3279, allocations: 3.897 MB / 0.8337 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01846/0.3464, allocations: 10.38 MB / 0.8438 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004096/0.3505, allocations: 2.133 MB / 0.8459 GB, free: 15.58 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005041/0.3556, allocations: 2.203 MB / 0.8481 GB, free: 13.37 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.3572, allocations: 284 kB / 0.8483 GB, free: 13.09 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.3597, allocations: 0.523 MB / 0.8488 GB, free: 12.57 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003461/0.3632, allocations: 1.925 MB / 0.8507 GB, free: 10.64 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002403/0.3656, allocations: 1.027 MB / 0.8517 GB, free: 9.602 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009232/0.3749, allocations: 8.408 MB / 0.8599 GB, free: 1.172 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.3749, allocations: 0 / 0.8599 GB, free: 1.172 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3749, allocations: 0 / 0.8599 GB, free: 1.172 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003056/0.3752, allocations: 0 / 0.8599 GB, free: 1.172 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01134/0.3866, allocations: 4.371 MB / 0.8642 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3866, allocations: 8.031 kB / 0.8642 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004715/0.3914, allocations: 0.911 MB / 0.8651 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007691/0.3991, allocations: 2.921 MB / 0.868 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004667/0.3996, allocations: 357.6 kB / 0.8683 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002109/0.4017, allocations: 471.9 kB / 0.8687 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01717/0.4189, allocations: 7.832 MB / 0.8764 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002048/0.4191, allocations: 23.81 kB / 0.8764 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/0.4203, allocations: 208 kB / 0.8766 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005556/0.4209, allocations: 369.1 kB / 0.877 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.432, allocations: 5.898 MB / 0.8827 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04013/0.4721, allocations: 36.26 MB / 0.9181 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4427/0.9149, allocations: 2.127 MB / 0.9202 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.9152, allocations: 17.55 kB / 0.9202 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.776e-05/0.9153, allocations: 56.52 kB / 0.9203 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 4.408e-06/0.9153, allocations: 0 / 0.9203 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01566/0.9309, allocations: 7.532 MB / 0.9276 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.9311, allocations: 69.03 kB / 0.9277 GB, free: 120.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/0.9343, allocations: 1.85 MB / 0.9295 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.9344, allocations: 50.95 kB / 0.9296 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.9358, allocations: 2.123 MB / 0.9316 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004708/0.9363, allocations: 0.5561 MB / 0.9322 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.885e-05/0.9364, allocations: 43.88 kB / 0.9322 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.9366, allocations: 396.2 kB / 0.9326 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.9381, allocations: 1.056 MB / 0.9336 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.9401, allocations: 1.743 MB / 0.9353 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.9419, allocations: 1.35 MB / 0.9366 GB, free: 115 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.9419, allocations: 5.188 kB / 0.9366 GB, free: 115 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007108/0.949, allocations: 3.903 MB / 0.9405 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.9491, allocations: 18.81 kB / 0.9405 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.211e-05/0.9492, allocations: 21.53 kB / 0.9405 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002915/0.9521, allocations: 0.9288 MB / 0.9414 GB, free: 113 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.954, allocations: 431.6 kB / 0.9418 GB, free: 113 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/0.9708, allocations: 21.42 MB / 0.9627 GB, free: 94.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.9731, allocations: 123.6 kB / 0.9629 GB, free: 94.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.9733, allocations: 93.44 kB / 0.9629 GB, free: 94.74 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.00325/0.9765, allocations: 1.651 MB / 0.9646 GB, free: 93.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007223/0.9773, allocations: 260.3 kB / 0.9648 GB, free: 93.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00511/0.9824, allocations: 3.248 MB / 0.968 GB, free: 92.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.9824, allocations: 15.16 kB / 0.968 GB, free: 92.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/0.9825, allocations: 15.42 kB / 0.968 GB, free: 92.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.9825, allocations: 16.73 kB / 0.968 GB, free: 92.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.9933, allocations: 7.527 MB / 0.9754 GB, free: 88.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.9934, allocations: 3.969 kB / 0.9754 GB, free: 88.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/0.9942, allocations: 216.8 kB / 0.9756 GB, free: 88.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00211/0.9964, allocations: 0.8877 MB / 0.9764 GB, free: 88.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.9965, allocations: 35.7 kB / 0.9765 GB, free: 88.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0151/1.012, allocations: 21.39 MB / 0.9974 GB, free: 68.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/1.012, allocations: 15.59 kB / 0.9974 GB, free: 68.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/1.017, allocations: 3.695 MB / 1.001 GB, free: 66.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.018, allocations: 0.5287 MB / 1.002 GB, free: 65.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/1.018, allocations: 34.52 kB / 1.002 GB, free: 65.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.019, allocations: 95.88 kB / 1.002 GB, free: 65.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/1.02, allocations: 141 kB / 1.002 GB, free: 65.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-05/1.02, allocations: 48 kB / 1.002 GB, free: 65.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001365/1.021, allocations: 1.205 MB / 1.003 GB, free: 63.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/1.021, allocations: 0 / 1.003 GB, free: 63.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002869/1.024, allocations: 0.9062 MB / 1.004 GB, free: 63.07 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.0002434/1.024, allocations: 161.3 kB / 1.004 GB, free: 62.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005129/1.029, allocations: 4.405 MB / 1.008 GB, free: 58.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.03, allocations: 4 kB / 1.008 GB, free: 58.35 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00319/1.033, allocations: 2.998 MB / 1.011 GB, free: 55.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/1.036, allocations: 0.7455 MB / 1.012 GB, free: 54.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/1.049, allocations: 9.233 MB / 1.021 GB, free: 45.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002637/1.051, allocations: 3.29 MB / 1.024 GB, free: 41.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00181/1.053, allocations: 0.5293 MB / 1.025 GB, free: 41.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/1.053, allocations: 143.4 kB / 1.025 GB, free: 41.16 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/1.053, allocations: 0 / 1.025 GB, free: 41.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.05944/1.113, allocations: 39.72 MB / 1.064 GB, free: 2.031 MB / 0.7325 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: