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.0009954/0.0009958, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00912/0.00912, allocations: 169 kB / 16.26 MB, free: 6.652 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.539/1.539, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.912/1.912, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005294/0.0005294, allocations: 19.16 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2577, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02242/0.2801, allocations: 19.41 MB / 0.8068 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.2911, allocations: 6.439 MB / 0.8131 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.2933, allocations: 75.56 kB / 0.8132 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.295, allocations: 412.8 kB / 0.8136 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003418/0.2984, allocations: 1.104 MB / 0.8147 GB, free: 40 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.3019, allocations: 1.083 MB / 0.8157 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008098/0.31, allocations: 6.964 MB / 0.8225 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.3223, allocations: 7.263 MB / 0.8296 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003322/0.3256, allocations: 1.486 MB / 0.8311 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003517/0.3292, allocations: 2.028 MB / 0.8331 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/0.3302, allocations: 180 kB / 0.8332 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002815/0.3331, allocations: 0.9163 MB / 0.8341 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002219/0.3353, allocations: 1.352 MB / 0.8355 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00372/0.339, allocations: 1.572 MB / 0.837 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008615/0.3477, allocations: 6.21 MB / 0.8431 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3477, allocations: 0 / 0.8431 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3477, allocations: 3.938 kB / 0.8431 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002451/0.348, allocations: 0 / 0.8431 GB, free: 2.84 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.006953/0.3549, allocations: 2.82 MB / 0.8458 GB, free: 15.95 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.355, allocations: 12.03 kB / 0.8458 GB, free: 15.94 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/0.3589, allocations: 0.6332 MB / 0.8464 GB, free: 15.31 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.3624, allocations: 1.947 MB / 0.8483 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.3626, allocations: 222.3 kB / 0.8486 GB, free: 13.08 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007906/0.3634, allocations: 292.3 kB / 0.8488 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/0.3771, allocations: 4.89 MB / 0.8536 GB, free: 7.707 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/0.3773, allocations: 15.83 kB / 0.8536 GB, free: 7.691 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006834/0.378, allocations: 128 kB / 0.8537 GB, free: 7.566 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004711/0.3785, allocations: 229.7 kB / 0.854 GB, free: 7.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008358/0.3869, allocations: 3.75 MB / 0.8576 GB, free: 3.578 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02789/0.4148, allocations: 21.61 MB / 0.8787 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.4168, allocations: 1.319 MB / 0.88 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.4183, allocations: 1.042 MB / 0.881 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.118e-05/0.4184, allocations: 9 kB / 0.881 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.4184, allocations: 51.56 kB / 0.8811 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 3.026e-06/0.4184, allocations: 0 / 0.8811 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.02504/0.4435, allocations: 8.704 MB / 0.8896 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.4436, allocations: 68.7 kB / 0.8897 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.4454, allocations: 1.13 MB / 0.8908 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.4455, allocations: 49.7 kB / 0.8908 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009916/0.4465, allocations: 1.3 MB / 0.8921 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005433/0.4471, allocations: 485 kB / 0.8925 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.4473, allocations: 129.6 kB / 0.8927 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4475, allocations: 309.1 kB / 0.893 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.449, allocations: 0.9135 MB / 0.8938 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.4507, allocations: 1.322 MB / 0.8951 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.4539, allocations: 2.426 MB / 0.8975 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.454, allocations: 4 kB / 0.8975 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.0067/0.4607, allocations: 3.468 MB / 0.9009 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.4608, allocations: 8 kB / 0.9009 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/0.4608, allocations: 16.12 kB / 0.9009 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00329/0.4641, allocations: 1.18 MB / 0.9021 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.4653, allocations: 267.5 kB / 0.9023 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/0.4828, allocations: 12.76 MB / 0.9148 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.4848, allocations: 87.97 kB / 0.9149 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.4851, allocations: 64 kB / 0.9149 GB, free: 5.984 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.002436/0.4875, allocations: 1.114 MB / 0.916 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005273/0.4881, allocations: 162.1 kB / 0.9162 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006098/0.4942, allocations: 3.173 MB / 0.9193 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4942, allocations: 19.94 kB / 0.9193 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-05/0.4943, allocations: 12.38 kB / 0.9193 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.4943, allocations: 15.91 kB / 0.9193 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5079/1.002, allocations: 6.235 MB / 0.9254 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.002, allocations: 6.031 kB / 0.9254 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/1.003, allocations: 147.6 kB / 0.9256 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002853/1.006, allocations: 1.066 MB / 0.9266 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-05/1.006, allocations: 29.31 kB / 0.9266 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/1.021, allocations: 12.45 MB / 0.9388 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/1.021, allocations: 13.44 kB / 0.9388 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006504/1.027, allocations: 3.151 MB / 0.9419 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009841/1.028, allocations: 433.5 kB / 0.9423 GB, free: 116 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/1.029, allocations: 30.97 kB / 0.9423 GB, free: 116 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008122/1.029, allocations: 79.66 kB / 0.9424 GB, free: 116 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000502/1.03, allocations: 124.4 kB / 0.9425 GB, free: 116 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.03, allocations: 44.52 kB / 0.9426 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001554/1.032, allocations: 0.7671 MB / 0.9433 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/1.032, allocations: 0 / 0.9433 GB, free: 115.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002685/1.034, allocations: 0.6621 MB / 0.944 GB, free: 115.6 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.0002403/1.035, allocations: 142.6 kB / 0.9441 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005137/1.04, allocations: 3.133 MB / 0.9471 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.04, allocations: 1.375 kB / 0.9471 GB, free: 114.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00319/1.043, allocations: 1.966 MB / 0.9491 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/1.046, allocations: 468.8 kB / 0.9495 GB, free: 113 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.056, allocations: 6.757 MB / 0.9561 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002526/1.059, allocations: 2.338 MB / 0.9584 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00136/1.06, allocations: 349.2 kB / 0.9587 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/1.061, allocations: 90.14 kB / 0.9588 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.233e-06/1.061, allocations: 0 / 0.9588 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.04987/1.111, allocations: 30.95 MB / 0.989 GB, free: 85.22 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: