Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.00105, allocations: 84.38 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.001343/0.001343, 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.491/1.491, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.604/1.604, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005114/0.0005115, allocations: 21.17 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2636, 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_RL_N): time 0.01979/0.2835, allocations: 18.33 MB / 0.8052 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.2945, allocations: 6.194 MB / 0.8113 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.2967, allocations: 75.56 kB / 0.8113 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.2983, allocations: 388.9 kB / 0.8117 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.3019, allocations: 0.9599 MB / 0.8126 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.3054, allocations: 0.7708 MB / 0.8134 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008792/0.3142, allocations: 5.469 MB / 0.8187 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01669/0.331, allocations: 6.375 MB / 0.8249 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003972/0.335, allocations: 1.514 MB / 0.8264 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004646/0.3397, allocations: 1.974 MB / 0.8284 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.3409, allocations: 176 kB / 0.8285 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.3432, allocations: 483.5 kB / 0.829 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002752/0.346, allocations: 1.348 MB / 0.8303 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001808/0.3478, allocations: 0.6485 MB / 0.8309 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006958/0.3548, allocations: 5.376 MB / 0.8362 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.3548, allocations: 0 / 0.8362 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3549, allocations: 0 / 0.8362 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002387/0.3551, allocations: 0 / 0.8362 GB, free: 9.672 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007416/0.3625, allocations: 2.855 MB / 0.839 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3626, allocations: 12.03 kB / 0.839 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/0.3667, allocations: 0.6363 MB / 0.8396 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/0.3711, allocations: 1.892 MB / 0.8415 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002623/0.3714, allocations: 222 kB / 0.8417 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.3726, allocations: 299.9 kB / 0.842 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.3844, allocations: 4.855 MB / 0.8467 GB, free: 14.58 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.3846, allocations: 23.83 kB / 0.8467 GB, free: 14.56 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008942/0.3855, allocations: 124 kB / 0.8468 GB, free: 14.44 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005177/0.386, allocations: 233.7 kB / 0.8471 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008458/0.3945, allocations: 3.723 MB / 0.8507 GB, free: 10.47 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02771/0.4222, allocations: 21.61 MB / 0.8718 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.4243, allocations: 1.304 MB / 0.8731 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.4259, allocations: 1.045 MB / 0.8741 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.371e-05/0.426, allocations: 17 kB / 0.8741 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.426, allocations: 43.56 kB / 0.8741 GB, free: 452 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=107): time 2.966e-06/0.426, allocations: 3.938 kB / 0.8742 GB, free: 448 kB / 0.6856 GB Notification: Performance of matching and sorting (n=138): time 0.02231/0.4483, allocations: 8.654 MB / 0.8826 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.4484, allocations: 68.72 kB / 0.8827 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.4502, allocations: 1.115 MB / 0.8838 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.4504, allocations: 49.7 kB / 0.8838 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009504/0.4513, allocations: 1.3 MB / 0.8851 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004632/0.4518, allocations: 485 kB / 0.8855 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-05/0.4519, allocations: 32 kB / 0.8856 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.4521, allocations: 365.9 kB / 0.8859 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.4535, allocations: 0.9096 MB / 0.8868 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.4555, allocations: 1.322 MB / 0.8881 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.4572, allocations: 1.139 MB / 0.8892 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.4572, allocations: 4 kB / 0.8892 GB, free: 0.7266 MB / 0.7012 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006226/0.4635, allocations: 3.445 MB / 0.8926 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.4635, allocations: 9 kB / 0.8926 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/0.4636, allocations: 12 kB / 0.8926 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003068/0.4666, allocations: 1.192 MB / 0.8938 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009569/0.4676, allocations: 255.6 kB / 0.894 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/0.4845, allocations: 12.71 MB / 0.9064 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.486, allocations: 91.97 kB / 0.9065 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/0.4863, allocations: 60 kB / 0.9066 GB, free: 14.54 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002366/0.4886, allocations: 1.118 MB / 0.9076 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/0.4892, allocations: 158.1 kB / 0.9078 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005954/0.4951, allocations: 3.161 MB / 0.9109 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.4952, allocations: 16 kB / 0.9109 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.074e-05/0.4952, allocations: 12 kB / 0.9109 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.4952, allocations: 7.969 kB / 0.9109 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.5064, allocations: 6.237 MB / 0.917 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.5064, allocations: 4 kB / 0.917 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.507, allocations: 147.8 kB / 0.9172 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002742/0.5097, allocations: 1.066 MB / 0.9182 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.5099, allocations: 32 kB / 0.9182 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4383/0.9481, allocations: 12.42 MB / 0.9304 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.9482, allocations: 11.62 kB / 0.9304 GB, free: 120.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004666/0.9529, allocations: 3.138 MB / 0.9334 GB, free: 119.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006612/0.9535, allocations: 430.7 kB / 0.9338 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.9537, allocations: 32.42 kB / 0.9339 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006866/0.9544, allocations: 81.17 kB / 0.9339 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003895/0.9548, allocations: 125.6 kB / 0.9341 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/0.9549, allocations: 36.2 kB / 0.9341 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001067/0.956, allocations: 0.7559 MB / 0.9348 GB, free: 118.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.956, allocations: 2.625 kB / 0.9348 GB, free: 118.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001905/0.9579, allocations: 0.6596 MB / 0.9355 GB, free: 118.5 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002058/0.9581, allocations: 135.1 kB / 0.9356 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004776/0.9629, allocations: 3.125 MB / 0.9387 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9629, allocations: 1.156 kB / 0.9387 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002997/0.9659, allocations: 1.968 MB / 0.9406 GB, free: 116 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.968, allocations: 471.8 kB / 0.941 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009811/0.9778, allocations: 6.462 MB / 0.9474 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/0.9803, allocations: 2.336 MB / 0.9496 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001322/0.9816, allocations: 355.9 kB / 0.95 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.9819, allocations: 87.23 kB / 0.9501 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.9819, allocations: 1.344 kB / 0.9501 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.04261/1.025, allocations: 30.19 MB / 0.9795 GB, free: 94.02 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) Environment - environmentSimulation: