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.001532/0.001532, allocations: 77.16 kB / 21.28 MB, free: 0.5312 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.001757/0.001757, allocations: 161.8 kB / 24.54 MB, free: 3.832 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.409/1.409, allocations: 177.2 MB / 204.9 MB, free: 9.273 MB / 190.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.144/0.144, allocations: 19.71 MB / 281 MB, free: 13.05 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.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: 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.002755/0.002755, allocations: 63.91 kB / 417.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2796, allocations: 60.44 MB / 478 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003578/0.2832, allocations: 2.186 MB / 480.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.2844, allocations: 0.6264 MB / 480.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.2846, allocations: 2.656 kB / 480.9 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.2847, allocations: 33.12 kB / 480.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.2849, allocations: 89.95 kB / 481 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.2851, allocations: 56.02 kB / 481 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000317/0.2854, allocations: 271 kB / 481.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.2856, allocations: 49.91 kB / 481.4 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.2859, allocations: 170.6 kB / 481.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.2861, allocations: 102.8 kB / 481.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.2861, allocations: 17.69 kB / 481.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.2862, allocations: 31.23 kB / 481.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.2862, allocations: 49.5 kB / 481.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.2863, allocations: 96.86 kB / 481.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.2866, allocations: 229.9 kB / 482 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2866, allocations: 0 / 482 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2866, allocations: 0 / 482 MB, free: 12.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.2867, allocations: 0 / 482 MB, free: 12.59 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009451/0.2876, allocations: 0.4895 MB / 482.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2876, allocations: 9.344 kB / 482.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.2877, allocations: 30.56 kB / 482.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.2881, allocations: 213.3 kB / 482.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.2881, allocations: 16.09 kB / 482.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.2882, allocations: 15.91 kB / 482.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.2885, allocations: 176.7 kB / 483 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2885, allocations: 4.969 kB / 483 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.2885, allocations: 10.12 kB / 483 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.2885, allocations: 3.25 kB / 483 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.2888, allocations: 115.5 kB / 483.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009193/0.2897, allocations: 0.515 MB / 483.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.29, allocations: 131.8 kB / 483.7 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.2901, allocations: 71.39 kB / 483.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.2902, allocations: 6.312 kB / 483.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2902, allocations: 32.84 kB / 483.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 3.317e-06/0.2902, allocations: 3.984 kB / 483.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001079/0.2913, allocations: 492.4 kB / 484.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2913, allocations: 57.78 kB / 484.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.2916, allocations: 238.1 kB / 484.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.2916, allocations: 30.98 kB / 484.7 MB, free: 10.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.2917, allocations: 143 kB / 484.8 MB, free: 10.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.702e-05/0.2918, allocations: 66.83 kB / 484.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.2919, allocations: 45.05 kB / 484.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.292, allocations: 327.2 kB / 485.2 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.2921, allocations: 56.89 kB / 485.3 MB, free: 9.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.2923, allocations: 74.97 kB / 485.4 MB, free: 9.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.2925, allocations: 130 kB / 485.5 MB, free: 9.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2925, allocations: 3.938 kB / 485.5 MB, free: 9.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003561/0.2929, allocations: 200.8 kB / 485.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2929, allocations: 4.812 kB / 485.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2929, allocations: 1.312 kB / 485.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.2929, allocations: 1.188 kB / 485.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.2933, allocations: 72.02 kB / 485.8 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.2946, allocations: 1.316 MB / 487.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.2947, allocations: 12.39 kB / 487.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.2947, allocations: 8.75 kB / 487.1 MB, free: 8.34 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: 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 0.0001391/0.2949, allocations: 135.3 kB / 487.2 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.2949, allocations: 26.38 kB / 487.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.2953, allocations: 182.3 kB / 487.4 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2953, allocations: 5.875 kB / 487.4 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2953, allocations: 5.219 kB / 487.4 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2953, allocations: 0 / 487.4 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.296, allocations: 457.8 kB / 487.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.296, allocations: 0 / 487.9 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.2962, allocations: 50.12 kB / 487.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.2962, allocations: 4.844 kB / 487.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.2962, allocations: 6.156 kB / 488 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2963, allocations: 1.125 kB / 488 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2963, allocations: 0 / 488 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.2968, allocations: 338 kB / 488.3 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.2968, allocations: 31.52 kB / 488.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.2969, allocations: 6.375 kB / 488.3 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.297, allocations: 16.05 kB / 488.3 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.2971, allocations: 11.66 kB / 488.3 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.2971, allocations: 8.062 kB / 488.4 MB, free: 7.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.2972, allocations: 168.1 kB / 488.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2972, allocations: 0 / 488.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00029/0.2975, allocations: 46.97 kB / 488.6 MB, free: 7.273 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: 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 0.0001034/0.2976, allocations: 95.06 kB / 488.7 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004941/0.2981, allocations: 152 kB / 488.8 MB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2981, allocations: 4 kB / 488.8 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.2983, allocations: 63.91 kB / 488.9 MB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.2987, allocations: 50.8 kB / 488.9 MB, free: 7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.3, allocations: 0.6844 MB / 489.6 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.3001, allocations: 142.1 kB / 489.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.3002, allocations: 20.5 kB / 489.8 MB, free: 6.105 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3002, allocations: 0 / 489.8 MB, free: 6.105 MB / 382.1 MB Notification: Performance of Templates: time 0.005645/0.3058, allocations: 3.083 MB / 492.8 MB, free: 3.02 MB / 382.1 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: 7.070815754123032] Failed to read output from testmodel.py, exit status != 0: 0.3159469668753445 0.32971312099999994 0.039848075000000004 Calling exit ...