Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001135, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005804/0.005804, allocations: 172.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.001739, allocations: 277.2 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9225/0.9225, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000649/0.000649, allocations: 23.41 kB / 0.5987 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1508, allocations: 88.54 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01627/0.1671, allocations: 15.36 MB / 0.7001 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007475/0.1746, allocations: 4.763 MB / 0.7048 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008552/0.1755, allocations: 59.69 kB / 0.7048 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.1761, allocations: 254 kB / 0.7051 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.1776, allocations: 0.6963 MB / 0.7058 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.1791, allocations: 0.6616 MB / 0.7064 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004587/0.1837, allocations: 5.26 MB / 0.7115 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00758/0.1913, allocations: 5.854 MB / 0.7173 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.193, allocations: 1.093 MB / 0.7183 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.1947, allocations: 1.51 MB / 0.7198 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.1949, allocations: 144 kB / 0.7199 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.1962, allocations: 0.737 MB / 0.7207 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009574/0.1972, allocations: 1.072 MB / 0.7217 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.1983, allocations: 1.187 MB / 0.7229 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004123/0.2024, allocations: 4.887 MB / 0.7276 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.2024, allocations: 0 / 0.7276 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2024, allocations: 0 / 0.7276 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.772e-05/0.2025, allocations: 0 / 0.7276 GB, free: 3.332 MB / 0.5137 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.003843/0.2064, allocations: 2.178 MB / 0.7298 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2064, allocations: 8.031 kB / 0.7298 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003897/0.2103, allocations: 0.8329 MB / 0.7306 GB, free: 256 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.2126, allocations: 1.497 MB / 0.7321 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.2128, allocations: 181.1 kB / 0.7322 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003765/0.2132, allocations: 236.3 kB / 0.7325 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006446/0.2196, allocations: 4.165 MB / 0.7365 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.199e-05/0.2197, allocations: 11.84 kB / 0.7365 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.22, allocations: 95.98 kB / 0.7366 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001974/0.2202, allocations: 180.5 kB / 0.7368 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005812/0.226, allocations: 3.636 MB / 0.7403 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.2435, allocations: 16.55 MB / 0.7565 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/0.2469, allocations: 2.296 MB / 0.7587 GB, free: 1.574 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008345/0.2477, allocations: 0.578 MB / 0.7593 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.2478, allocations: 101.6 kB / 0.7594 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.2479, allocations: 43.06 kB / 0.7594 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.655e-06/0.2479, allocations: 0 / 0.7594 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.005278/0.2532, allocations: 3.452 MB / 0.7628 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.2533, allocations: 119.5 kB / 0.7629 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.2546, allocations: 1.014 MB / 0.7639 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.2546, allocations: 41.7 kB / 0.764 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000664/0.2553, allocations: 1.103 MB / 0.765 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.2555, allocations: 268.2 kB / 0.7653 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.2557, allocations: 113.7 kB / 0.7654 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2559, allocations: 414.7 kB / 0.7658 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009115/0.2568, allocations: 0.6207 MB / 0.7664 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.2581, allocations: 1.189 MB / 0.7676 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.2603, allocations: 1.883 MB / 0.7694 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/0.2603, allocations: 4 kB / 0.7694 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003052/0.2634, allocations: 2.022 MB / 0.7714 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.2634, allocations: 15.94 kB / 0.7714 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.2634, allocations: 23.94 kB / 0.7714 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.2638, allocations: 164 kB / 0.7716 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.265, allocations: 351.4 kB / 0.7719 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-05/0.265, allocations: 35.86 kB / 0.7719 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009475/0.266, allocations: 139.6 kB / 0.7721 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/0.2661, allocations: 68 kB / 0.7721 GB, free: 3.062 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001317/0.2674, allocations: 0.9784 MB / 0.7731 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.2676, allocations: 110.7 kB / 0.7732 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.2697, allocations: 1.241 MB / 0.7744 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.2697, allocations: 11.94 kB / 0.7744 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.2697, allocations: 0 / 0.7744 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.2697, allocations: 3.984 kB / 0.7744 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.293/0.5627, allocations: 3.81 MB / 0.7782 GB, free: 87.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.5628, allocations: 3.25 kB / 0.7782 GB, free: 87.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/0.5634, allocations: 161.3 kB / 0.7783 GB, free: 87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003448/0.5638, allocations: 142.6 kB / 0.7785 GB, free: 86.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.5638, allocations: 22.12 kB / 0.7785 GB, free: 86.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.5638, allocations: 13.62 kB / 0.7785 GB, free: 86.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5639, allocations: 3.156 kB / 0.7785 GB, free: 86.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.5657, allocations: 1.481 MB / 0.7799 GB, free: 86.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/0.5661, allocations: 296.2 kB / 0.7802 GB, free: 86.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.5662, allocations: 17.27 kB / 0.7802 GB, free: 86.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005869/0.5668, allocations: 72.91 kB / 0.7803 GB, free: 86.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.567, allocations: 56.34 kB / 0.7804 GB, free: 86.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.567, allocations: 27.41 kB / 0.7804 GB, free: 86.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000826/0.5679, allocations: 0.6965 MB / 0.7811 GB, free: 85.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5679, allocations: 0 / 0.7811 GB, free: 85.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001335/0.5692, allocations: 387.4 kB / 0.7814 GB, free: 85.85 MB / 0.5606 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.5694, allocations: 131.3 kB / 0.7816 GB, free: 85.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.5714, allocations: 1.719 MB / 0.7832 GB, free: 84.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5714, allocations: 2.188 kB / 0.7832 GB, free: 84.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007208/0.5721, allocations: 0.8648 MB / 0.7841 GB, free: 84.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.5737, allocations: 245.4 kB / 0.7843 GB, free: 84.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.579, allocations: 4.83 MB / 0.789 GB, free: 81.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.5806, allocations: 1.928 MB / 0.7909 GB, free: 80.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001137/0.5817, allocations: 451 kB / 0.7913 GB, free: 80.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.5819, allocations: 82.94 kB / 0.7914 GB, free: 80.52 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.5819, allocations: 0 / 0.7914 GB, free: 80.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.02321/0.6052, allocations: 12.71 MB / 0.8038 GB, free: 77.12 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)