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.769/1.769, allocations: 292.6 MB / 307.6 MB, free: 5.176 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.001638/0.001638, allocations: 192.5 kB / 377.1 MB, free: 1.516 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.922/1.922, allocations: 205.4 MB / 0.6367 GB, free: 8.504 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.0008919/0.0008919, allocations: 92.97 kB / 0.751 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005096, allocations: 12 kB / 0.8748 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3367, allocations: 116.3 MB / 0.9884 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8351/1.172, allocations: 168.6 MB / 1.153 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/1.172, allocations: 97.06 kB / 1.153 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2079/1.38, allocations: 86.36 MB / 1.237 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.607e-06/1.38, allocations: 4 kB / 1.237 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.000301/1.381, allocations: 55.98 kB / 1.238 GB, free: 6.609 MB / 0.8073 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.01033/1.391, allocations: 2.233 MB / 1.24 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/1.391, allocations: 8.031 kB / 1.24 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006895/1.398, allocations: 0.7599 MB / 1.24 GB, free: 3.547 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006415/1.404, allocations: 1.547 MB / 1.242 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/1.405, allocations: 180.2 kB / 1.242 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/1.406, allocations: 228 kB / 1.242 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01534/1.422, allocations: 3.868 MB / 1.246 GB, free: 13.51 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001582/1.422, allocations: 7.938 kB / 1.246 GB, free: 13.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/1.423, allocations: 104 kB / 1.246 GB, free: 13.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003526/1.424, allocations: 160.5 kB / 1.246 GB, free: 13.24 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/1.435, allocations: 3.254 MB / 1.25 GB, free: 9.969 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03366/1.469, allocations: 16.48 MB / 1.266 GB, free: 8.062 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/1.472, allocations: 2.139 MB / 1.268 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/1.472, allocations: 101.7 kB / 1.268 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/1.472, allocations: 35.12 kB / 1.268 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 3.807e-06/1.472, allocations: 4 kB / 1.268 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76): time 0.007096/1.48, allocations: 3.458 MB / 1.271 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/1.48, allocations: 111.5 kB / 1.271 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/1.481, allocations: 0.9076 MB / 1.272 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/1.481, allocations: 37.77 kB / 1.272 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008123/1.482, allocations: 1.099 MB / 1.273 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/1.483, allocations: 284.1 kB / 1.274 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/1.483, allocations: 24 kB / 1.274 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002373/1.483, allocations: 406.7 kB / 1.274 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/1.484, allocations: 0.6167 MB / 1.275 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/1.485, allocations: 1.161 MB / 1.276 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/1.487, allocations: 0.8501 MB / 1.277 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/1.487, allocations: 15.78 kB / 1.277 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003542/1.49, allocations: 1.984 MB / 1.279 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/1.49, allocations: 20.02 kB / 1.279 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.41e-05/1.49, allocations: 20 kB / 1.279 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004717/1.491, allocations: 163.3 kB / 1.279 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.492, allocations: 347.4 kB / 1.279 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.195e-05/1.492, allocations: 39.86 kB / 1.279 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/1.493, allocations: 135.6 kB / 1.279 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/1.494, allocations: 72 kB / 1.279 GB, free: 9.398 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 () * Number of clocked 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.002012/1.496, allocations: 0.9694 MB / 1.28 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/1.496, allocations: 110.7 kB / 1.28 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/1.498, allocations: 1.241 MB / 1.282 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/1.498, allocations: 12 kB / 1.282 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.498, allocations: 0 / 1.282 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.498, allocations: 3.984 kB / 1.282 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007579/1.506, allocations: 3.565 MB / 1.285 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.506, allocations: 11.94 kB / 1.285 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007067/1.507, allocations: 163.8 kB / 1.285 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003955/1.507, allocations: 147.5 kB / 1.285 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/1.507, allocations: 12 kB / 1.285 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-05/1.507, allocations: 4 kB / 1.285 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.507, allocations: 4 kB / 1.285 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/1.51, allocations: 1.604 MB / 1.287 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/1.511, allocations: 295.6 kB / 1.287 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/1.511, allocations: 16 kB / 1.287 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/1.512, allocations: 75.89 kB / 1.287 GB, free: 0.8906 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.512, allocations: 64.38 kB / 1.287 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/1.512, allocations: 24 kB / 1.287 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001232/1.513, allocations: 0.6953 MB / 1.288 GB, free: 100 kB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/1.513, allocations: 0 / 1.288 GB, free: 100 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002001/1.515, allocations: 412.2 kB / 1.289 GB, free: 15.69 MB / 0.8698 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 () * Number of clocked 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.0002965/1.515, allocations: 139 kB / 1.289 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002901/1.518, allocations: 1.706 MB / 1.29 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.518, allocations: 4 kB / 1.29 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/1.52, allocations: 0.8723 MB / 1.291 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/1.521, allocations: 237.2 kB / 1.291 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.532, allocations: 4.599 MB / 1.296 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/1.535, allocations: 1.968 MB / 1.298 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001497/1.537, allocations: 445.3 kB / 1.298 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/1.537, allocations: 75.42 kB / 1.298 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/1.537, allocations: 7.938 kB / 1.298 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of Templates: time 0.02798/1.565, allocations: 12.46 MB / 1.31 GB, free: 9.023 MB / 0.8855 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)