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.001144/0.001145, allocations: 101.5 kB / 15.98 MB, free: 6.348 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.001044/0.001044, allocations: 191.5 kB / 16.91 MB, free: 6.188 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.416/1.416, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.698/1.698, allocations: 292.3 MB / 0.5492 GB, free: 13.58 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.001353/0.001353, allocations: 69.28 kB / 0.6717 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2059, allocations: 114.6 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02082/0.2268, allocations: 20.03 MB / 0.8031 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.2389, allocations: 6.442 MB / 0.8094 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.2409, allocations: 79.56 kB / 0.8095 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005124/0.2461, allocations: 2.084 MB / 0.8115 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.2494, allocations: 1.097 MB / 0.8126 GB, free: 36 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.2528, allocations: 1.177 MB / 0.8137 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005624/0.2585, allocations: 4.858 MB / 0.8185 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008852/0.2673, allocations: 6.756 MB / 0.8251 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.2708, allocations: 2.118 MB / 0.8271 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00356/0.2743, allocations: 2.45 MB / 0.8295 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008791/0.2752, allocations: 432 kB / 0.8299 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.2773, allocations: 1.006 MB / 0.8309 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001701/0.2791, allocations: 1.665 MB / 0.8325 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002404/0.2815, allocations: 1.914 MB / 0.8344 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005385/0.2869, allocations: 5.562 MB / 0.8398 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.2869, allocations: 0 / 0.8398 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2869, allocations: 0 / 0.8398 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001936/0.2871, allocations: 3.938 kB / 0.8398 GB, free: 3.984 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.007409/0.2945, allocations: 3.456 MB / 0.8432 GB, free: 476 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2946, allocations: 8.031 kB / 0.8432 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/0.2982, allocations: 0.6332 MB / 0.8438 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004097/0.3024, allocations: 1.939 MB / 0.8457 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.3026, allocations: 222.3 kB / 0.8459 GB, free: 13.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007202/0.3033, allocations: 300.2 kB / 0.8462 GB, free: 13.31 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009024/0.3123, allocations: 4.893 MB / 0.851 GB, free: 8.219 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.828e-05/0.3125, allocations: 11.94 kB / 0.851 GB, free: 8.207 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003494/0.3128, allocations: 124 kB / 0.8511 GB, free: 8.086 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004293/0.3133, allocations: 233.7 kB / 0.8514 GB, free: 7.855 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006486/0.3198, allocations: 3.746 MB / 0.855 GB, free: 4.098 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02292/0.3427, allocations: 21.57 MB / 0.8761 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.3446, allocations: 1.312 MB / 0.8774 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.346, allocations: 1.053 MB / 0.8784 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.337e-05/0.3461, allocations: 13 kB / 0.8784 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.3461, allocations: 43.56 kB / 0.8784 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 3.196e-06/0.3461, allocations: 0 / 0.8784 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.02382/0.37, allocations: 8.641 MB / 0.8869 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.3701, allocations: 68.72 kB / 0.8869 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.3717, allocations: 1.134 MB / 0.8881 GB, free: 168 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/0.3718, allocations: 49.7 kB / 0.8881 GB, free: 112 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007756/0.3726, allocations: 1.296 MB / 0.8894 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/0.373, allocations: 485.1 kB / 0.8898 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004508/0.3735, allocations: 291.3 kB / 0.8901 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.3736, allocations: 305.1 kB / 0.8904 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.3748, allocations: 0.9096 MB / 0.8913 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.3763, allocations: 1.326 MB / 0.8926 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/0.379, allocations: 2.43 MB / 0.895 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.3791, allocations: 4 kB / 0.895 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005825/0.3849, allocations: 3.46 MB / 0.8983 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.385, allocations: 15.94 kB / 0.8984 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.385, allocations: 15.98 kB / 0.8984 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003146/0.3881, allocations: 1.198 MB / 0.8995 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009738/0.3891, allocations: 255.6 kB / 0.8998 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.4057, allocations: 13.85 MB / 0.9133 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.4071, allocations: 91.98 kB / 0.9134 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.4072, allocations: 63.98 kB / 0.9135 GB, free: 5.332 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001734/0.409, allocations: 1.115 MB / 0.9145 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.4093, allocations: 170.1 kB / 0.9147 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005447/0.4148, allocations: 3.165 MB / 0.9178 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.4148, allocations: 16 kB / 0.9178 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/0.4148, allocations: 15.88 kB / 0.9178 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.4148, allocations: 11.97 kB / 0.9178 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4491/0.864, allocations: 6.242 MB / 0.9239 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.864, allocations: 4.875 kB / 0.9239 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.8646, allocations: 147.9 kB / 0.9241 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/0.8673, allocations: 1.075 MB / 0.9251 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.8674, allocations: 29.58 kB / 0.9252 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/0.8838, allocations: 13.54 MB / 0.9384 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.8838, allocations: 5.125 kB / 0.9384 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006604/0.8905, allocations: 3.155 MB / 0.9415 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.8918, allocations: 427.4 kB / 0.9419 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/0.8922, allocations: 29.42 kB / 0.9419 GB, free: 116.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00098/0.8931, allocations: 83.31 kB / 0.942 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006085/0.8938, allocations: 125.5 kB / 0.9421 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.8939, allocations: 37.44 kB / 0.9421 GB, free: 116.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001315/0.8952, allocations: 0.7708 MB / 0.9429 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8952, allocations: 0 / 0.9429 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002777/0.898, allocations: 0.6575 MB / 0.9435 GB, free: 116.4 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002961/0.8983, allocations: 144.7 kB / 0.9437 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006612/0.9049, allocations: 3.629 MB / 0.9472 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/0.905, allocations: 5.984 kB / 0.9472 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003203/0.9082, allocations: 1.955 MB / 0.9491 GB, free: 114 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.9109, allocations: 0.5006 MB / 0.9496 GB, free: 113.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.9221, allocations: 7.168 MB / 0.9566 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/0.9246, allocations: 2.389 MB / 0.959 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/0.925, allocations: 94.03 kB / 0.959 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/0.925, allocations: 0 / 0.959 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.06502/0.99, allocations: 79.45 MB / 1.037 GB, free: 35.54 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (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)