Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.87/1.87, allocations: 288.4 MB / 303.4 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 180.4 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 0.6307 GB, free: 9.934 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000894/0.000894, allocations: 93.17 kB / 0.7441 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004215, allocations: 16.44 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2736, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03603/0.3097, allocations: 30.17 MB / 1.009 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02956/0.3393, allocations: 14.02 MB / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004894/0.3442, allocations: 139.2 kB / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004416/0.3487, allocations: 0.7092 MB / 1.024 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01314/0.3619, allocations: 2.395 MB / 1.026 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008806/0.3707, allocations: 1.39 MB / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01736/0.3881, allocations: 9.733 MB / 1.037 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01818/0.4064, allocations: 9.846 MB / 1.046 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007264/0.4137, allocations: 2.927 MB / 1.049 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007096/0.4208, allocations: 3.395 MB / 1.053 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002037/0.4229, allocations: 299.9 kB / 1.053 GB, free: 400 kB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004392/0.4273, allocations: 0.7999 MB / 1.054 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004218/0.4316, allocations: 2.268 MB / 1.056 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002708/0.4343, allocations: 1.132 MB / 1.057 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.4461, allocations: 9.163 MB / 1.066 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.4461, allocations: 0 / 1.066 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.504e-06/0.4461, allocations: 0 / 1.066 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003769/0.4465, allocations: 0 / 1.066 GB, free: 2.988 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.5434/0.9899, allocations: 4.881 MB / 1.071 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.562e-05/0.99, allocations: 14.03 kB / 1.071 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/1, allocations: 1.141 MB / 1.072 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009655/1.01, allocations: 3.242 MB / 1.075 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006439/1.011, allocations: 371.4 kB / 1.075 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002495/1.013, allocations: 498.4 kB / 1.076 GB, free: 78.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02519/1.038, allocations: 7.963 MB / 1.084 GB, free: 75.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005352/1.039, allocations: 22.05 kB / 1.084 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002548/1.041, allocations: 217.5 kB / 1.084 GB, free: 75.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001484/1.043, allocations: 438.5 kB / 1.084 GB, free: 75.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/1.061, allocations: 6.046 MB / 1.09 GB, free: 72.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05386/1.115, allocations: 35.2 MB / 1.124 GB, free: 42.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/1.118, allocations: 2.024 MB / 1.126 GB, free: 41.11 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003251/1.122, allocations: 1.847 MB / 1.128 GB, free: 40.15 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/1.122, allocations: 20.14 kB / 1.128 GB, free: 40.15 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.125e-05/1.122, allocations: 57.27 kB / 1.128 GB, free: 40.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=171): time 5.019e-06/1.122, allocations: 0 / 1.128 GB, free: 40.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=276): time 0.1389/1.261, allocations: 38.99 MB / 1.166 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/1.261, allocations: 81.58 kB / 1.166 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003443/1.264, allocations: 2.258 MB / 1.169 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004625/1.265, allocations: 69.7 kB / 1.169 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/1.266, allocations: 2.275 MB / 1.171 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008905/1.267, allocations: 0.9376 MB / 1.172 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/1.267, allocations: 60 kB / 1.172 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.268, allocations: 424.1 kB / 1.172 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/1.271, allocations: 1.962 MB / 1.174 GB, free: 14.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003591/1.274, allocations: 2.587 MB / 1.177 GB, free: 11.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/1.278, allocations: 2.376 MB / 1.179 GB, free: 9.547 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/1.278, allocations: 4 kB / 1.179 GB, free: 9.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01628/1.294, allocations: 7.721 MB / 1.187 GB, free: 1.758 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/1.294, allocations: 12 kB / 1.187 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/1.294, allocations: 16 kB / 1.187 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/1.304, allocations: 3.209 MB / 1.19 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/1.306, allocations: 403.9 kB / 1.19 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04659/1.353, allocations: 31.1 MB / 1.221 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/1.356, allocations: 163.8 kB / 1.221 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006538/1.357, allocations: 108 kB / 1.221 GB, free: 13.96 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004357/1.362, allocations: 1.805 MB / 1.223 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.363, allocations: 332.1 kB / 1.223 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/1.378, allocations: 7.33 MB / 1.23 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.214e-05/1.378, allocations: 24 kB / 1.23 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001252/1.378, allocations: 32 kB / 1.23 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.826e-05/1.378, allocations: 19.94 kB / 1.23 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02849/1.407, allocations: 12.89 MB / 1.243 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.68e-05/1.407, allocations: 12 kB / 1.243 GB, free: 7.293 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.408, allocations: 239.7 kB / 1.243 GB, free: 7.059 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008615/1.416, allocations: 2.841 MB / 1.246 GB, free: 4.199 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003838/1.417, allocations: 56 kB / 1.246 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04491/1.462, allocations: 29.9 MB / 1.275 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.859e-05/1.462, allocations: 11.94 kB / 1.275 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/1.476, allocations: 6.852 MB / 1.282 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/1.479, allocations: 0.7821 MB / 1.282 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.48, allocations: 59.98 kB / 1.283 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/1.482, allocations: 163.8 kB / 1.283 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009065/1.483, allocations: 253.3 kB / 1.283 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000351/1.484, allocations: 79.98 kB / 1.283 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002867/1.487, allocations: 1.506 MB / 1.284 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.4e-07/1.487, allocations: 0 / 1.284 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005624/1.492, allocations: 1.352 MB / 1.286 GB, free: 10.16 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005545/1.493, allocations: 179.9 kB / 1.286 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.506, allocations: 6.917 MB / 1.293 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.506, allocations: 4 kB / 1.293 GB, free: 2.969 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.008396/1.514, allocations: 4.407 MB / 1.297 GB, free: 14.49 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006654/1.521, allocations: 1.036 MB / 1.298 GB, free: 13.48 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0235/1.544, allocations: 11.93 MB / 1.31 GB, free: 1.461 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005905/1.55, allocations: 3.636 MB / 1.313 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002783/1.553, allocations: 0.5556 MB / 1.314 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006972/1.554, allocations: 167.4 kB / 1.314 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of SimCode: time 1.393e-06/1.554, allocations: 0 / 1.314 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.1207/1.675, allocations: 71.59 MB / 1.384 GB, free: 6.23 MB / 0.9011 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)