Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001058/0.001058, allocations: 180.9 kB / 366.7 MB, free: 1.641 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.762/1.762, allocations: 205.3 MB / 0.626 GB, free: 7.164 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.0009166/0.0009164, allocations: 80.06 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.374e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.711, allocations: 116.3 MB / 0.9733 GB, free: 76.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2188/0.9299, allocations: 167.9 MB / 1.137 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.9302, allocations: 99.88 kB / 1.137 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1998/1.13, allocations: 85.6 MB / 1.221 GB, free: 7.902 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.124e-06/1.13, allocations: 0 / 1.221 GB, free: 7.902 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001388/1.13, allocations: 56 kB / 1.221 GB, free: 7.848 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005779/1.136, allocations: 2.112 MB / 1.223 GB, free: 5.68 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/1.136, allocations: 8.031 kB / 1.223 GB, free: 5.672 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004575/1.141, allocations: 0.7579 MB / 1.224 GB, free: 4.91 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003594/1.144, allocations: 1.539 MB / 1.225 GB, free: 3.324 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/1.144, allocations: 76 kB / 1.225 GB, free: 3.25 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005634/1.145, allocations: 140 kB / 1.225 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005163/1.15, allocations: 2.684 MB / 1.228 GB, free: 432 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005847/1.156, allocations: 3.47 MB / 1.231 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.636e-05/1.156, allocations: 0 / 1.231 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/1.156, allocations: 11.88 kB / 1.231 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002193/1.157, allocations: 160.5 kB / 1.232 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01864/1.175, allocations: 15.8 MB / 1.247 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/1.178, allocations: 2.081 MB / 1.249 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/1.179, allocations: 0.5625 MB / 1.25 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/1.179, allocations: 101.6 kB / 1.25 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/1.179, allocations: 47.11 kB / 1.25 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 2.474e-06/1.179, allocations: 0 / 1.25 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76): time 0.004555/1.184, allocations: 2.586 MB / 1.252 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/1.184, allocations: 119.6 kB / 1.252 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/1.185, allocations: 0.8324 MB / 1.253 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/1.185, allocations: 25.7 kB / 1.253 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006743/1.186, allocations: 1.095 MB / 1.254 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/1.186, allocations: 264.2 kB / 1.255 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/1.186, allocations: 0 / 1.255 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00019/1.186, allocations: 410.7 kB / 1.255 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007402/1.187, allocations: 0.5583 MB / 1.256 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/1.188, allocations: 1.096 MB / 1.257 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/1.19, allocations: 0.9371 MB / 1.257 GB, free: 164 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.19, allocations: 8 kB / 1.258 GB, free: 156 kB / 0.8542 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.4846/1.674, allocations: 1.907 MB / 1.259 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.928e-05/1.675, allocations: 13.88 kB / 1.259 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.643e-05/1.675, allocations: 18.8 kB / 1.259 GB, free: 204.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/1.675, allocations: 163 kB / 1.26 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.677, allocations: 344.2 kB / 1.26 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-05/1.677, allocations: 37.14 kB / 1.26 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.678, allocations: 111.3 kB / 1.26 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/1.678, allocations: 70.88 kB / 1.26 GB, free: 204.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002482/1.679, allocations: 151 kB / 1.26 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/1.679, allocations: 105.2 kB / 1.26 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/1.682, allocations: 1.182 MB / 1.261 GB, free: 204 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/1.682, allocations: 9.703 kB / 1.262 GB, free: 204 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.682, allocations: 2.156 kB / 1.262 GB, free: 204 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.682, allocations: 4.922 kB / 1.262 GB, free: 204 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006193/1.688, allocations: 3.189 MB / 1.265 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.688, allocations: 8.094 kB / 1.265 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/1.689, allocations: 161.2 kB / 1.265 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003553/1.689, allocations: 139.2 kB / 1.265 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/1.689, allocations: 3.531 kB / 1.265 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/1.689, allocations: 15.23 kB / 1.265 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.689, allocations: 3.375 kB / 1.265 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/1.691, allocations: 1.548 MB / 1.266 GB, free: 202.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/1.692, allocations: 290.6 kB / 1.267 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/1.692, allocations: 7.094 kB / 1.267 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/1.692, allocations: 62.88 kB / 1.267 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/1.692, allocations: 53.39 kB / 1.267 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/1.693, allocations: 26 kB / 1.267 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007887/1.693, allocations: 0.6234 MB / 1.267 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/1.693, allocations: 0 / 1.267 GB, free: 202.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001517/1.695, allocations: 373.3 kB / 1.268 GB, free: 202.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001907/1.695, allocations: 120.5 kB / 1.268 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001876/1.697, allocations: 1.589 MB / 1.269 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.697, allocations: 0 / 1.269 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007266/1.698, allocations: 0.8234 MB / 1.27 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/1.699, allocations: 214.3 kB / 1.271 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/1.704, allocations: 2.994 MB / 1.273 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001866/1.706, allocations: 1.96 MB / 1.275 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001153/1.707, allocations: 430.2 kB / 1.276 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/1.707, allocations: 80.45 kB / 1.276 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/1.707, allocations: 0 / 1.276 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.02654/1.734, allocations: 11.76 MB / 1.287 GB, free: 199.9 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)