Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001865/0.001865, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001899/0.001899, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 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.52/1.52, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1467/0.1467, allocations: 19.73 MB / 280.8 MB, free: 9.316 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 357.2 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.671e-05, allocations: 10.25 kB / 357.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.005708/0.005735, allocations: 2.294 MB / 359.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.007505, allocations: 0.6272 MB / 360.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.007651, allocations: 0 / 360.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.007839, allocations: 35.59 kB / 360.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.008219, allocations: 95.14 kB / 360.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.008462, allocations: 55.91 kB / 360.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.009039, allocations: 298.6 kB / 360.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.009226, allocations: 49.59 kB / 360.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.009663, allocations: 175.5 kB / 360.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.009932, allocations: 87.64 kB / 360.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.229e-05/0.009994, allocations: 20 kB / 360.9 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.01009, allocations: 24 kB / 360.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/0.01018, allocations: 47.77 kB / 361 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.01035, allocations: 83.75 kB / 361.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.01084, allocations: 227.2 kB / 361.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01084, allocations: 3.938 kB / 361.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01084, allocations: 4 kB / 361.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.01085, allocations: 3.938 kB / 361.3 MB, free: 2.844 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001488/0.01234, allocations: 0.6004 MB / 361.9 MB, free: 2.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.01238, allocations: 8.031 kB / 361.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.01257, allocations: 44.75 kB / 362 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.01308, allocations: 223.6 kB / 362.2 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.01319, allocations: 67.97 kB / 362.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.01325, allocations: 16.38 kB / 362.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.01382, allocations: 189 kB / 362.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.01384, allocations: 192 / 362.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.01387, allocations: 7.938 kB / 362.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.01387, allocations: 4 kB / 362.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.01437, allocations: 119.9 kB / 362.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.016, allocations: 0.6698 MB / 363.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005633/0.01656, allocations: 143 kB / 363.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.01684, allocations: 75.66 kB / 363.5 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.01686, allocations: 4 kB / 363.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.01691, allocations: 41.33 kB / 363.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.01691, allocations: 0 / 363.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.001771/0.01868, allocations: 0.508 MB / 364 MB, free: 15.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.01875, allocations: 63.33 kB / 364.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/0.01928, allocations: 316.3 kB / 364.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.01932, allocations: 29.7 kB / 364.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.01955, allocations: 207.3 kB / 364.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.01966, allocations: 67.44 kB / 364.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.01981, allocations: 59.31 kB / 364.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004174/0.02022, allocations: 0.5118 MB / 365.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.02044, allocations: 51.98 kB / 365.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.02073, allocations: 91.27 kB / 365.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.02121, allocations: 135.3 kB / 365.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.02121, allocations: 0 / 365.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006879/0.0219, allocations: 216.3 kB / 365.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.02192, allocations: 6.344 kB / 365.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.02192, allocations: 4.031 kB / 365.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.02194, allocations: 4 kB / 365.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/0.02266, allocations: 79.89 kB / 365.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.02266, allocations: 0 / 365.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.02287, allocations: 11.98 kB / 365.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.0229, allocations: 4 kB / 365.8 MB, free: 14.05 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.02314, allocations: 184.5 kB / 366 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.02324, allocations: 31.8 kB / 366 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.999e-05/0.02334, allocations: 30.11 kB / 366.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.02334, allocations: 4 kB / 366.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.02335, allocations: 0 / 366.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.02335, allocations: 0 / 366.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.02468, allocations: 0.5285 MB / 366.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.02468, allocations: 0 / 366.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.02532, allocations: 63.91 kB / 366.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.02532, allocations: 3.984 kB / 366.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.02535, allocations: 8 kB / 366.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02535, allocations: 0 / 366.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02535, allocations: 0 / 366.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009711/0.02632, allocations: 407.5 kB / 367.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.02645, allocations: 31.83 kB / 367.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.02651, allocations: 8 kB / 367.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.02675, allocations: 8 kB / 367.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.02683, allocations: 15.91 kB / 367.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.02685, allocations: 12 kB / 367.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003427/0.02719, allocations: 217.1 kB / 367.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02719, allocations: 0 / 367.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005235/0.02771, allocations: 48 kB / 367.4 MB, free: 12.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.02786, allocations: 95.25 kB / 367.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005227/0.02839, allocations: 150.6 kB / 367.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02839, allocations: 0 / 367.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.02856, allocations: 87.53 kB / 367.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.02895, allocations: 60.47 kB / 367.8 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.03008, allocations: 0.5724 MB / 368.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.03025, allocations: 142.1 kB / 368.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.651e-05/0.03033, allocations: 13.95 kB / 368.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.641e-05/0.0304, allocations: 20.5 kB / 368.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0304, allocations: 0 / 368.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of Templates: time 0.006221/0.03662, allocations: 2.068 MB / 370.6 MB, free: 9.148 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.530109997955151]