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.001085/0.001085, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00137/0.00137, allocations: 192.3 kB / 16.25 MB, free: 6.617 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002182/0.002182, allocations: 282.7 kB / 290.4 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9642/0.9642, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 92.77 kB / 0.5947 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1409, allocations: 86.98 MB / 0.6796 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01753/0.1584, allocations: 15.9 MB / 0.6952 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007503/0.166, allocations: 4.762 MB / 0.6998 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.1671, allocations: 59.69 kB / 0.6999 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002587/0.1697, allocations: 0.9727 MB / 0.7008 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.1714, allocations: 0.6847 MB / 0.7015 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.1737, allocations: 0.8408 MB / 0.7023 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003803/0.1775, allocations: 3.614 MB / 0.7058 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007866/0.1854, allocations: 5.857 MB / 0.7116 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.1875, allocations: 1.601 MB / 0.7131 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.1899, allocations: 1.862 MB / 0.7149 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007002/0.1906, allocations: 340 kB / 0.7153 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.1924, allocations: 0.8074 MB / 0.7161 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.1942, allocations: 1.329 MB / 0.7173 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002297/0.1965, allocations: 1.455 MB / 0.7188 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004896/0.2015, allocations: 5.126 MB / 0.7238 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2015, allocations: 0 / 0.7238 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2015, allocations: 0 / 0.7238 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.594e-05/0.2016, allocations: 0 / 0.7238 GB, free: 3.68 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.00429/0.2059, allocations: 2.658 MB / 0.7264 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2059, allocations: 8.031 kB / 0.7264 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003808/0.2097, allocations: 0.829 MB / 0.7272 GB, free: 124 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.2122, allocations: 1.497 MB / 0.7287 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.2123, allocations: 181.1 kB / 0.7288 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004524/0.2128, allocations: 232.4 kB / 0.729 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007291/0.2201, allocations: 4.165 MB / 0.7331 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-05/0.2202, allocations: 3.938 kB / 0.7331 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/0.2206, allocations: 99.98 kB / 0.7332 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/0.2208, allocations: 168.5 kB / 0.7334 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0062/0.227, allocations: 3.636 MB / 0.7369 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.2448, allocations: 16.54 MB / 0.7531 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/0.248, allocations: 2.285 MB / 0.7553 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008317/0.2489, allocations: 0.5741 MB / 0.7559 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.249, allocations: 97.66 kB / 0.756 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2491, allocations: 47.06 kB / 0.756 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.434e-06/0.2491, allocations: 0 / 0.756 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.005475/0.2545, allocations: 3.428 MB / 0.7594 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.2546, allocations: 119.5 kB / 0.7595 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.2559, allocations: 1.014 MB / 0.7605 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.256, allocations: 41.7 kB / 0.7605 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006645/0.2566, allocations: 1.103 MB / 0.7616 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.2569, allocations: 272.2 kB / 0.7618 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003923/0.2573, allocations: 279.2 kB / 0.7621 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.2575, allocations: 414.7 kB / 0.7625 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009043/0.2584, allocations: 0.6167 MB / 0.7631 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.2596, allocations: 1.189 MB / 0.7643 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.2618, allocations: 1.868 MB / 0.7661 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.2618, allocations: 4 kB / 0.7661 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002963/0.2647, allocations: 2.015 MB / 0.7681 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.2648, allocations: 16 kB / 0.7681 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.2648, allocations: 20.06 kB / 0.7681 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004181/0.2652, allocations: 159.3 kB / 0.7682 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.2664, allocations: 347.4 kB / 0.7686 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.532e-05/0.2664, allocations: 43.84 kB / 0.7686 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009474/0.2674, allocations: 139.6 kB / 0.7687 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.2675, allocations: 71.94 kB / 0.7688 GB, free: 2.863 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.001261/0.2687, allocations: 0.9784 MB / 0.7698 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.269, allocations: 106.7 kB / 0.7699 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.271, allocations: 1.23 MB / 0.7711 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.271, allocations: 11.94 kB / 0.7711 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.271, allocations: 4 kB / 0.7711 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.271, allocations: 3.984 kB / 0.7711 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2731/0.5442, allocations: 3.808 MB / 0.7748 GB, free: 88.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.5442, allocations: 2 kB / 0.7748 GB, free: 88.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/0.5448, allocations: 156.1 kB / 0.775 GB, free: 88.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003437/0.5452, allocations: 142.4 kB / 0.7751 GB, free: 88.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.5453, allocations: 18.84 kB / 0.7751 GB, free: 88.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.5453, allocations: 5.781 kB / 0.7751 GB, free: 88.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.5453, allocations: 7.469 kB / 0.7751 GB, free: 88.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.5473, allocations: 1.463 MB / 0.7766 GB, free: 88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/0.5477, allocations: 279.7 kB / 0.7768 GB, free: 87.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.5479, allocations: 13.53 kB / 0.7768 GB, free: 87.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006139/0.5485, allocations: 74.84 kB / 0.7769 GB, free: 87.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.5487, allocations: 59.38 kB / 0.777 GB, free: 87.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.5487, allocations: 24.02 kB / 0.777 GB, free: 87.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009155/0.5496, allocations: 0.6952 MB / 0.7777 GB, free: 87.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5496, allocations: 0.625 kB / 0.7777 GB, free: 87.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001335/0.551, allocations: 388 kB / 0.778 GB, free: 87.5 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.0001693/0.5512, allocations: 126.7 kB / 0.7782 GB, free: 87.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002604/0.5538, allocations: 2.016 MB / 0.7801 GB, free: 86.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5538, allocations: 2.656 kB / 0.7801 GB, free: 86.53 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006885/0.5545, allocations: 0.8611 MB / 0.781 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.00131/0.5558, allocations: 268.5 kB / 0.7812 GB, free: 85.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/0.5611, allocations: 4.813 MB / 0.7859 GB, free: 83.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.5626, allocations: 1.917 MB / 0.7878 GB, free: 82.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00112/0.5637, allocations: 451.5 kB / 0.7882 GB, free: 82.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.564, allocations: 85.12 kB / 0.7883 GB, free: 82.19 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.564, allocations: 3.828 kB / 0.7883 GB, free: 82.19 MB / 0.5606 GB Notification: Performance of Templates: time 0.02372/0.5877, allocations: 13.33 MB / 0.8013 GB, free: 78.54 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)