Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001269/0.001269, allocations: 93.06 kB / 19.65 MB, free: 272 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.001065/0.001065, allocations: 169 kB / 23.02 MB, free: 1.543 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.8846/0.8846, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.001709/0.001709, allocations: 245.2 kB / 260.2 MB, free: 12.79 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.7167/0.7167, allocations: 138.4 MB / 455.2 MB, free: 1.492 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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.5551 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.297e-05, allocations: 2.312 kB / 0.5551 GB, free: 500 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003538/0.003561, allocations: 3.831 MB / 0.5589 GB, free: 12.63 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.005535, allocations: 1.415 MB / 0.5602 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.0058, allocations: 39.56 kB / 0.5603 GB, free: 11.17 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005367/0.006337, allocations: 174.7 kB / 0.5604 GB, free: 11 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005541/0.006891, allocations: 353.7 kB / 0.5608 GB, free: 10.65 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.007407, allocations: 347.3 kB / 0.5611 GB, free: 10.31 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.008485, allocations: 0.9641 MB / 0.5621 GB, free: 9.344 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004289/0.008914, allocations: 314.4 kB / 0.5624 GB, free: 9.035 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/0.00947, allocations: 494.7 kB / 0.5628 GB, free: 8.551 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.009869, allocations: 331 kB / 0.5631 GB, free: 8.227 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.00992, allocations: 40 kB / 0.5632 GB, free: 8.188 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.01011, allocations: 111.7 kB / 0.5633 GB, free: 8.078 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.01024, allocations: 195.3 kB / 0.5635 GB, free: 7.887 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.01039, allocations: 207.4 kB / 0.5637 GB, free: 7.684 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.0109, allocations: 0.5098 MB / 0.5642 GB, free: 7.172 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.0109, allocations: 0 / 0.5642 GB, free: 7.172 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0109, allocations: 0 / 0.5642 GB, free: 7.172 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.01092, allocations: 0 / 0.5642 GB, free: 7.172 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0009062/0.01182, allocations: 0.9586 MB / 0.5651 GB, free: 6.176 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.01186, allocations: 8.75 kB / 0.5651 GB, free: 6.168 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000613/0.01247, allocations: 248 kB / 0.5653 GB, free: 5.926 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.01299, allocations: 0.5057 MB / 0.5658 GB, free: 5.387 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.01302, allocations: 37.36 kB / 0.5659 GB, free: 5.352 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.01307, allocations: 48.31 kB / 0.5659 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.0137, allocations: 0.8612 MB / 0.5668 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.01372, allocations: 8.125 kB / 0.5668 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.01375, allocations: 20.38 kB / 0.5668 GB, free: 4.211 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.441e-05/0.01381, allocations: 68.89 kB / 0.5669 GB, free: 4.145 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.01417, allocations: 301.2 kB / 0.5671 GB, free: 3.848 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.01707, allocations: 6.292 MB / 0.5733 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.01738, allocations: 282.9 kB / 0.5736 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.01749, allocations: 87.66 kB / 0.5736 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.01751, allocations: 8.516 kB / 0.5737 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.01754, allocations: 41.33 kB / 0.5737 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/0.01754, allocations: 0 / 0.5737 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001152/0.01869, allocations: 0.7045 MB / 0.5744 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.01872, allocations: 59.62 kB / 0.5744 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.01904, allocations: 0.5023 MB / 0.5749 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.01905, allocations: 29.7 kB / 0.575 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.01922, allocations: 407 kB / 0.5753 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/0.01929, allocations: 134.9 kB / 0.5755 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/0.01938, allocations: 115.9 kB / 0.5756 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003716/0.01976, allocations: 0.5352 MB / 0.5761 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.01987, allocations: 93.25 kB / 0.5762 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.02012, allocations: 454.6 kB / 0.5766 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.02053, allocations: 0.5779 MB / 0.5772 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.02053, allocations: 0 / 0.5772 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006495/0.02118, allocations: 0.6207 MB / 0.5778 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.0212, allocations: 8 kB / 0.5778 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.02121, allocations: 11.98 kB / 0.5778 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003018/0.02151, allocations: 122.3 kB / 0.5779 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.02177, allocations: 123.8 kB / 0.5781 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.02404, allocations: 5.255 MB / 0.5832 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.02425, allocations: 31.97 kB / 0.5832 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.02427, allocations: 28 kB / 0.5832 GB, free: 2.266 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.02441, allocations: 204.4 kB / 0.5834 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.02447, allocations: 71.62 kB / 0.5835 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.02491, allocations: 373.1 kB / 0.5839 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.02491, allocations: 0 / 0.5839 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.02492, allocations: 7.938 kB / 0.5839 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02492, allocations: 3.984 kB / 0.5839 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008223/0.02574, allocations: 0.8916 MB / 0.5847 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02575, allocations: 4 kB / 0.5847 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.02587, allocations: 55.88 kB / 0.5848 GB, free: 0.5352 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002098/0.02608, allocations: 122.3 kB / 0.5849 GB, free: 404 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.0261, allocations: 12.09 kB / 0.5849 GB, free: 392 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.02844, allocations: 5.235 MB / 0.59 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.02844, allocations: 3.938 kB / 0.59 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.0291, allocations: 0.5624 MB / 0.5906 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.02925, allocations: 91.59 kB / 0.5907 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.02929, allocations: 16.17 kB / 0.5907 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.02947, allocations: 15.98 kB / 0.5907 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.02954, allocations: 35.88 kB / 0.5907 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.02956, allocations: 8 kB / 0.5908 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002427/0.0298, allocations: 322.8 kB / 0.5911 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.0298, allocations: 0 / 0.5911 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005783/0.03038, allocations: 140 kB / 0.5912 GB, free: 9.527 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001248/0.03051, allocations: 115.1 kB / 0.5913 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009004/0.03141, allocations: 0.8393 MB / 0.5921 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.03141, allocations: 0 / 0.5921 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.03188, allocations: 0.6572 MB / 0.5928 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.03264, allocations: 200.8 kB / 0.593 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.03412, allocations: 0.983 MB / 0.5939 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.03424, allocations: 158 kB / 0.5941 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002417/0.03448, allocations: 97.06 kB / 0.5942 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.186e-05/0.03456, allocations: 40.5 kB / 0.5942 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of SimCode: time 1.352e-06/0.03456, allocations: 0 / 0.5942 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of Templates: time 0.1782/0.2128, allocations: 8.274 MB / 0.6023 GB, free: 91.58 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.80252530798316]