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.001586/0.001586, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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.001847/0.001847, allocations: 169 kB / 23.49 MB, free: 1.059 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 1.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.001826/0.001826, allocations: 235.2 kB / 260.5 MB, free: 12.88 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.7766/0.7766, allocations: 138.4 MB / 455.4 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.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 2.404e-06/2.404e-06, allocations: 0 / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.051e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007213/0.007243, allocations: 4.879 MB / 0.5598 GB, free: 11.99 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004609/0.01185, allocations: 2.541 MB / 0.5623 GB, free: 9.438 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004952/0.01235, allocations: 35.62 kB / 0.5623 GB, free: 9.402 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.01356, allocations: 413.8 kB / 0.5627 GB, free: 8.996 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.01481, allocations: 485.1 kB / 0.5632 GB, free: 8.52 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009637/0.01578, allocations: 406.9 kB / 0.5636 GB, free: 8.121 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.01707, allocations: 0.9486 MB / 0.5645 GB, free: 7.168 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006636/0.01773, allocations: 326.4 kB / 0.5648 GB, free: 6.848 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008692/0.0186, allocations: 498.6 kB / 0.5653 GB, free: 6.359 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005805/0.01918, allocations: 303.1 kB / 0.5656 GB, free: 6.062 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-05/0.01927, allocations: 43.94 kB / 0.5656 GB, free: 6.02 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007563/0.02003, allocations: 359 kB / 0.566 GB, free: 5.668 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.02026, allocations: 199.3 kB / 0.5661 GB, free: 5.473 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.02055, allocations: 211.5 kB / 0.5663 GB, free: 5.266 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.0217, allocations: 0.6772 MB / 0.567 GB, free: 4.586 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.02171, allocations: 4 kB / 0.567 GB, free: 4.582 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.02171, allocations: 0 / 0.567 GB, free: 4.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.02173, allocations: 0 / 0.567 GB, free: 4.582 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.001652/0.02338, allocations: 0.9933 MB / 0.568 GB, free: 3.551 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.02343, allocations: 8.75 kB / 0.568 GB, free: 3.543 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.02495, allocations: 284 kB / 0.5683 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009177/0.02587, allocations: 0.5145 MB / 0.5688 GB, free: 2.719 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.02591, allocations: 33.36 kB / 0.5688 GB, free: 2.688 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.813e-05/0.026, allocations: 52.36 kB / 0.5688 GB, free: 2.637 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.02701, allocations: 0.8573 MB / 0.5697 GB, free: 1.574 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.02704, allocations: 8.125 kB / 0.5697 GB, free: 1.566 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.0271, allocations: 20.38 kB / 0.5697 GB, free: 1.547 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.02722, allocations: 76.88 kB / 0.5698 GB, free: 1.469 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006545/0.02788, allocations: 297.2 kB / 0.5701 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003422/0.0313, allocations: 6.288 MB / 0.5762 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.03169, allocations: 282.9 kB / 0.5765 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.03182, allocations: 91.64 kB / 0.5766 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.03184, allocations: 4 kB / 0.5766 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.03187, allocations: 37.39 kB / 0.5766 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 3.236e-06/0.03187, allocations: 4 kB / 0.5766 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001363/0.03323, allocations: 0.7011 MB / 0.5773 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.03326, allocations: 51.69 kB / 0.5773 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.03361, allocations: 0.5023 MB / 0.5778 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.03363, allocations: 29.7 kB / 0.5779 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.03382, allocations: 419 kB / 0.5783 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.03389, allocations: 127 kB / 0.5784 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.03401, allocations: 119.9 kB / 0.5785 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.03416, allocations: 0.5352 MB / 0.579 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.03428, allocations: 85.25 kB / 0.5791 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.03455, allocations: 454.6 kB / 0.5795 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.03501, allocations: 0.5896 MB / 0.5801 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.03501, allocations: 4 kB / 0.5801 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007096/0.03572, allocations: 0.609 MB / 0.5807 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.03574, allocations: 8 kB / 0.5807 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.03575, allocations: 8 kB / 0.5807 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003271/0.03608, allocations: 130.3 kB / 0.5808 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.03636, allocations: 131.9 kB / 0.581 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002363/0.03872, allocations: 5.255 MB / 0.5861 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.03893, allocations: 31.97 kB / 0.5861 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.03896, allocations: 32 kB / 0.5862 GB, free: 15.59 MB / 0.5105 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.0001522/0.03911, allocations: 196.6 kB / 0.5863 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.03917, allocations: 71.62 kB / 0.5864 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.03966, allocations: 369.1 kB / 0.5868 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.03966, allocations: 7.984 kB / 0.5868 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.03967, allocations: 3.938 kB / 0.5868 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.03967, allocations: 7.984 kB / 0.5868 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009143/0.04059, allocations: 0.9039 MB / 0.5877 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.04059, allocations: 0 / 0.5877 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.04072, allocations: 55.89 kB / 0.5877 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002356/0.04096, allocations: 110.5 kB / 0.5878 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.04098, allocations: 12 kB / 0.5878 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.04305, allocations: 5.239 MB / 0.593 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.04305, allocations: 0 / 0.593 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.04357, allocations: 0.5663 MB / 0.5935 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.04368, allocations: 87.77 kB / 0.5936 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.04371, allocations: 12 kB / 0.5936 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.04384, allocations: 23.97 kB / 0.5936 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.04391, allocations: 35.83 kB / 0.5937 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.04392, allocations: 12 kB / 0.5937 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002015/0.04412, allocations: 314.8 kB / 0.594 GB, free: 7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.04412, allocations: 0 / 0.594 GB, free: 7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004543/0.04458, allocations: 144 kB / 0.5941 GB, free: 6.859 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.0001171/0.0447, allocations: 119.1 kB / 0.5942 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008598/0.04556, allocations: 0.8471 MB / 0.5951 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.04556, allocations: 0 / 0.5951 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.04596, allocations: 0.6532 MB / 0.5957 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.04657, allocations: 199.7 kB / 0.5959 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.04788, allocations: 0.9878 MB / 0.5968 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.04799, allocations: 158 kB / 0.597 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.0482, allocations: 93.03 kB / 0.5971 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.04827, allocations: 40.5 kB / 0.5971 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of SimCode: time 1.422e-06/0.04827, allocations: 4 kB / 0.5971 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of Templates: time 0.1746/0.2229, allocations: 7.863 MB / 0.6048 GB, free: 99.18 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: 4.043701631948352]