Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008548/0.0008554, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006837/0.006838, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.762/1.762, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.935/1.935, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0006046/0.0006047, allocations: 11.94 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3027, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00654/0.3093, allocations: 5.715 MB / 0.7935 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005077/0.3144, allocations: 3.205 MB / 0.7966 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004452/0.3149, allocations: 27.75 kB / 0.7966 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.3152, allocations: 119 kB / 0.7967 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.3163, allocations: 446 kB / 0.7972 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3175, allocations: 470.2 kB / 0.7976 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.3188, allocations: 1.463 MB / 0.799 GB, free: 96 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.3204, allocations: 0.9845 MB / 0.8 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004893/0.3209, allocations: 362.3 kB / 0.8003 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.3214, allocations: 454.2 kB / 0.8008 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.3214, allocations: 32 kB / 0.8008 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008794/0.3223, allocations: 0.5692 MB / 0.8014 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.3226, allocations: 251.2 kB / 0.8016 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.3229, allocations: 387.6 kB / 0.802 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.3239, allocations: 1.16 MB / 0.8031 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3239, allocations: 0 / 0.8031 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3239, allocations: 0 / 0.8031 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.3239, allocations: 0 / 0.8031 GB, free: 11.88 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001298/0.3253, allocations: 0.9271 MB / 0.804 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3253, allocations: 8.031 kB / 0.804 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.3267, allocations: 219.7 kB / 0.8042 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.3275, allocations: 0.5414 MB / 0.8048 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.3275, allocations: 49.67 kB / 0.8048 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.772e-05/0.3276, allocations: 60.36 kB / 0.8049 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.3289, allocations: 1.037 MB / 0.8059 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.329, allocations: 7.844 kB / 0.8059 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.924e-05/0.329, allocations: 35.98 kB / 0.8059 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.043e-05/0.3291, allocations: 65.27 kB / 0.806 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009601/0.3301, allocations: 0.6918 MB / 0.8067 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005111/0.3352, allocations: 5.768 MB / 0.8123 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/0.3361, allocations: 0.6044 MB / 0.8129 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007406/0.3368, allocations: 416.6 kB / 0.8133 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.3368, allocations: 4 kB / 0.8133 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.3369, allocations: 38.56 kB / 0.8133 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.485e-06/0.3369, allocations: 0 / 0.8133 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004391/0.3413, allocations: 2.074 MB / 0.8153 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.3414, allocations: 55.41 kB / 0.8154 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.3419, allocations: 462.8 kB / 0.8158 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.342, allocations: 37.7 kB / 0.8159 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.3423, allocations: 391 kB / 0.8162 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.3424, allocations: 149.9 kB / 0.8164 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.3425, allocations: 49.69 kB / 0.8164 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3427, allocations: 366.8 kB / 0.8168 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.343, allocations: 241.2 kB / 0.817 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.3435, allocations: 468.9 kB / 0.8175 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009185/0.3444, allocations: 0.748 MB / 0.8182 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.3444, allocations: 4 kB / 0.8182 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001791/0.3462, allocations: 1.069 MB / 0.8192 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3463, allocations: 8 kB / 0.8192 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.3463, allocations: 4.875 kB / 0.8193 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009813/0.3473, allocations: 335.1 kB / 0.8196 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.3476, allocations: 99.81 kB / 0.8197 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006389/0.354, allocations: 6.947 MB / 0.8265 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.3545, allocations: 36.02 kB / 0.8265 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.3545, allocations: 28 kB / 0.8265 GB, free: 2.324 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003964/0.3549, allocations: 247.2 kB / 0.8267 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.3551, allocations: 63.25 kB / 0.8268 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.3568, allocations: 0.9121 MB / 0.8277 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.3568, allocations: 4 kB / 0.8277 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.3569, allocations: 7.938 kB / 0.8277 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3569, allocations: 4 kB / 0.8277 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.3596, allocations: 1.708 MB / 0.8294 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3596, allocations: 4 kB / 0.8294 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.3598, allocations: 39.91 kB / 0.8294 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009109/0.3607, allocations: 323.3 kB / 0.8297 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.3608, allocations: 8 kB / 0.8297 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006465/0.3672, allocations: 6.955 MB / 0.8365 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3673, allocations: 3.938 kB / 0.8365 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.369, allocations: 1.011 MB / 0.8375 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.3693, allocations: 176.4 kB / 0.8377 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.374e-05/0.3694, allocations: 8 kB / 0.8377 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.3697, allocations: 19.98 kB / 0.8377 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.3698, allocations: 39.88 kB / 0.8378 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.3698, allocations: 16 kB / 0.8378 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003601/0.3702, allocations: 310.9 kB / 0.8381 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3702, allocations: 0 / 0.8381 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000809/0.371, allocations: 200 kB / 0.8383 GB, free: 5.566 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001854/0.3712, allocations: 115.1 kB / 0.8384 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002008/0.3732, allocations: 1.207 MB / 0.8395 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3732, allocations: 0 / 0.8395 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.3745, allocations: 0.8696 MB / 0.8404 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.3758, allocations: 189.3 kB / 0.8406 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.3784, allocations: 1.563 MB / 0.8421 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.3791, allocations: 0.9921 MB / 0.8431 GB, free: 472 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003478/0.3795, allocations: 105.2 kB / 0.8432 GB, free: 368 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.363e-05/0.3796, allocations: 35.44 kB / 0.8432 GB, free: 332 kB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.3796, allocations: 0 / 0.8432 GB, free: 332 kB / 0.6544 GB Notification: Performance of Templates: time 0.01827/0.3979, allocations: 9.454 MB / 0.8524 GB, free: 6.957 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: