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_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.64/1.64, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001037, allocations: 173.7 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 0.5783 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006845/0.0006846, allocations: 103.2 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 10.75 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1786, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02323/0.2019, allocations: 31.66 MB / 0.9318 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.2174, allocations: 11.04 MB / 0.9425 GB, free: 21.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/0.2203, allocations: 143.2 kB / 0.9427 GB, free: 21.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001952/0.2223, allocations: 0.6743 MB / 0.9433 GB, free: 20.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003929/0.2262, allocations: 1.578 MB / 0.9449 GB, free: 19.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00473/0.231, allocations: 1.441 MB / 0.9463 GB, free: 17.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009241/0.2402, allocations: 9.619 MB / 0.9557 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01784/0.2581, allocations: 12.57 MB / 0.9679 GB, free: 11.32 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005646/0.2638, allocations: 2.65 MB / 0.9705 GB, free: 8.656 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006354/0.2702, allocations: 3.485 MB / 0.9739 GB, free: 5.156 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.001395/0.2716, allocations: 324 kB / 0.9742 GB, free: 4.84 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00388/0.2755, allocations: 0.9715 MB / 0.9752 GB, free: 3.867 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.003479/0.279, allocations: 2.447 MB / 0.9776 GB, free: 1.414 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.002391/0.2814, allocations: 1.101 MB / 0.9787 GB, free: 312 kB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.2931, allocations: 9.923 MB / 0.9884 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.2932, allocations: 8 kB / 0.9884 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2932, allocations: 4 kB / 0.9884 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003663/0.2935, allocations: 0 / 0.9884 GB, free: 6.344 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01092/0.3045, allocations: 4.718 MB / 0.993 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3045, allocations: 8.031 kB / 0.993 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00637/0.3109, allocations: 1.067 MB / 0.994 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006951/0.3179, allocations: 3.196 MB / 0.9971 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004057/0.3183, allocations: 411.1 kB / 0.9975 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.3201, allocations: 0.5311 MB / 0.9981 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.3391, allocations: 9.043 MB / 1.007 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/0.3393, allocations: 31.67 kB / 1.007 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006142/0.34, allocations: 236 kB / 1.007 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003602/0.3403, allocations: 354.7 kB / 1.007 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/0.354, allocations: 6.779 MB / 1.014 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4763/0.8303, allocations: 40.16 MB / 1.053 GB, free: 129.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/0.8343, allocations: 3.107 MB / 1.056 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002481/0.8368, allocations: 1.955 MB / 1.058 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.833e-05/0.8369, allocations: 21.09 kB / 1.058 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.837, allocations: 52.16 kB / 1.058 GB, free: 128.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=179): time 3.818e-06/0.837, allocations: 0 / 1.058 GB, free: 128.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=182): time 0.02772/0.8647, allocations: 9.87 MB / 1.068 GB, free: 127.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.8648, allocations: 74.38 kB / 1.068 GB, free: 127.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/0.8675, allocations: 1.512 MB / 1.07 GB, free: 127.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002383/0.8678, allocations: 58.33 kB / 1.07 GB, free: 127.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.8693, allocations: 2.256 MB / 1.072 GB, free: 126.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006373/0.87, allocations: 0.6285 MB / 1.072 GB, free: 125.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.8701, allocations: 43.38 kB / 1.072 GB, free: 125.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.8703, allocations: 402.8 kB / 1.073 GB, free: 125.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/0.8722, allocations: 1.166 MB / 1.074 GB, free: 125.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.8742, allocations: 1.876 MB / 1.076 GB, free: 124.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.8765, allocations: 1.509 MB / 1.077 GB, free: 124.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.763e-05/0.8766, allocations: 6.094 kB / 1.077 GB, free: 124.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007205/0.8838, allocations: 4.563 MB / 1.082 GB, free: 122.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.8839, allocations: 15.91 kB / 1.082 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.8839, allocations: 23.72 kB / 1.082 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003518/0.8874, allocations: 1.575 MB / 1.083 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.8888, allocations: 357 kB / 1.084 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/0.9078, allocations: 17.04 MB / 1.1 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/0.91, allocations: 119.4 kB / 1.1 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/0.9103, allocations: 95.38 kB / 1.1 GB, free: 110.3 MB / 0.698 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 (177): * Single equations (assignments): 173 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003491/0.9138, allocations: 1.896 MB / 1.102 GB, free: 109.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005993/0.9144, allocations: 230 kB / 1.103 GB, free: 109 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006359/0.9207, allocations: 4.077 MB / 1.107 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.9208, allocations: 15.31 kB / 1.107 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.661e-05/0.9208, allocations: 23.17 kB / 1.107 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.9208, allocations: 13.66 kB / 1.107 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.934, allocations: 9.435 MB / 1.116 GB, free: 97.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.9341, allocations: 4 kB / 1.116 GB, free: 97.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007377/0.9348, allocations: 183.7 kB / 1.116 GB, free: 97.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/0.9379, allocations: 1.356 MB / 1.117 GB, free: 96.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.9381, allocations: 43.94 kB / 1.117 GB, free: 96.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01553/0.9536, allocations: 15.94 MB / 1.133 GB, free: 79.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.9537, allocations: 4 kB / 1.133 GB, free: 79.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005798/0.9595, allocations: 4.058 MB / 1.137 GB, free: 75.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.9605, allocations: 0.5334 MB / 1.137 GB, free: 75.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.9608, allocations: 32 kB / 1.137 GB, free: 75.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000873/0.9617, allocations: 91.89 kB / 1.138 GB, free: 75.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/0.9621, allocations: 157.7 kB / 1.138 GB, free: 74.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.506e-05/0.9622, allocations: 48.88 kB / 1.138 GB, free: 74.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001078/0.9632, allocations: 0.9851 MB / 1.139 GB, free: 73.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9632, allocations: 0 / 1.139 GB, free: 73.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003427/0.9667, allocations: 0.9844 MB / 1.14 GB, free: 72.91 MB / 0.698 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002797/0.967, allocations: 155 kB / 1.14 GB, free: 72.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005746/0.9727, allocations: 4.283 MB / 1.144 GB, free: 68.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.9728, allocations: 4 kB / 1.144 GB, free: 68.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003453/0.9762, allocations: 2.674 MB / 1.147 GB, free: 65.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/0.9795, allocations: 0.6975 MB / 1.147 GB, free: 65.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.9938, allocations: 11.3 MB / 1.158 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003406/0.9973, allocations: 3.666 MB / 1.162 GB, free: 49.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/0.9979, allocations: 131.4 kB / 1.162 GB, free: 49.81 MB / 0.698 GB Notification: Performance of SimCode: time 1.302e-06/0.9979, allocations: 0 / 1.162 GB, free: 49.81 MB / 0.698 GB Notification: Performance of Templates: time 0.1642/1.162, allocations: 159.1 MB / 1.317 GB, free: 2.703 MB / 0.8074 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)