Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.0009158/0.0009158, allocations: 89.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.001049/0.001049, allocations: 173.3 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.9446/0.9446, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.001626/0.001626, allocations: 233.9 kB / 260.2 MB, free: 12.84 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.6813/0.6813, allocations: 138.4 MB / 455.2 MB, free: 1.484 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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.5551 GB, free: 500 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.551e-05, allocations: 2.312 kB / 0.5551 GB, free: 496 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005178/0.005193, allocations: 4.867 MB / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.007411, allocations: 1.723 MB / 0.5616 GB, free: 9.859 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.007657, allocations: 43.62 kB / 0.5616 GB, free: 9.816 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005517/0.008209, allocations: 210.4 kB / 0.5618 GB, free: 9.609 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005244/0.008733, allocations: 445.1 kB / 0.5622 GB, free: 9.172 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.009265, allocations: 415 kB / 0.5626 GB, free: 8.766 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.01046, allocations: 1.275 MB / 0.5639 GB, free: 7.488 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006817/0.01114, allocations: 0.5295 MB / 0.5644 GB, free: 6.953 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006416/0.01178, allocations: 0.6586 MB / 0.565 GB, free: 6.293 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004661/0.01225, allocations: 482.7 kB / 0.5655 GB, free: 5.82 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.01232, allocations: 71.94 kB / 0.5655 GB, free: 5.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.01254, allocations: 139.8 kB / 0.5657 GB, free: 5.613 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.01276, allocations: 339.1 kB / 0.566 GB, free: 5.281 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.01301, allocations: 319.2 kB / 0.5663 GB, free: 4.969 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007641/0.01377, allocations: 0.7474 MB / 0.567 GB, free: 4.219 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.01378, allocations: 0 / 0.567 GB, free: 4.219 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01378, allocations: 0 / 0.567 GB, free: 4.219 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.01379, allocations: 0 / 0.567 GB, free: 4.219 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001317/0.01511, allocations: 1.184 MB / 0.5682 GB, free: 2.996 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.01515, allocations: 16.73 kB / 0.5682 GB, free: 2.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009557/0.0161, allocations: 343.7 kB / 0.5685 GB, free: 2.645 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006763/0.01678, allocations: 0.5575 MB / 0.5691 GB, free: 2.055 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.01681, allocations: 53.67 kB / 0.5691 GB, free: 2.004 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/0.0169, allocations: 68.36 kB / 0.5692 GB, free: 1.938 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/0.01784, allocations: 1.08 MB / 0.5703 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.01787, allocations: 8.125 kB / 0.5703 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.01792, allocations: 36.34 kB / 0.5703 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.01803, allocations: 85.2 kB / 0.5704 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008033/0.01883, allocations: 359.2 kB / 0.5707 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.0221, allocations: 5.717 MB / 0.5763 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.02261, allocations: 294.5 kB / 0.5766 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.0228, allocations: 137.1 kB / 0.5767 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.02284, allocations: 8.5 kB / 0.5767 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.02287, allocations: 37.89 kB / 0.5768 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 1.583e-06/0.02287, allocations: 0 / 0.5768 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.002214/0.02508, allocations: 1.076 MB / 0.5778 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.02512, allocations: 67.83 kB / 0.5779 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.02551, allocations: 0.5336 MB / 0.5784 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.02554, allocations: 37.7 kB / 0.5784 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.02577, allocations: 474.6 kB / 0.5789 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.02587, allocations: 178.5 kB / 0.5791 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.026, allocations: 132.2 kB / 0.5792 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.02618, allocations: 0.5391 MB / 0.5797 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.02636, allocations: 117.9 kB / 0.5798 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.02669, allocations: 432.6 kB / 0.5802 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.02723, allocations: 0.578 MB / 0.5808 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.02723, allocations: 4 kB / 0.5808 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009126/0.02815, allocations: 0.7456 MB / 0.5815 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.02817, allocations: 10.66 kB / 0.5815 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.02818, allocations: 12.09 kB / 0.5816 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007933/0.02897, allocations: 318.3 kB / 0.5819 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.02923, allocations: 123.8 kB / 0.582 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/0.03312, allocations: 7.614 MB / 0.5894 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.03336, allocations: 35.97 kB / 0.5894 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.03339, allocations: 35.92 kB / 0.5895 GB, free: 11.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.03353, allocations: 196.4 kB / 0.5897 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.03361, allocations: 83.62 kB / 0.5897 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006787/0.03429, allocations: 0.5493 MB / 0.5903 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.03429, allocations: 8 kB / 0.5903 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.03429, allocations: 0 / 0.5903 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.0343, allocations: 7.984 kB / 0.5903 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.03551, allocations: 1.165 MB / 0.5914 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.03551, allocations: 4 kB / 0.5914 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.03588, allocations: 59.89 kB / 0.5915 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006354/0.03652, allocations: 294.9 kB / 0.5918 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.03654, allocations: 15.94 kB / 0.5918 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003608/0.04015, allocations: 7.614 MB / 0.5992 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.04015, allocations: 4 kB / 0.5992 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.04086, allocations: 0.7285 MB / 0.5999 GB, free: 456 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.04099, allocations: 107.5 kB / 0.6 GB, free: 348 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.04103, allocations: 8 kB / 0.6001 GB, free: 340 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.0412, allocations: 31.95 kB / 0.6001 GB, free: 308 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.04127, allocations: 51.89 kB / 0.6001 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.04129, allocations: 12 kB / 0.6001 GB, free: 244 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.1866/0.2279, allocations: 341.2 kB / 0.6005 GB, free: 91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2279, allocations: 0 / 0.6005 GB, free: 91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007466/0.2286, allocations: 225.3 kB / 0.6007 GB, free: 91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001112/0.2287, allocations: 112.8 kB / 0.6008 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.2298, allocations: 1.188 MB / 0.602 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2298, allocations: 0 / 0.602 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.2303, allocations: 0.9704 MB / 0.6029 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.2309, allocations: 195.9 kB / 0.6031 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.2323, allocations: 1.266 MB / 0.6043 GB, free: 88.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.2324, allocations: 215 kB / 0.6045 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002002/0.2326, allocations: 96.08 kB / 0.6046 GB, free: 88.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.2327, allocations: 43.94 kB / 0.6047 GB, free: 88.81 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/0.2327, allocations: 2.406 kB / 0.6047 GB, free: 88.81 MB / 0.5105 GB Notification: Performance of Templates: time 0.01401/0.2467, allocations: 11.47 MB / 0.6159 GB, free: 87.96 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.15185376489535]