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_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 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001337/0.001338, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001193/0.001193, allocations: 198 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.1 MB / 222 MB, free: 4.719 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.67/1.67, allocations: 251.6 MB / 0.5088 GB, free: 3.336 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.001347/0.001347, allocations: 55.92 kB / 0.6216 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.661, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03961/0.7007, allocations: 34.71 MB / 0.7577 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.7217, allocations: 9.981 MB / 0.7675 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006261/0.728, allocations: 131.3 kB / 0.7676 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.7389, allocations: 3.542 MB / 0.771 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007515/0.7465, allocations: 1.913 MB / 0.7729 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006374/0.7529, allocations: 1.789 MB / 0.7747 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01476/0.7677, allocations: 11.19 MB / 0.7856 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01664/0.7844, allocations: 10.69 MB / 0.796 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005968/0.7904, allocations: 2.872 MB / 0.7988 GB, free: 72 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007255/0.7977, allocations: 3.804 MB / 0.8025 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002464/0.8002, allocations: 468 kB / 0.803 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005154/0.8054, allocations: 1.443 MB / 0.8044 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004172/0.8096, allocations: 2.397 MB / 0.8067 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00739/0.817, allocations: 2.851 MB / 0.8095 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.8322, allocations: 10.19 MB / 0.8195 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.8322, allocations: 0 / 0.8195 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8322, allocations: 0 / 0.8195 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000436/0.8327, allocations: 0 / 0.8195 GB, free: 10.86 MB / 0.6387 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.01853/0.8512, allocations: 5.401 MB / 0.8248 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.8513, allocations: 12.03 kB / 0.8248 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00673/0.858, allocations: 0.9588 MB / 0.8257 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008496/0.8666, allocations: 2.995 MB / 0.8286 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003977/0.867, allocations: 361.9 kB / 0.829 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002338/0.8694, allocations: 472.2 kB / 0.8294 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.891, allocations: 7.903 MB / 0.8371 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002555/0.8913, allocations: 19.88 kB / 0.8372 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001769/0.8931, allocations: 208 kB / 0.8374 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006739/0.8938, allocations: 373 kB / 0.8377 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.9081, allocations: 5.933 MB / 0.8435 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05148/0.9597, allocations: 36.22 MB / 0.8789 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/0.9636, allocations: 2.135 MB / 0.881 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/0.9658, allocations: 1.488 MB / 0.8824 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.966, allocations: 17.3 kB / 0.8824 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.966, allocations: 55.81 kB / 0.8825 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=157): time 4.278e-06/0.966, allocations: 0 / 0.8825 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=160): time 0.01473/0.9808, allocations: 7.536 MB / 0.8898 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.9809, allocations: 64.72 kB / 0.8899 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004166/0.9851, allocations: 1.868 MB / 0.8917 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.9853, allocations: 53.7 kB / 0.8918 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001653/0.9869, allocations: 2.119 MB / 0.8939 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006638/0.9876, allocations: 0.5624 MB / 0.8944 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007362/0.9884, allocations: 403.7 kB / 0.8948 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.9885, allocations: 305.1 kB / 0.8951 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.9902, allocations: 1.062 MB / 0.8961 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.9924, allocations: 1.768 MB / 0.8978 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/0.9965, allocations: 3.041 MB / 0.9008 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/0.9965, allocations: 12 kB / 0.9008 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006852/1.003, allocations: 3.924 MB / 0.9047 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/1.003, allocations: 16 kB / 0.9047 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.684e-05/1.003, allocations: 20 kB / 0.9047 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002516/1.006, allocations: 0.9279 MB / 0.9056 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/1.008, allocations: 427.3 kB / 0.906 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5593/1.567, allocations: 21.04 MB / 0.9266 GB, free: 169.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/1.569, allocations: 124.8 kB / 0.9267 GB, free: 169.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/1.57, allocations: 94.55 kB / 0.9268 GB, free: 169.4 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004394/1.574, allocations: 1.652 MB / 0.9284 GB, free: 168.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008379/1.575, allocations: 253.5 kB / 0.9286 GB, free: 168.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006744/1.582, allocations: 3.27 MB / 0.9318 GB, free: 167.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/1.582, allocations: 19.22 kB / 0.9318 GB, free: 167.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.418e-05/1.582, allocations: 11.14 kB / 0.9318 GB, free: 167.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/1.582, allocations: 8.062 kB / 0.9318 GB, free: 167.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/1.597, allocations: 7.554 MB / 0.9392 GB, free: 164.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/1.597, allocations: 7.125 kB / 0.9392 GB, free: 164.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008761/1.598, allocations: 212.5 kB / 0.9394 GB, free: 164.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002121/1.6, allocations: 0.8859 MB / 0.9403 GB, free: 163.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/1.6, allocations: 35.78 kB / 0.9403 GB, free: 163.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/1.615, allocations: 21.01 MB / 0.9609 GB, free: 146 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.615, allocations: 11.75 kB / 0.9609 GB, free: 146 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004954/1.62, allocations: 3.375 MB / 0.9642 GB, free: 144.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.621, allocations: 0.5292 MB / 0.9647 GB, free: 144 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/1.621, allocations: 37.62 kB / 0.9647 GB, free: 144 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.623, allocations: 94.8 kB / 0.9648 GB, free: 143.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004326/1.623, allocations: 146.5 kB / 0.9649 GB, free: 143.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.727e-05/1.623, allocations: 53.59 kB / 0.965 GB, free: 143.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001607/1.625, allocations: 1.223 MB / 0.9662 GB, free: 143.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.022e-06/1.625, allocations: 0 / 0.9662 GB, free: 143.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002968/1.628, allocations: 0.9099 MB / 0.9671 GB, free: 143.1 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002625/1.628, allocations: 159.6 kB / 0.9672 GB, free: 143 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005231/1.633, allocations: 4.408 MB / 0.9715 GB, free: 138.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.633, allocations: 7.938 kB / 0.9715 GB, free: 138.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003239/1.637, allocations: 2.99 MB / 0.9745 GB, free: 135.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/1.64, allocations: 0.7638 MB / 0.9752 GB, free: 135 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.653, allocations: 9.699 MB / 0.9847 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002695/1.655, allocations: 3.208 MB / 0.9878 GB, free: 122 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002008/1.657, allocations: 0.5293 MB / 0.9883 GB, free: 121.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/1.658, allocations: 143.4 kB / 0.9885 GB, free: 121.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.523e-06/1.658, allocations: 0 / 0.9885 GB, free: 121.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.06455/1.722, allocations: 41.53 MB / 1.029 GB, free: 80.43 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)