Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.001341/0.001341, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001477/0.001477, allocations: 210.1 kB / 24.49 MB, free: 4.145 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.1528/0.1528, allocations: 26.82 MB / 341.5 MB, free: 8.25 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [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.002065/0.002065, allocations: 75.89 kB / 478.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2897, allocations: 60.48 MB / 0.5259 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002809/0.2925, allocations: 2.092 MB / 0.528 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009283/0.2934, allocations: 0.6129 MB / 0.5286 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.2935, allocations: 10.03 kB / 0.5286 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.2936, allocations: 21.59 kB / 0.5286 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.2938, allocations: 71.8 kB / 0.5287 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.2939, allocations: 38.02 kB / 0.5287 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.2942, allocations: 208.7 kB / 0.5289 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2943, allocations: 30.2 kB / 0.5289 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.2944, allocations: 92.8 kB / 0.529 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.2946, allocations: 89.45 kB / 0.5291 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.2946, allocations: 12.66 kB / 0.5291 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.2947, allocations: 18.12 kB / 0.5291 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.2947, allocations: 31.27 kB / 0.5292 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.2948, allocations: 92.66 kB / 0.5293 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.295, allocations: 161.5 kB / 0.5294 GB, free: 7.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.295, allocations: 1.188 kB / 0.5294 GB, free: 7.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.295, allocations: 0 / 0.5294 GB, free: 7.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.295, allocations: 3.938 kB / 0.5294 GB, free: 7.406 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.00061/0.2956, allocations: 429 kB / 0.5298 GB, free: 7.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2956, allocations: 9.406 kB / 0.5298 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.524e-05/0.2957, allocations: 23.77 kB / 0.5299 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.296, allocations: 193.8 kB / 0.53 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.296, allocations: 8.969 kB / 0.5301 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.296, allocations: 12.47 kB / 0.5301 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.2962, allocations: 143.9 kB / 0.5302 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2962, allocations: 2.109 kB / 0.5302 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2963, allocations: 5.344 kB / 0.5302 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.2963, allocations: 6.188 kB / 0.5302 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.2964, allocations: 74.14 kB / 0.5303 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006387/0.2971, allocations: 0.4923 MB / 0.5308 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.2974, allocations: 105.2 kB / 0.5309 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.771e-05/0.2975, allocations: 46.08 kB / 0.5309 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.2975, allocations: 2.328 kB / 0.5309 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.2975, allocations: 35.25 kB / 0.5309 GB, free: 6.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.2975, allocations: 0 / 0.5309 GB, free: 6.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007238/0.2982, allocations: 376.7 kB / 0.5313 GB, free: 5.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.2982, allocations: 52.97 kB / 0.5314 GB, free: 5.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.2985, allocations: 226.9 kB / 0.5316 GB, free: 5.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2985, allocations: 30.45 kB / 0.5316 GB, free: 5.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.2986, allocations: 131.4 kB / 0.5317 GB, free: 5.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.2986, allocations: 44.23 kB / 0.5318 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.2986, allocations: 29.62 kB / 0.5318 GB, free: 5.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.2987, allocations: 329.1 kB / 0.5321 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.2988, allocations: 30.53 kB / 0.5321 GB, free: 5.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.853e-05/0.2989, allocations: 57.75 kB / 0.5322 GB, free: 5.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.299, allocations: 98.94 kB / 0.5323 GB, free: 5.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.299, allocations: 0.5312 kB / 0.5323 GB, free: 5.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002463/0.2993, allocations: 142.1 kB / 0.5324 GB, free: 5.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2993, allocations: 13.67 kB / 0.5324 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2993, allocations: 3.938 kB / 0.5324 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2993, allocations: 6.25 kB / 0.5325 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2995, allocations: 36.59 kB / 0.5325 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.2995, allocations: 1.688 kB / 0.5325 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.2996, allocations: 11.55 kB / 0.5325 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.2996, allocations: 3.406 kB / 0.5325 GB, free: 5.008 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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.764e-05/0.2996, allocations: 126.7 kB / 0.5326 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.2997, allocations: 23.75 kB / 0.5326 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.2997, allocations: 30.19 kB / 0.5327 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2997, allocations: 1.469 kB / 0.5327 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2997, allocations: 0 / 0.5327 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2997, allocations: 1.078 kB / 0.5327 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.3002, allocations: 412.7 kB / 0.5331 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3002, allocations: 1.062 kB / 0.5331 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.3003, allocations: 31.36 kB / 0.5331 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3004, allocations: 0.9688 kB / 0.5331 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3004, allocations: 1.031 kB / 0.5331 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3004, allocations: 2.781 kB / 0.5331 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3004, allocations: 4 kB / 0.5331 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.3007, allocations: 267.5 kB / 0.5334 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.3007, allocations: 23.03 kB / 0.5334 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.3007, allocations: 1.219 kB / 0.5334 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3009, allocations: 3.859 kB / 0.5334 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.3009, allocations: 11.38 kB / 0.5334 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.3009, allocations: 6.938 kB / 0.5334 GB, free: 4.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.301, allocations: 164.5 kB / 0.5336 GB, free: 4.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.301, allocations: 0 / 0.5336 GB, free: 4.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.3013, allocations: 32 kB / 0.5336 GB, free: 4.191 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * 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 (12): * Single equations (assignments): 12 * 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.235e-05/0.3014, allocations: 101.8 kB / 0.5337 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3016, allocations: 82.33 kB / 0.5338 GB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3016, allocations: 0.7812 kB / 0.5338 GB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.765e-05/0.3017, allocations: 45.86 kB / 0.5338 GB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.302, allocations: 36.52 kB / 0.5339 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008359/0.3028, allocations: 0.5477 MB / 0.5344 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.303, allocations: 0.7359 MB / 0.5351 GB, free: 2.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.303, allocations: 16.34 kB / 0.5351 GB, free: 2.922 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.303, allocations: 0 / 0.5351 GB, free: 2.922 MB / 382.1 MB Notification: Performance of Templates: time 0.004019/0.3071, allocations: 2.004 MB / 0.5371 GB, free: 2.719 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.011560010025278] Failed to read output from testmodel.py, exit status != 0: 0.31550415197853 0.32951678300000004 0.031376709 Calling exit ...