Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.161/2.161, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 197.3 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 106.1 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 52.88 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.337, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01777/0.3548, allocations: 20.03 MB / 1.238 GB, free: 97.11 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.3666, allocations: 6.473 MB / 1.244 GB, free: 90.62 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.3699, allocations: 79.56 kB / 1.244 GB, free: 90.55 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.006766/0.3767, allocations: 2.094 MB / 1.246 GB, free: 88.45 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.005072/0.3818, allocations: 1.12 MB / 1.247 GB, free: 87.32 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.3865, allocations: 1.158 MB / 1.248 GB, free: 86.17 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.008125/0.3947, allocations: 7.003 MB / 1.255 GB, free: 79.15 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.4058, allocations: 6.169 MB / 1.261 GB, free: 72.92 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004388/0.4102, allocations: 1.798 MB / 1.263 GB, free: 71.12 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004934/0.4152, allocations: 2.391 MB / 1.265 GB, free: 68.72 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001759/0.417, allocations: 288 kB / 1.266 GB, free: 68.44 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004306/0.4213, allocations: 1.026 MB / 1.267 GB, free: 67.41 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.003635/0.425, allocations: 1.524 MB / 1.268 GB, free: 65.88 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0053/0.4303, allocations: 1.762 MB / 1.27 GB, free: 64.11 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.008683/0.439, allocations: 6.419 MB / 1.276 GB, free: 57.68 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4391, allocations: 4 kB / 1.276 GB, free: 57.67 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4391, allocations: 0 / 1.276 GB, free: 57.67 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002545/0.4394, allocations: 0 / 1.276 GB, free: 57.67 MB / 0.823 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.01024/0.4496, allocations: 3.459 MB / 1.279 GB, free: 54.15 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4497, allocations: 11.98 kB / 1.279 GB, free: 54.14 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/0.4535, allocations: 0.6372 MB / 1.28 GB, free: 53.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004156/0.4576, allocations: 1.932 MB / 1.282 GB, free: 51.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.4578, allocations: 226.3 kB / 1.282 GB, free: 51.28 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008993/0.4587, allocations: 288.4 kB / 1.282 GB, free: 51 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009708/0.4685, allocations: 4.894 MB / 1.287 GB, free: 45.91 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/0.4686, allocations: 19.78 kB / 1.287 GB, free: 45.89 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007289/0.4694, allocations: 124 kB / 1.287 GB, free: 45.77 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004745/0.4699, allocations: 229.7 kB / 1.288 GB, free: 45.54 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007026/0.4769, allocations: 3.746 MB / 1.291 GB, free: 41.79 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02201/0.4989, allocations: 21.58 MB / 1.312 GB, free: 18.21 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.5006, allocations: 1.308 MB / 1.314 GB, free: 16.89 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.5018, allocations: 1.05 MB / 1.315 GB, free: 15.83 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/0.5019, allocations: 13 kB / 1.315 GB, free: 15.82 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.502, allocations: 43.56 kB / 1.315 GB, free: 15.77 MB / 0.823 GB Notification: Performance of pre-optimization done (n=107): time 4.218e-06/0.502, allocations: 3.938 kB / 1.315 GB, free: 15.76 MB / 0.823 GB Notification: Performance of matching and sorting (n=138): time 0.02257/0.5246, allocations: 8.649 MB / 1.323 GB, free: 7.051 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.5247, allocations: 72.7 kB / 1.323 GB, free: 6.965 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.5264, allocations: 1.126 MB / 1.324 GB, free: 5.832 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.5265, allocations: 49.7 kB / 1.324 GB, free: 5.777 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/0.5271, allocations: 1.3 MB / 1.326 GB, free: 4.461 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004028/0.5275, allocations: 485 kB / 1.326 GB, free: 3.98 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000557/0.5281, allocations: 299.3 kB / 1.326 GB, free: 3.684 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.5282, allocations: 305.1 kB / 1.327 GB, free: 3.383 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.5294, allocations: 0.9096 MB / 1.328 GB, free: 2.473 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.5308, allocations: 1.334 MB / 1.329 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/0.534, allocations: 2.422 MB / 1.331 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.534, allocations: 8 kB / 1.331 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006729/0.5408, allocations: 3.459 MB / 1.335 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.5408, allocations: 13.25 kB / 1.335 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/0.5409, allocations: 16.89 kB / 1.335 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003404/0.5443, allocations: 1.186 MB / 1.336 GB, free: 9.672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.5453, allocations: 255.6 kB / 1.336 GB, free: 9.422 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/0.5631, allocations: 12.72 MB / 1.348 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.5647, allocations: 95.97 kB / 1.349 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/0.565, allocations: 60 kB / 1.349 GB, free: 12.16 MB / 0.8542 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.002394/0.5674, allocations: 1.115 MB / 1.35 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005066/0.5679, allocations: 162.1 kB / 1.35 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006241/0.5742, allocations: 3.173 MB / 1.353 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.5742, allocations: 16 kB / 1.353 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.355e-05/0.5743, allocations: 12 kB / 1.353 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.5743, allocations: 7.922 kB / 1.353 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.5872, allocations: 6.241 MB / 1.359 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-05/0.5872, allocations: 8 kB / 1.359 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/0.5879, allocations: 151.7 kB / 1.359 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003/0.5909, allocations: 1.069 MB / 1.36 GB, free: 28 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.5911, allocations: 28 kB / 1.36 GB, free: 0 / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/0.6091, allocations: 12.41 MB / 1.372 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.6091, allocations: 7.938 kB / 1.372 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00817/0.6173, allocations: 5.251 MB / 1.378 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.6184, allocations: 427 kB / 1.378 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000366/0.6188, allocations: 28 kB / 1.378 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.6199, allocations: 87.89 kB / 1.378 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004114/0.6203, allocations: 124.7 kB / 1.378 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.266e-05/0.6204, allocations: 40 kB / 1.378 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001034/0.6214, allocations: 0.767 MB / 1.379 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6214, allocations: 4 kB / 1.379 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002386/0.6238, allocations: 0.6602 MB / 1.38 GB, free: 11.66 MB / 0.8855 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.0002725/0.6241, allocations: 142.1 kB / 1.38 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005146/0.6293, allocations: 3.119 MB / 1.383 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.6293, allocations: 4 kB / 1.383 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003067/0.6324, allocations: 1.956 MB / 1.385 GB, free: 6.359 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.6348, allocations: 476.9 kB / 1.385 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.6472, allocations: 7.602 MB / 1.393 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003557/0.6508, allocations: 2.379 MB / 1.395 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001463/0.6523, allocations: 350.1 kB / 1.395 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.6526, allocations: 91.44 kB / 1.395 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of SimCode: time 1.123e-06/0.6526, allocations: 0 / 1.395 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of Templates: time 0.5845/1.237, allocations: 32.67 MB / 1.427 GB, free: 183.7 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)