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.001435/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001734/0.001734, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 282.8 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9172/0.9172, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 91.56 kB / 0.5945 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1403, allocations: 86.98 MB / 0.6794 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01622/0.1565, allocations: 15.9 MB / 0.695 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006998/0.1636, allocations: 4.813 MB / 0.6997 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006613/0.1643, allocations: 63.62 kB / 0.6997 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.1665, allocations: 0.9598 MB / 0.7007 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.1679, allocations: 0.6963 MB / 0.7014 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.1696, allocations: 0.8413 MB / 0.7022 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004026/0.1737, allocations: 5.264 MB / 0.7073 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006365/0.1801, allocations: 5.439 MB / 0.7126 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.1817, allocations: 1.332 MB / 0.7139 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.1835, allocations: 1.815 MB / 0.7157 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003355/0.1838, allocations: 236 kB / 0.7159 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.1852, allocations: 0.8269 MB / 0.7167 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.1862, allocations: 1.224 MB / 0.7179 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.1874, allocations: 1.342 MB / 0.7192 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003635/0.1911, allocations: 5.056 MB / 0.7242 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1911, allocations: 0 / 0.7242 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1911, allocations: 0 / 0.7242 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.501e-05/0.1911, allocations: 0 / 0.7242 GB, free: 3.188 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.004001/0.1951, allocations: 2.651 MB / 0.7268 GB, free: 488 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1952, allocations: 8.031 kB / 0.7268 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003829/0.199, allocations: 0.8329 MB / 0.7276 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.2012, allocations: 1.497 MB / 0.729 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.2013, allocations: 189.1 kB / 0.7292 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.2017, allocations: 228.4 kB / 0.7294 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005909/0.2076, allocations: 4.161 MB / 0.7335 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.837e-05/0.2077, allocations: 11.94 kB / 0.7335 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.2079, allocations: 95.98 kB / 0.7336 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/0.2081, allocations: 164.5 kB / 0.7338 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005669/0.2138, allocations: 3.636 MB / 0.7373 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.2304, allocations: 16.55 MB / 0.7535 GB, free: 3.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.2335, allocations: 2.292 MB / 0.7557 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007908/0.2343, allocations: 0.5819 MB / 0.7563 GB, free: 400 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.2345, allocations: 97.66 kB / 0.7564 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2345, allocations: 39.12 kB / 0.7564 GB, free: 236 kB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.425e-06/0.2345, allocations: 0 / 0.7564 GB, free: 236 kB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.005/0.2395, allocations: 3.432 MB / 0.7598 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.2396, allocations: 111.5 kB / 0.7599 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.2407, allocations: 1.018 MB / 0.7609 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.2408, allocations: 37.7 kB / 0.7609 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005834/0.2414, allocations: 1.107 MB / 0.762 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.2416, allocations: 276.2 kB / 0.7622 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/0.2419, allocations: 279.2 kB / 0.7625 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2421, allocations: 410.7 kB / 0.7629 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008619/0.243, allocations: 0.6207 MB / 0.7635 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.2442, allocations: 1.182 MB / 0.7647 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.2463, allocations: 1.868 MB / 0.7665 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/0.2463, allocations: 4 kB / 0.7665 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002856/0.2491, allocations: 2.019 MB / 0.7685 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.2492, allocations: 16.16 kB / 0.7685 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.2492, allocations: 20 kB / 0.7685 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/0.2496, allocations: 159.3 kB / 0.7687 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.2507, allocations: 343.4 kB / 0.769 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.641e-05/0.2508, allocations: 35.86 kB / 0.769 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008414/0.2516, allocations: 143.6 kB / 0.7692 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/0.2517, allocations: 68 kB / 0.7692 GB, free: 2.367 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.001203/0.2529, allocations: 0.9784 MB / 0.7702 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.2531, allocations: 110.7 kB / 0.7703 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.2551, allocations: 1.222 MB / 0.7715 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.2551, allocations: 15.94 kB / 0.7715 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.2551, allocations: 3.984 kB / 0.7715 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.2551, allocations: 3.984 kB / 0.7715 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2822/0.5373, allocations: 3.799 MB / 0.7752 GB, free: 88.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.5374, allocations: 7.219 kB / 0.7752 GB, free: 88.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/0.538, allocations: 155.1 kB / 0.7754 GB, free: 88.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/0.5383, allocations: 143.3 kB / 0.7755 GB, free: 88.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.5384, allocations: 18.66 kB / 0.7755 GB, free: 88.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.5384, allocations: 10.64 kB / 0.7755 GB, free: 88.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.5384, allocations: 6.281 kB / 0.7755 GB, free: 88.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.5402, allocations: 1.464 MB / 0.777 GB, free: 87.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.5406, allocations: 273.1 kB / 0.7772 GB, free: 87.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.5407, allocations: 19.5 kB / 0.7772 GB, free: 87.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005622/0.5413, allocations: 67.92 kB / 0.7773 GB, free: 87.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.5414, allocations: 68.27 kB / 0.7774 GB, free: 87.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.5415, allocations: 24.86 kB / 0.7774 GB, free: 87.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007916/0.5423, allocations: 0.6973 MB / 0.7781 GB, free: 87.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5423, allocations: 0 / 0.7781 GB, free: 87.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00133/0.5436, allocations: 387.5 kB / 0.7784 GB, free: 87.48 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.0001608/0.5438, allocations: 127.2 kB / 0.7786 GB, free: 87.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001888/0.5457, allocations: 1.711 MB / 0.7802 GB, free: 86.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5457, allocations: 0 / 0.7802 GB, free: 86.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006978/0.5464, allocations: 0.8608 MB / 0.7811 GB, free: 85.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.5476, allocations: 251.6 kB / 0.7813 GB, free: 85.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004847/0.5525, allocations: 4.815 MB / 0.786 GB, free: 83.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/0.5539, allocations: 1.92 MB / 0.7879 GB, free: 82.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001067/0.555, allocations: 454.1 kB / 0.7883 GB, free: 82.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.5552, allocations: 78.55 kB / 0.7884 GB, free: 82.18 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.5552, allocations: 0 / 0.7884 GB, free: 82.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.02117/0.5764, allocations: 12.86 MB / 0.801 GB, free: 78.58 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)