Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.3 MB / 308.1 MB, free: 4.305 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.001357/0.001357, allocations: 186.4 kB / 376.9 MB, free: 1.844 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.635/1.635, allocations: 205 MB / 0.6353 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 93.84 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2805, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03646/0.317, allocations: 32.9 MB / 1.014 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.6294/0.9464, allocations: 14.86 MB / 1.029 GB, free: 69.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004765/0.9512, allocations: 143.4 kB / 1.029 GB, free: 69.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.008856/0.9602, allocations: 3.385 MB / 1.032 GB, free: 69.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.009557/0.9697, allocations: 2.691 MB / 1.035 GB, free: 69.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006151/0.9759, allocations: 2.124 MB / 1.037 GB, free: 69.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02047/0.9964, allocations: 12.26 MB / 1.049 GB, free: 68.22 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01643/1.013, allocations: 10.36 MB / 1.059 GB, free: 66.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00788/1.021, allocations: 3.465 MB / 1.062 GB, free: 64.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007846/1.029, allocations: 4.095 MB / 1.066 GB, free: 63.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002321/1.031, allocations: 484.9 kB / 1.067 GB, free: 63.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005104/1.036, allocations: 1.735 MB / 1.069 GB, free: 63.08 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.004672/1.041, allocations: 2.593 MB / 1.071 GB, free: 62.17 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01046/1.051, allocations: 3.113 MB / 1.074 GB, free: 60.31 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01564/1.067, allocations: 11 MB / 1.085 GB, free: 57.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.067, allocations: 1.781 kB / 1.085 GB, free: 57.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.153e-06/1.067, allocations: 4 kB / 1.085 GB, free: 57.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000488/1.068, allocations: 0 / 1.085 GB, free: 57.05 MB / 0.7448 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.01838/1.086, allocations: 5.97 MB / 1.091 GB, free: 53.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/1.086, allocations: 13.73 kB / 1.091 GB, free: 53.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007062/1.093, allocations: 1.141 MB / 1.092 GB, free: 53.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007912/1.101, allocations: 3.331 MB / 1.095 GB, free: 51.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/1.101, allocations: 375 kB / 1.096 GB, free: 51.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/1.103, allocations: 0.4948 MB / 1.096 GB, free: 51.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/1.116, allocations: 8.001 MB / 1.104 GB, free: 48.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/1.116, allocations: 29.25 kB / 1.104 GB, free: 48.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004875/1.117, allocations: 212.7 kB / 1.104 GB, free: 48.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001013/1.118, allocations: 439 kB / 1.104 GB, free: 47.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009649/1.127, allocations: 6.081 MB / 1.11 GB, free: 45.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04085/1.168, allocations: 35.15 MB / 1.145 GB, free: 17.94 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003033/1.171, allocations: 2.023 MB / 1.147 GB, free: 17.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/1.174, allocations: 1.87 MB / 1.149 GB, free: 16.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/1.174, allocations: 19.12 kB / 1.149 GB, free: 16.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.283e-05/1.174, allocations: 61.67 kB / 1.149 GB, free: 16.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=171): time 4.568e-06/1.174, allocations: 7.469 kB / 1.149 GB, free: 16.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=276): time 0.1429/1.317, allocations: 38.87 MB / 1.187 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/1.317, allocations: 81.58 kB / 1.187 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/1.321, allocations: 2.282 MB / 1.189 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004398/1.321, allocations: 73.7 kB / 1.189 GB, free: 9.688 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001555/1.323, allocations: 2.275 MB / 1.191 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.324, allocations: 0.9321 MB / 1.192 GB, free: 6.469 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009318/1.325, allocations: 0.5061 MB / 1.193 GB, free: 5.953 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.325, allocations: 305.1 kB / 1.193 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002828/1.328, allocations: 1.977 MB / 1.195 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003507/1.331, allocations: 2.602 MB / 1.197 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006638/1.338, allocations: 4.929 MB / 1.202 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/1.338, allocations: 7.938 kB / 1.202 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01507/1.353, allocations: 7.754 MB / 1.21 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/1.353, allocations: 12 kB / 1.21 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/1.353, allocations: 16 kB / 1.21 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009272/1.362, allocations: 3.221 MB / 1.213 GB, free: 0.5234 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/1.364, allocations: 399.4 kB / 1.213 GB, free: 136 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04113/1.405, allocations: 31.09 MB / 1.244 GB, free: 248 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/1.41, allocations: 163.8 kB / 1.244 GB, free: 84 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004904/1.41, allocations: 112.2 kB / 1.244 GB, free: 15.97 MB / 0.823 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003868/1.414, allocations: 1.804 MB / 1.246 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008542/1.415, allocations: 332.1 kB / 1.246 GB, free: 13.83 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.429, allocations: 7.345 MB / 1.253 GB, free: 6.406 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/1.429, allocations: 24 kB / 1.253 GB, free: 6.383 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.921e-05/1.429, allocations: 39.92 kB / 1.253 GB, free: 6.344 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.582e-05/1.429, allocations: 11.95 kB / 1.253 GB, free: 6.332 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02983/1.459, allocations: 12.93 MB / 1.266 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-05/1.459, allocations: 8 kB / 1.266 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/1.46, allocations: 234.3 kB / 1.266 GB, free: 9.035 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01146/1.472, allocations: 2.852 MB / 1.269 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008529/1.473, allocations: 52 kB / 1.269 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04243/1.515, allocations: 29.89 MB / 1.298 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.515, allocations: 7.938 kB / 1.298 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/1.534, allocations: 10.75 MB / 1.309 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002429/1.536, allocations: 0.7744 MB / 1.309 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004914/1.537, allocations: 63.89 kB / 1.309 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/1.539, allocations: 171.7 kB / 1.31 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001097/1.54, allocations: 249.5 kB / 1.31 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.54, allocations: 76 kB / 1.31 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002303/1.542, allocations: 1.521 MB / 1.311 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/1.542, allocations: 4 kB / 1.311 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005704/1.548, allocations: 1.371 MB / 1.313 GB, free: 8.156 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004934/1.548, allocations: 171 kB / 1.313 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.56, allocations: 6.893 MB / 1.32 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.63e-05/1.561, allocations: 7.953 kB / 1.32 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008486/1.569, allocations: 4.407 MB / 1.324 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006124/1.575, allocations: 1.033 MB / 1.325 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02401/1.599, allocations: 14.13 MB / 1.339 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005458/1.605, allocations: 3.772 MB / 1.342 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002459/1.607, allocations: 0.5595 MB / 1.343 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/1.608, allocations: 155.4 kB / 1.343 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of SimCode: time 9.92e-07/1.608, allocations: 3.938 kB / 1.343 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of Templates: time 0.5943/2.202, allocations: 77.72 MB / 1.419 GB, free: 269.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)