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.001592/0.001592, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.00148/0.00148, allocations: 208.8 kB / 24.49 MB, free: 4.152 MB / 14.72 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.418/1.418, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 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.1535/0.1535, allocations: 26.82 MB / 341.5 MB, free: 8.195 MB / 270.1 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.89 kB / 478.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3131, allocations: 60.48 MB / 0.5259 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.00342/0.3165, allocations: 2.321 MB / 0.5282 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3177, allocations: 0.6603 MB / 0.5288 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.3179, allocations: 7.312 kB / 0.5289 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.318, allocations: 33.5 kB / 0.5289 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.3184, allocations: 84.05 kB / 0.529 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.3186, allocations: 56.56 kB / 0.529 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000347/0.3189, allocations: 293.3 kB / 0.5293 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3191, allocations: 60.11 kB / 0.5294 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.3193, allocations: 121.3 kB / 0.5295 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.3195, allocations: 116.6 kB / 0.5296 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.3196, allocations: 19.41 kB / 0.5296 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-05/0.3196, allocations: 24.59 kB / 0.5296 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.3197, allocations: 48.27 kB / 0.5297 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.3198, allocations: 124.7 kB / 0.5298 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.3201, allocations: 230 kB / 0.53 GB, free: 7.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3201, allocations: 3.938 kB / 0.53 GB, free: 7.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3201, allocations: 1.531 kB / 0.53 GB, free: 7.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3201, allocations: 4 kB / 0.53 GB, free: 7.02 MB / 382.1 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.0008816/0.321, allocations: 0.493 MB / 0.5305 GB, free: 6.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.321, allocations: 8.438 kB / 0.5305 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.3212, allocations: 36.95 kB / 0.5305 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.3215, allocations: 213.3 kB / 0.5307 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.535e-05/0.3216, allocations: 68.36 kB / 0.5308 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.3216, allocations: 16.03 kB / 0.5308 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.322, allocations: 184.7 kB / 0.531 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.322, allocations: 4.641 kB / 0.531 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.322, allocations: 5.219 kB / 0.531 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.322, allocations: 8.219 kB / 0.531 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.3223, allocations: 126.2 kB / 0.5311 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009321/0.3232, allocations: 0.6108 MB / 0.5317 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.3236, allocations: 136.7 kB / 0.5319 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.3238, allocations: 80.55 kB / 0.5319 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3238, allocations: 2 kB / 0.5319 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3238, allocations: 33.05 kB / 0.532 GB, free: 5.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.3239, allocations: 7.984 kB / 0.532 GB, free: 5.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001006/0.3249, allocations: 0.5011 MB / 0.5325 GB, free: 5.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.3249, allocations: 54.23 kB / 0.5325 GB, free: 5.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3251, allocations: 234.8 kB / 0.5328 GB, free: 5.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3251, allocations: 34.92 kB / 0.5328 GB, free: 5.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.3252, allocations: 153 kB / 0.5329 GB, free: 4.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.3252, allocations: 68.84 kB / 0.533 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.3252, allocations: 44.11 kB / 0.533 GB, free: 4.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.3253, allocations: 334.8 kB / 0.5334 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.3254, allocations: 55.81 kB / 0.5334 GB, free: 4.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3256, allocations: 86.95 kB / 0.5335 GB, free: 4.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.3258, allocations: 150 kB / 0.5336 GB, free: 4.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3258, allocations: 1.031 kB / 0.5336 GB, free: 4.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003363/0.3262, allocations: 208.3 kB / 0.5338 GB, free: 4.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3262, allocations: 9.625 kB / 0.5338 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3262, allocations: 0.7969 kB / 0.5338 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3262, allocations: 6.531 kB / 0.5339 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.3266, allocations: 72.81 kB / 0.5339 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3266, allocations: 0.6094 kB / 0.5339 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.3267, allocations: 12.36 kB / 0.5339 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3267, allocations: 4.219 kB / 0.5339 GB, free: 4.27 MB / 382.1 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 8.348e-05/0.3268, allocations: 143.7 kB / 0.5341 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.3269, allocations: 22.53 kB / 0.5341 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.3269, allocations: 26.59 kB / 0.5341 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3269, allocations: 2.656 kB / 0.5341 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3269, allocations: 0.6562 kB / 0.5341 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3269, allocations: 0.9375 kB / 0.5341 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006574/0.3276, allocations: 0.5175 MB / 0.5346 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3276, allocations: 5.375 kB / 0.5346 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.3279, allocations: 61.5 kB / 0.5347 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3279, allocations: 2.078 kB / 0.5347 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3279, allocations: 5.375 kB / 0.5347 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3279, allocations: 1.375 kB / 0.5347 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3279, allocations: 8.641 kB / 0.5347 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.3284, allocations: 356.4 kB / 0.5351 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.3285, allocations: 33.06 kB / 0.5351 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.3285, allocations: 5.969 kB / 0.5351 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.3287, allocations: 7.781 kB / 0.5351 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.3287, allocations: 18.62 kB / 0.5351 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.3287, allocations: 3.812 kB / 0.5351 GB, free: 3.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.3289, allocations: 173.2 kB / 0.5353 GB, free: 3.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3289, allocations: 4 kB / 0.5353 GB, free: 3.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000272/0.3291, allocations: 43.03 kB / 0.5353 GB, free: 3.344 MB / 382.1 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 7.249e-05/0.3292, allocations: 99.81 kB / 0.5354 GB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.3295, allocations: 140.8 kB / 0.5356 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3295, allocations: 0 / 0.5356 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3297, allocations: 75.64 kB / 0.5356 GB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.33, allocations: 47.8 kB / 0.5357 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009757/0.331, allocations: 0.6862 MB / 0.5363 GB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3312, allocations: 0.7494 MB / 0.5371 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.3312, allocations: 19.66 kB / 0.5371 GB, free: 1.965 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.3312, allocations: 0 / 0.5371 GB, free: 1.965 MB / 382.1 MB Notification: Performance of Templates: time 0.004519/0.3357, allocations: 2.613 MB / 0.5396 GB, free: 1.363 MB / 382.1 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: 6.854486782103777] Failed to read output from testmodel.py, exit status != 0: 0.34388807008508593 0.357275657 0.034132376 Calling exit ...