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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009773/0.0009773, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9666/0.9666, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001635/0.001635, allocations: 238.1 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6884/0.6884, allocations: 138.4 MB / 455.2 MB, free: 1.562 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.627e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.007746/0.007763, allocations: 9.26 MB / 0.5642 GB, free: 7.227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003911/0.01167, allocations: 2.83 MB / 0.5669 GB, free: 4.387 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005703/0.01224, allocations: 87.38 kB / 0.567 GB, free: 4.301 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.01292, allocations: 329.7 kB / 0.5673 GB, free: 3.977 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008776/0.0138, allocations: 0.6642 MB / 0.568 GB, free: 3.309 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008474/0.01465, allocations: 0.6315 MB / 0.5686 GB, free: 2.676 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00267/0.01732, allocations: 3.606 MB / 0.5721 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.01956, allocations: 2.454 MB / 0.5745 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.02172, allocations: 2.261 MB / 0.5767 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.02351, allocations: 1.797 MB / 0.5785 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002989/0.02381, allocations: 340 kB / 0.5788 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005436/0.02435, allocations: 471.7 kB / 0.5793 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008102/0.02516, allocations: 1.434 MB / 0.5807 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007873/0.02595, allocations: 1.029 MB / 0.5817 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.02794, allocations: 2.68 MB / 0.5843 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.02794, allocations: 0 / 0.5843 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.42e-07/0.02794, allocations: 0 / 0.5843 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.02796, allocations: 0 / 0.5843 GB, free: 2.516 MB / 0.4948 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.002519/0.03048, allocations: 2.801 MB / 0.587 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.03051, allocations: 12.75 kB / 0.587 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.03265, allocations: 1.204 MB / 0.5882 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.03398, allocations: 1.423 MB / 0.5896 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/0.03407, allocations: 177.1 kB / 0.5898 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.0343, allocations: 236.3 kB / 0.59 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/0.03725, allocations: 2.319 MB / 0.5922 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.03729, allocations: 12.06 kB / 0.5923 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.03745, allocations: 108.3 kB / 0.5924 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.03757, allocations: 168.5 kB / 0.5925 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.03923, allocations: 0.9925 MB / 0.5935 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2045/0.2437, allocations: 10.75 MB / 0.604 GB, free: 82.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.2451, allocations: 1.048 MB / 0.605 GB, free: 82.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.2454, allocations: 228 kB / 0.6052 GB, free: 82.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-05/0.2455, allocations: 25.45 kB / 0.6053 GB, free: 82.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.2455, allocations: 45.67 kB / 0.6053 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=72): time 1.994e-06/0.2455, allocations: 0 / 0.6053 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76): time 0.002378/0.2479, allocations: 2.008 MB / 0.6073 GB, free: 81.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.2479, allocations: 114 kB / 0.6074 GB, free: 81.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/0.2486, allocations: 0.9347 MB / 0.6083 GB, free: 80.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.2486, allocations: 38.64 kB / 0.6083 GB, free: 80.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.249, allocations: 1.208 MB / 0.6095 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.2491, allocations: 288.8 kB / 0.6098 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.2494, allocations: 295.3 kB / 0.6101 GB, free: 80.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2495, allocations: 0.6228 MB / 0.6107 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.2498, allocations: 188.8 kB / 0.6108 GB, free: 79.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.2503, allocations: 1.027 MB / 0.6118 GB, free: 78.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/0.2511, allocations: 1.307 MB / 0.6131 GB, free: 77.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.2511, allocations: 6.531 kB / 0.6131 GB, free: 77.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001303/0.2524, allocations: 1.207 MB / 0.6143 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.2525, allocations: 14.33 kB / 0.6143 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.2525, allocations: 17.72 kB / 0.6143 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.2527, allocations: 111 kB / 0.6144 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.2533, allocations: 341.4 kB / 0.6148 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/0.2533, allocations: 40.81 kB / 0.6148 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.2537, allocations: 133.3 kB / 0.6149 GB, free: 77.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.2538, allocations: 70.44 kB / 0.615 GB, free: 77.44 MB / 0.5105 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.0003663/0.2542, allocations: 251 kB / 0.6152 GB, free: 77.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.2543, allocations: 138.4 kB / 0.6154 GB, free: 77.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000788/0.2551, allocations: 0.6334 MB / 0.616 GB, free: 77.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.2551, allocations: 9.062 kB / 0.616 GB, free: 77.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2551, allocations: 1.156 kB / 0.616 GB, free: 77.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2551, allocations: 4.609 kB / 0.616 GB, free: 77.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.2577, allocations: 2.4 MB / 0.6184 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2577, allocations: 2.219 kB / 0.6184 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.258, allocations: 153.6 kB / 0.6185 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.2581, allocations: 90.52 kB / 0.6186 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.2582, allocations: 13 kB / 0.6186 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.2582, allocations: 12.91 kB / 0.6186 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2582, allocations: 6.281 kB / 0.6186 GB, free: 76.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/0.2589, allocations: 1.066 MB / 0.6197 GB, free: 75.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.2592, allocations: 189.1 kB / 0.6198 GB, free: 75.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.568e-05/0.2592, allocations: 18.91 kB / 0.6199 GB, free: 75.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.2595, allocations: 59.28 kB / 0.6199 GB, free: 75.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.2596, allocations: 66.02 kB / 0.62 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.2596, allocations: 27.72 kB / 0.62 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003989/0.26, allocations: 0.5117 MB / 0.6205 GB, free: 75.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/0.26, allocations: 1.375 kB / 0.6205 GB, free: 75.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008076/0.2608, allocations: 387.9 kB / 0.6209 GB, free: 75.67 MB / 0.5105 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.0001503/0.261, allocations: 130 kB / 0.621 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009404/0.2619, allocations: 0.7432 MB / 0.6217 GB, free: 75.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2619, allocations: 0.9062 kB / 0.6217 GB, free: 75.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.2623, allocations: 314.9 kB / 0.622 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007997/0.2631, allocations: 275.3 kB / 0.6223 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.2667, allocations: 3.305 MB / 0.6255 GB, free: 74.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.2672, allocations: 0.5758 MB / 0.6261 GB, free: 73.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006137/0.2678, allocations: 372 kB / 0.6264 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.268, allocations: 81.81 kB / 0.6265 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/0.268, allocations: 1.562 kB / 0.6265 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.01715/0.2851, allocations: 13.43 MB / 0.6396 GB, free: 71.56 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.921955510042608]