Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001261/0.001261, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001397/0.001397, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9921/0.9921, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.002665/0.002665, allocations: 231.7 kB / 260.5 MB, free: 12.69 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.7432/0.7432, allocations: 138.4 MB / 455.5 MB, free: 30.05 MB / 410.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.269e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008234/0.008256, allocations: 10.33 MB / 0.5657 GB, free: 5.512 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007816/0.01607, allocations: 6.827 MB / 0.5723 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009543/0.01703, allocations: 75.31 kB / 0.5724 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008803/0.01791, allocations: 389 kB / 0.5728 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.02123, allocations: 1.717 MB / 0.5745 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.02224, allocations: 0.6511 MB / 0.5751 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002708/0.02495, allocations: 2.858 MB / 0.5779 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.02637, allocations: 1.196 MB / 0.5791 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002682/0.02905, allocations: 2.098 MB / 0.5811 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.03023, allocations: 0.9933 MB / 0.5821 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.03042, allocations: 156 kB / 0.5822 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005302/0.03095, allocations: 315.6 kB / 0.5825 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.03133, allocations: 0.6464 MB / 0.5832 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005152/0.03184, allocations: 0.6391 MB / 0.5838 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.03317, allocations: 1.545 MB / 0.5853 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.03317, allocations: 0 / 0.5853 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.174e-06/0.03317, allocations: 0 / 0.5853 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.744e-05/0.0332, allocations: 0 / 0.5853 GB, free: 1.336 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002098/0.0353, allocations: 2.178 MB / 0.5874 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.03534, allocations: 8.75 kB / 0.5874 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/0.03908, allocations: 0.9241 MB / 0.5883 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.04033, allocations: 1.146 MB / 0.5894 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.04038, allocations: 86.69 kB / 0.5895 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.04054, allocations: 120.3 kB / 0.5896 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.04232, allocations: 1.705 MB / 0.5913 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.04235, allocations: 15.83 kB / 0.5913 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.04245, allocations: 47.98 kB / 0.5914 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003086/0.04276, allocations: 150.2 kB / 0.5915 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008454/0.04361, allocations: 0.6829 MB / 0.5922 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006419/0.05002, allocations: 7.825 MB / 0.5998 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.05103, allocations: 0.6167 MB / 0.6004 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.05138, allocations: 295.1 kB / 0.6007 GB, free: 1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.05143, allocations: 17 kB / 0.6007 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.05146, allocations: 50.39 kB / 0.6008 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=89): time 2.364e-06/0.05146, allocations: 0 / 0.6008 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=153): time 0.009937/0.0614, allocations: 5.119 MB / 0.6058 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.06143, allocations: 72.7 kB / 0.6058 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/0.06218, allocations: 0.9921 MB / 0.6068 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.384e-05/0.06227, allocations: 53.7 kB / 0.6069 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.06265, allocations: 0.8135 MB / 0.6076 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.06298, allocations: 0.5539 MB / 0.6082 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003504/0.06333, allocations: 289 kB / 0.6085 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003588/0.06369, allocations: 480.8 kB / 0.6089 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.06414, allocations: 371.7 kB / 0.6093 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.06474, allocations: 0.753 MB / 0.61 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.06585, allocations: 1.18 MB / 0.6112 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.06585, allocations: 0 / 0.6112 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004222/0.07007, allocations: 2.533 MB / 0.6136 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.0701, allocations: 8 kB / 0.6136 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.07011, allocations: 15.94 kB / 0.6137 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004643/0.07476, allocations: 1.737 MB / 0.6154 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000858/0.07561, allocations: 183.7 kB / 0.6155 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/0.08894, allocations: 18.77 MB / 0.6339 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.08999, allocations: 67.92 kB / 0.6339 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-05/0.09008, allocations: 59.95 kB / 0.634 GB, free: 13.57 MB / 0.5573 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004456/0.09053, allocations: 232.4 kB / 0.6342 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.09081, allocations: 215 kB / 0.6344 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004285/0.09509, allocations: 2.495 MB / 0.6368 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.0951, allocations: 20 kB / 0.6369 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/0.09512, allocations: 16 kB / 0.6369 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.537e-06/0.09513, allocations: 7.969 kB / 0.6369 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005276/0.1004, allocations: 3.649 MB / 0.6405 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.1004, allocations: 0 / 0.6405 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.1008, allocations: 124.2 kB / 0.6406 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004171/0.105, allocations: 1.669 MB / 0.6422 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-05/0.1051, allocations: 39.97 kB / 0.6422 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2077/0.3127, allocations: 18.66 MB / 0.6605 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3127, allocations: 4.203 kB / 0.6605 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/0.3166, allocations: 2.423 MB / 0.6628 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.3171, allocations: 360.2 kB / 0.6632 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.3173, allocations: 28.94 kB / 0.6632 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005965/0.3179, allocations: 58.09 kB / 0.6633 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004542/0.3183, allocations: 157.7 kB / 0.6634 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.501e-05/0.3184, allocations: 48.47 kB / 0.6635 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004547/0.3189, allocations: 0.5687 MB / 0.664 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3189, allocations: 0 / 0.664 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001565/0.3204, allocations: 0.6703 MB / 0.6647 GB, free: 106.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002449/0.3207, allocations: 144.7 kB / 0.6648 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003233/0.3239, allocations: 3.236 MB / 0.668 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3239, allocations: 0 / 0.668 GB, free: 105.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002312/0.3262, allocations: 2.654 MB / 0.6706 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.3276, allocations: 0.5216 MB / 0.6711 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.3315, allocations: 3.132 MB / 0.6741 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.332, allocations: 0.5077 MB / 0.6746 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007196/0.3327, allocations: 291.6 kB / 0.6749 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007037/0.3334, allocations: 480.7 kB / 0.6754 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/0.3334, allocations: 0 / 0.6754 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.04812/0.3815, allocations: 51.14 MB / 0.7253 GB, free: 72.82 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.548704938963056]