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.0007693/0.0007693, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003874/0.003874, allocations: 162.5 kB / 24.7 MB, free: 9.43 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.8457/0.8457, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.08643/0.08643, allocations: 19.74 MB / 281.2 MB, free: 9.453 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.172e-06/1.172e-06, allocations: 0 / 417.8 MB, free: 7.391 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.191e-05, allocations: 3.656 kB / 417.8 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.001949/0.00197, allocations: 2.189 MB / 420 MB, free: 5.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007018/0.002672, allocations: 0.619 MB / 420.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.002773, allocations: 2.844 kB / 420.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.002881, allocations: 29.62 kB / 420.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.003063, allocations: 92.75 kB / 420.7 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.003204, allocations: 66.95 kB / 420.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.003428, allocations: 293 kB / 421.1 MB, free: 5.211 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.003556, allocations: 45.42 kB / 421.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.003763, allocations: 172.7 kB / 421.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.003884, allocations: 85.5 kB / 421.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.003911, allocations: 19.19 kB / 421.4 MB, free: 5.094 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.77e-05/0.003959, allocations: 24.94 kB / 421.4 MB, free: 5.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.00399, allocations: 52.05 kB / 421.5 MB, free: 5.055 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.004055, allocations: 85.27 kB / 421.6 MB, free: 5.016 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.004289, allocations: 231.5 kB / 421.8 MB, free: 4.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004291, allocations: 0 / 421.8 MB, free: 4.918 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004292, allocations: 0 / 421.8 MB, free: 4.918 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.004297, allocations: 0 / 421.8 MB, free: 4.918 MB / 330.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.0005672/0.004864, allocations: 0.4951 MB / 422.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.004895, allocations: 9.375 kB / 422.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.697e-05/0.004972, allocations: 36.77 kB / 422.3 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.005199, allocations: 216.8 kB / 422.5 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.005251, allocations: 64.58 kB / 422.6 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.005279, allocations: 20.38 kB / 422.6 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.005499, allocations: 185.8 kB / 422.8 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.005512, allocations: 1.312 kB / 422.8 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.005527, allocations: 13.7 kB / 422.8 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.005532, allocations: 4.188 kB / 422.8 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.005713, allocations: 119.9 kB / 422.9 MB, free: 4.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.006268, allocations: 0.5349 MB / 423.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.006517, allocations: 141.8 kB / 423.6 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/0.006612, allocations: 72.69 kB / 423.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.006626, allocations: 2.688 kB / 423.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.154e-05/0.006637, allocations: 41.48 kB / 423.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.062e-06/0.006638, allocations: 0 / 423.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006878/0.007326, allocations: 0.5127 MB / 424.2 MB, free: 3.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.007346, allocations: 53.34 kB / 424.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.007496, allocations: 236.4 kB / 424.5 MB, free: 3.027 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.007506, allocations: 31.48 kB / 424.5 MB, free: 2.992 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.007557, allocations: 144.3 kB / 424.7 MB, free: 2.867 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.007585, allocations: 72.97 kB / 424.8 MB, free: 2.809 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.007629, allocations: 40.27 kB / 424.8 MB, free: 2.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.422e-05/0.007663, allocations: 335.2 kB / 425.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.007747, allocations: 59.5 kB / 425.2 MB, free: 2.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-05/0.00784, allocations: 78.83 kB / 425.3 MB, free: 2.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.00801, allocations: 136.7 kB / 425.4 MB, free: 2.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.00801, allocations: 1.156 kB / 425.4 MB, free: 2.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002215/0.008232, allocations: 214.5 kB / 425.6 MB, free: 2.238 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.008244, allocations: 9.781 kB / 425.6 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.008249, allocations: 0.75 kB / 425.6 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.008261, allocations: 2.406 kB / 425.6 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.008481, allocations: 72.7 kB / 425.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.008486, allocations: 6.141 kB / 425.7 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.008553, allocations: 10.44 kB / 425.7 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.008562, allocations: 5.844 kB / 425.7 MB, free: 2.227 MB / 330.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 6.135e-05/0.008623, allocations: 139.2 kB / 425.8 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.008647, allocations: 30.23 kB / 425.9 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.008681, allocations: 26.67 kB / 425.9 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008683, allocations: 2.281 kB / 425.9 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.008687, allocations: 0 / 425.9 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.00869, allocations: 2.891 kB / 425.9 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004172/0.009107, allocations: 483.6 kB / 426.4 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.009109, allocations: 0.6094 kB / 426.4 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.009298, allocations: 62.91 kB / 426.4 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.0093, allocations: 0 / 426.4 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.00931, allocations: 6 kB / 426.4 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.009312, allocations: 1.531 kB / 426.5 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009313, allocations: 0 / 426.5 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.009621, allocations: 357.7 kB / 426.8 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.009669, allocations: 33.11 kB / 426.8 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.009688, allocations: 6.844 kB / 426.8 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.009762, allocations: 14.53 kB / 426.9 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.009805, allocations: 15.64 kB / 426.9 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.009811, allocations: 3.906 kB / 426.9 MB, free: 1.457 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.009914, allocations: 170.4 kB / 427 MB, free: 1.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009914, allocations: 0 / 427 MB, free: 1.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001848/0.0101, allocations: 46.66 kB / 427.1 MB, free: 1.344 MB / 330.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 6.038e-05/0.01016, allocations: 99.55 kB / 427.2 MB, free: 1.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.01037, allocations: 136.8 kB / 427.3 MB, free: 1.211 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01037, allocations: 0 / 427.3 MB, free: 1.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.01048, allocations: 75.94 kB / 427.4 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.01074, allocations: 44.8 kB / 427.4 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006333/0.01137, allocations: 0.5756 MB / 428 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.088e-05/0.01145, allocations: 140.6 kB / 428.1 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.0115, allocations: 21.53 kB / 428.2 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0115, allocations: 0 / 428.2 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of Templates: time 0.003398/0.0149, allocations: 2.73 MB / 430.9 MB, free: 392 kB / 330.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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.261403722688556] Failed to read output from testmodel.py, exit status != 0: 0.01941249705851078 0.027455766000000003 0.021560323000000003 Calling exit ...