Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.713/1.713, allocations: 287.5 MB / 302.6 MB, free: 8.227 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.001313/0.001313, allocations: 177 kB / 371.2 MB, free: 10.83 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.406/1.406, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0007618/0.0007618, allocations: 93.27 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003947, allocations: 11.44 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2136, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01639/0.2301, allocations: 21.23 MB / 0.9994 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009012/0.2391, allocations: 6.238 MB / 1.006 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.2414, allocations: 75.56 kB / 1.006 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.2424, allocations: 456.5 kB / 1.006 GB, free: 108 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.2462, allocations: 1.548 MB / 1.008 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.2489, allocations: 0.9134 MB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009847/0.2588, allocations: 8.217 MB / 1.016 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01254/0.2713, allocations: 7.962 MB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005827/0.2772, allocations: 2.117 MB / 1.026 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007827/0.2851, allocations: 3.135 MB / 1.029 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.2863, allocations: 244 kB / 1.03 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003154/0.2895, allocations: 0.5776 MB / 1.03 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.004065/0.2936, allocations: 2.093 MB / 1.032 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002095/0.2957, allocations: 0.851 MB / 1.033 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.3072, allocations: 7.005 MB / 1.04 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3072, allocations: 0 / 1.04 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3072, allocations: 0 / 1.04 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000246/0.3075, allocations: 4 kB / 1.04 GB, free: 13.29 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.00828/0.3158, allocations: 3.558 MB / 1.043 GB, free: 9.668 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.3159, allocations: 12.03 kB / 1.043 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008378/0.3242, allocations: 1.685 MB / 1.045 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005412/0.3297, allocations: 2.571 MB / 1.048 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.3299, allocations: 275.7 kB / 1.048 GB, free: 5.07 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009935/0.3309, allocations: 360.3 kB / 1.048 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/0.3452, allocations: 7.463 MB / 1.055 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.045e-05/0.3453, allocations: 19.78 kB / 1.055 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005001/0.3458, allocations: 155.9 kB / 1.056 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005848/0.3464, allocations: 487.3 kB / 1.056 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.3579, allocations: 5.685 MB / 1.062 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4509/0.8089, allocations: 31.65 MB / 1.092 GB, free: 58.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.812, allocations: 2.084 MB / 1.095 GB, free: 57.25 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002968/0.815, allocations: 2.175 MB / 1.097 GB, free: 56.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.8152, allocations: 15.77 kB / 1.097 GB, free: 56.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.8152, allocations: 49.98 kB / 1.097 GB, free: 56.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 3.657e-06/0.8152, allocations: 4 kB / 1.097 GB, free: 56.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.271/1.086, allocations: 75.27 MB / 1.17 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/1.086, allocations: 77.41 kB / 1.17 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/1.088, allocations: 1.646 MB / 1.172 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004878/1.089, allocations: 73.64 kB / 1.172 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006918/1.089, allocations: 1.749 MB / 1.174 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006348/1.09, allocations: 0.855 MB / 1.175 GB, free: 256 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/1.09, allocations: 51.94 kB / 1.175 GB, free: 204 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.09, allocations: 407.2 kB / 1.175 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003697/1.094, allocations: 2.722 MB / 1.178 GB, free: 13.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004162/1.098, allocations: 3.328 MB / 1.181 GB, free: 9.492 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008474/1.107, allocations: 6.37 MB / 1.187 GB, free: 2.883 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/1.107, allocations: 8 kB / 1.187 GB, free: 2.875 MB / 0.698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03233/1.139, allocations: 14.66 MB / 1.201 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/1.139, allocations: 14.66 kB / 1.201 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/1.139, allocations: 24 kB / 1.201 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0288/1.168, allocations: 9.225 MB / 1.21 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/1.17, allocations: 303.4 kB / 1.211 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07493/1.244, allocations: 47.08 MB / 1.257 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/1.248, allocations: 223.7 kB / 1.257 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006086/1.248, allocations: 99.38 kB / 1.257 GB, free: 10.37 MB / 0.7761 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 (157): * Single equations (assignments): 151 * 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 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003793/1.252, allocations: 1.594 MB / 1.259 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008154/1.253, allocations: 241.1 kB / 1.259 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03299/1.286, allocations: 14.74 MB / 1.273 GB, free: 9.727 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-05/1.286, allocations: 24 kB / 1.273 GB, free: 9.703 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001485/1.286, allocations: 44 kB / 1.273 GB, free: 9.66 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.207e-05/1.286, allocations: 11.95 kB / 1.273 GB, free: 9.648 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04386/1.33, allocations: 20.49 MB / 1.293 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.03e-05/1.33, allocations: 4.125 kB / 1.293 GB, free: 5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/1.331, allocations: 163.8 kB / 1.293 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0287/1.36, allocations: 8.996 MB / 1.302 GB, free: 11.82 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004779/1.36, allocations: 48 kB / 1.302 GB, free: 11.77 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07543/1.436, allocations: 46.71 MB / 1.348 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/1.436, allocations: 7.938 kB / 1.348 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03299/1.469, allocations: 14.35 MB / 1.362 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00227/1.471, allocations: 0.8455 MB / 1.363 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008988/1.472, allocations: 48 kB / 1.363 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/1.475, allocations: 203.7 kB / 1.363 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/1.476, allocations: 241.5 kB / 1.363 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003732/1.477, allocations: 67.94 kB / 1.363 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002186/1.479, allocations: 1.106 MB / 1.364 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.7e-07/1.479, allocations: 0 / 1.364 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006465/1.485, allocations: 1.602 MB / 1.366 GB, free: 9.59 MB / 0.8855 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 (80): * Single equations (assignments): 74 * 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 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006205/1.486, allocations: 163 kB / 1.366 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02361/1.51, allocations: 10.34 MB / 1.376 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.51, allocations: 0 / 1.376 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01809/1.528, allocations: 7.144 MB / 1.383 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004968/1.533, allocations: 0.5059 MB / 1.384 GB, free: 7.289 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.55, allocations: 10.19 MB / 1.394 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004842/1.555, allocations: 3.224 MB / 1.397 GB, free: 9.754 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001373/1.556, allocations: 395.3 kB / 1.397 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/1.556, allocations: 95.44 kB / 1.397 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of SimCode: time 1.052e-06/1.556, allocations: 0 / 1.397 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of Templates: time 0.6012/2.158, allocations: 84.23 MB / 1.479 GB, free: 293.9 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)