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.001386/0.001386, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001469/0.001469, allocations: 215 kB / 23.74 MB, free: 4.656 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.147/0.147, allocations: 26.82 MB / 340.7 MB, free: 8.215 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.002091/0.002091, allocations: 71.83 kB / 477.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2691, allocations: 60.48 MB / 0.5252 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002832/0.272, allocations: 2.322 MB / 0.5275 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008899/0.2729, allocations: 0.6617 MB / 0.5281 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.273, allocations: 7.469 kB / 0.5281 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.2731, allocations: 29.53 kB / 0.5281 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.2733, allocations: 91.09 kB / 0.5282 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.2735, allocations: 60.25 kB / 0.5283 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.2737, allocations: 285.8 kB / 0.5286 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2739, allocations: 64.17 kB / 0.5286 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.274, allocations: 117.7 kB / 0.5287 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.2742, allocations: 126.2 kB / 0.5289 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.2742, allocations: 19.16 kB / 0.5289 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-05/0.2743, allocations: 20.78 kB / 0.5289 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.618e-05/0.2743, allocations: 47.03 kB / 0.5289 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.2744, allocations: 120.7 kB / 0.529 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.2747, allocations: 230.5 kB / 0.5293 GB, free: 7.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2747, allocations: 8 kB / 0.5293 GB, free: 7.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2747, allocations: 0 / 0.5293 GB, free: 7.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2747, allocations: 1.219 kB / 0.5293 GB, free: 7.062 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.0007928/0.2755, allocations: 499.7 kB / 0.5298 GB, free: 6.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.2755, allocations: 14.53 kB / 0.5298 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.697e-05/0.2756, allocations: 30.91 kB / 0.5298 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.2759, allocations: 210.6 kB / 0.53 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/0.276, allocations: 63.28 kB / 0.5301 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.276, allocations: 20.8 kB / 0.5301 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.2763, allocations: 180.1 kB / 0.5303 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.2764, allocations: 16.52 kB / 0.5303 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.2764, allocations: 6.203 kB / 0.5303 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2764, allocations: 4.281 kB / 0.5303 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.2767, allocations: 121.3 kB / 0.5304 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009204/0.2776, allocations: 0.6151 MB / 0.531 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.278, allocations: 141.7 kB / 0.5311 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.2782, allocations: 72.92 kB / 0.5312 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.2782, allocations: 2.031 kB / 0.5312 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.2782, allocations: 44.64 kB / 0.5312 GB, free: 5.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.2782, allocations: 0 / 0.5312 GB, free: 5.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001058/0.2793, allocations: 0.5041 MB / 0.5317 GB, free: 5.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.2793, allocations: 58.45 kB / 0.5318 GB, free: 5.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.2795, allocations: 230.5 kB / 0.532 GB, free: 5.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.2795, allocations: 30.89 kB / 0.532 GB, free: 5.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.2796, allocations: 152.4 kB / 0.5322 GB, free: 4.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.2796, allocations: 72.73 kB / 0.5323 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.2797, allocations: 44.02 kB / 0.5323 GB, free: 4.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.173e-05/0.2798, allocations: 335.6 kB / 0.5326 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.2799, allocations: 59.81 kB / 0.5327 GB, free: 4.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.28, allocations: 85.98 kB / 0.5328 GB, free: 4.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.2803, allocations: 147.9 kB / 0.5329 GB, free: 4.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.2803, allocations: 0 / 0.5329 GB, free: 4.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003443/0.2806, allocations: 204.7 kB / 0.5331 GB, free: 4.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2807, allocations: 4.938 kB / 0.5331 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2807, allocations: 2.297 kB / 0.5331 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2807, allocations: 5.453 kB / 0.5331 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.2811, allocations: 79.5 kB / 0.5332 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2811, allocations: 6.578 kB / 0.5332 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.2812, allocations: 10.89 kB / 0.5332 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.2813, allocations: 9.094 kB / 0.5332 GB, free: 4.305 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.321e-05/0.2813, allocations: 135.3 kB / 0.5333 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.2814, allocations: 27.02 kB / 0.5334 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.2814, allocations: 30.61 kB / 0.5334 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2814, allocations: 2.297 kB / 0.5334 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2814, allocations: 0 / 0.5334 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2814, allocations: 2.266 kB / 0.5334 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.2821, allocations: 0.517 MB / 0.5339 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.2822, allocations: 0.6094 kB / 0.5339 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.2825, allocations: 58.5 kB / 0.534 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2825, allocations: 4.5 kB / 0.534 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.2825, allocations: 9.375 kB / 0.534 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2825, allocations: 2.031 kB / 0.534 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2825, allocations: 3.938 kB / 0.534 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.283, allocations: 360.5 kB / 0.5343 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-05/0.2831, allocations: 29.17 kB / 0.5343 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.2831, allocations: 7.578 kB / 0.5344 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.2833, allocations: 10.66 kB / 0.5344 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.2833, allocations: 14.92 kB / 0.5344 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.2833, allocations: 3.609 kB / 0.5344 GB, free: 3.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.2835, allocations: 177.2 kB / 0.5345 GB, free: 3.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2835, allocations: 0 / 0.5345 GB, free: 3.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.2837, allocations: 47.42 kB / 0.5346 GB, free: 3.379 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 6.975e-05/0.2838, allocations: 91 kB / 0.5347 GB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.2841, allocations: 140.9 kB / 0.5348 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2841, allocations: 3.938 kB / 0.5348 GB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.2843, allocations: 76.33 kB / 0.5349 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.2846, allocations: 36.3 kB / 0.5349 GB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009952/0.2856, allocations: 0.6552 MB / 0.5356 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.2858, allocations: 0.748 MB / 0.5363 GB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.571e-05/0.2859, allocations: 26.12 kB / 0.5363 GB, free: 2.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.286, allocations: 19.25 kB / 0.5363 GB, free: 2.035 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.286, allocations: 0 / 0.5363 GB, free: 2.035 MB / 382.1 MB Notification: Performance of Templates: time 0.005525/0.2915, allocations: 2.146 MB / 0.5384 GB, free: 1.754 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: 4.571648081764579] Failed to read output from testmodel.py, exit status != 0: 0.2989827487617731 0.312313529 0.034594968000000004 Calling exit ...