Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.0007579/0.0007579, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003212/0.003212, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.8428/0.8428, allocations: 177.1 MB / 205 MB, free: 5.723 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.08232/0.08232, allocations: 19.74 MB / 281.2 MB, free: 9.449 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 417.8 MB, free: 7.391 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/1.987e-05, allocations: 6.922 kB / 417.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.001892/0.001912, allocations: 2.176 MB / 420 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006987/0.002611, allocations: 0.6238 MB / 420.6 MB, free: 5.488 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.188e-05/0.002702, allocations: 7.125 kB / 420.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.002807, allocations: 33.58 kB / 420.6 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.002981, allocations: 82.91 kB / 420.7 MB, free: 5.402 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.003113, allocations: 54.58 kB / 420.8 MB, free: 5.375 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.003328, allocations: 295.1 kB / 421.1 MB, free: 5.219 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.003449, allocations: 47.67 kB / 421.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.003644, allocations: 165 kB / 421.3 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.003754, allocations: 83.19 kB / 421.3 MB, free: 5.102 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.003779, allocations: 16.88 kB / 421.4 MB, free: 5.102 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.678e-05/0.003826, allocations: 21.56 kB / 421.4 MB, free: 5.102 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.003852, allocations: 53.2 kB / 421.4 MB, free: 5.062 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.003906, allocations: 76.92 kB / 421.5 MB, free: 5.031 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.004131, allocations: 222.5 kB / 421.7 MB, free: 4.938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004133, allocations: 0 / 421.7 MB, free: 4.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004134, allocations: 4 kB / 421.7 MB, free: 4.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.004138, allocations: 0 / 421.7 MB, free: 4.934 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005474/0.004685, allocations: 496.7 kB / 422.2 MB, free: 4.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.004715, allocations: 9.453 kB / 422.2 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.004785, allocations: 35.56 kB / 422.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.004995, allocations: 212.2 kB / 422.5 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.005009, allocations: 15.09 kB / 422.5 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.005038, allocations: 16.8 kB / 422.5 MB, free: 4.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.005246, allocations: 173 kB / 422.7 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.005259, allocations: 4.125 kB / 422.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.005277, allocations: 14.94 kB / 422.7 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.005282, allocations: 7.25 kB / 422.7 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.005452, allocations: 119.5 kB / 422.8 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.005984, allocations: 0.5045 MB / 423.3 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.006146, allocations: 128.9 kB / 423.4 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.475e-05/0.006231, allocations: 73.39 kB / 423.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.006253, allocations: 2.531 kB / 423.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.006267, allocations: 35.56 kB / 423.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.193e-06/0.006268, allocations: 4 kB / 423.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006548/0.006923, allocations: 0.489 MB / 424 MB, free: 3.348 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.006943, allocations: 54.19 kB / 424.1 MB, free: 3.285 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.007093, allocations: 233.8 kB / 424.3 MB, free: 3.145 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.007101, allocations: 26.89 kB / 424.4 MB, free: 3.113 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.007151, allocations: 143.7 kB / 424.5 MB, free: 2.988 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.007178, allocations: 76.62 kB / 424.6 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.007219, allocations: 43.14 kB / 424.6 MB, free: 2.895 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.378e-05/0.007253, allocations: 332.2 kB / 424.9 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/0.007326, allocations: 52.09 kB / 425 MB, free: 2.559 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.007406, allocations: 76.94 kB / 425.1 MB, free: 2.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.007553, allocations: 126.1 kB / 425.2 MB, free: 2.465 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.007554, allocations: 0 / 425.2 MB, free: 2.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002029/0.007757, allocations: 204.4 kB / 425.4 MB, free: 2.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.007768, allocations: 5.812 kB / 425.4 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.007773, allocations: 1.812 kB / 425.4 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.007785, allocations: 1.094 kB / 425.4 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.008002, allocations: 69.02 kB / 425.5 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004799/0.008482, allocations: 1.31 MB / 426.8 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.00855, allocations: 6.375 kB / 426.8 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.008559, allocations: 8.469 kB / 426.8 MB, free: 1.027 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.008621, allocations: 135.6 kB / 426.9 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.008646, allocations: 23.5 kB / 426.9 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.00884, allocations: 190.4 kB / 427.1 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008842, allocations: 6.281 kB / 427.1 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/0.008843, allocations: 0 / 427.1 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.008846, allocations: 2.344 kB / 427.1 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.009231, allocations: 456.2 kB / 427.6 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.009233, allocations: 0.7969 kB / 427.6 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.009355, allocations: 43.67 kB / 427.6 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.009357, allocations: 5.062 kB / 427.6 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.009365, allocations: 1.125 kB / 427.6 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.009367, allocations: 1.766 kB / 427.6 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009368, allocations: 5.062 kB / 427.6 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.009634, allocations: 350.2 kB / 428 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.009679, allocations: 37.44 kB / 428 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.009695, allocations: 3.328 kB / 428 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.009763, allocations: 8.406 kB / 428 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.009803, allocations: 19.81 kB / 428 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.00981, allocations: 7.469 kB / 428.1 MB, free: 208 kB / 330.7 MB Notification: Performance of sorting global known variables: time 9.314e-05/0.009903, allocations: 167.6 kB / 428.2 MB, free: 100 kB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009903, allocations: 4 kB / 428.2 MB, free: 96 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.01008, allocations: 43.78 kB / 428.3 MB, free: 92 kB / 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: 0 () * 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 7.952e-05/0.01016, allocations: 95.75 kB / 428.4 MB, free: 16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.01046, allocations: 149.3 kB / 428.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01046, allocations: 0 / 428.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.933e-05/0.01056, allocations: 74.62 kB / 428.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.01082, allocations: 40.22 kB / 428.6 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000735/0.01155, allocations: 0.5836 MB / 429.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.998e-05/0.01165, allocations: 139.5 kB / 429.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.0117, allocations: 20.56 kB / 429.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0117, allocations: 1.125 kB / 429.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of Templates: time 0.003835/0.01554, allocations: 3.079 MB / 432.4 MB, free: 15.11 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.169018336571753] Failed to read output from testmodel.py, exit status != 0: 0.019771513529121876 0.028412605 0.022458492 Calling exit ...