Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001579/0.001579, allocations: 73.64 kB / 21.24 MB, free: 0.5547 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.001703/0.001703, allocations: 160 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 158.6 MB / 186.3 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2677/0.2677, allocations: 36.36 MB / 274.9 MB, free: 14.64 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002368/0.002368, allocations: 71.88 kB / 415.3 MB, free: 14.07 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2902, allocations: 62.38 MB / 477.6 MB, free: 43.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002845/0.293, allocations: 2.157 MB / 479.8 MB, free: 42.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.294, allocations: 0.6305 MB / 480.4 MB, free: 42.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.2942, allocations: 7.219 kB / 480.4 MB, free: 42.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2943, allocations: 37.39 kB / 480.5 MB, free: 42.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.2945, allocations: 93.69 kB / 480.6 MB, free: 42.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.2947, allocations: 51.52 kB / 480.6 MB, free: 42.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.2949, allocations: 277.5 kB / 480.9 MB, free: 42.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.295, allocations: 39.53 kB / 480.9 MB, free: 42.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2951, allocations: 117.4 kB / 481 MB, free: 42.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.2953, allocations: 103.2 kB / 481.1 MB, free: 42.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.2953, allocations: 16.34 kB / 481.1 MB, free: 42.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.95e-05/0.2954, allocations: 22.06 kB / 481.2 MB, free: 42.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.2954, allocations: 49.66 kB / 481.2 MB, free: 42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.663e-05/0.2955, allocations: 99.61 kB / 481.3 MB, free: 41.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.2957, allocations: 230.1 kB / 481.5 MB, free: 41.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2957, allocations: 0 / 481.5 MB, free: 41.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2957, allocations: 0 / 481.5 MB, free: 41.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2957, allocations: 0 / 481.5 MB, free: 41.84 MB / 446.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.0007021/0.2964, allocations: 494.1 kB / 482 MB, free: 41.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.2964, allocations: 9.75 kB / 482 MB, free: 41.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.483e-05/0.2965, allocations: 29.5 kB / 482.1 MB, free: 41.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.2968, allocations: 210.3 kB / 482.3 MB, free: 41.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.2968, allocations: 21.31 kB / 482.3 MB, free: 41.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.2968, allocations: 18.09 kB / 482.3 MB, free: 41.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.2971, allocations: 187 kB / 482.5 MB, free: 41.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2971, allocations: 0 / 482.5 MB, free: 41.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2971, allocations: 6.969 kB / 482.5 MB, free: 41.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2971, allocations: 3.094 kB / 482.5 MB, free: 41.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.2974, allocations: 109.6 kB / 482.6 MB, free: 41.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.298, allocations: 0.5251 MB / 483.1 MB, free: 40.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.2983, allocations: 126.2 kB / 483.3 MB, free: 40.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.2984, allocations: 68.39 kB / 483.3 MB, free: 40.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.2984, allocations: 10.53 kB / 483.3 MB, free: 40.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.2984, allocations: 33.78 kB / 483.4 MB, free: 40.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.2984, allocations: 3.938 kB / 483.4 MB, free: 40.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008626/0.2993, allocations: 493.1 kB / 483.8 MB, free: 40.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.2993, allocations: 51.41 kB / 483.9 MB, free: 40.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.2995, allocations: 234.9 kB / 484.1 MB, free: 40.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2995, allocations: 29.7 kB / 484.2 MB, free: 40.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.2995, allocations: 148.1 kB / 484.3 MB, free: 39.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.2996, allocations: 65.2 kB / 484.4 MB, free: 39.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.2996, allocations: 44.7 kB / 484.4 MB, free: 39.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.312e-05/0.2996, allocations: 335.6 kB / 484.7 MB, free: 39.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.2998, allocations: 60.59 kB / 484.8 MB, free: 39.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.2999, allocations: 67.73 kB / 484.9 MB, free: 39.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.3001, allocations: 141.2 kB / 485 MB, free: 39.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3001, allocations: 3.938 kB / 485 MB, free: 39.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002868/0.3004, allocations: 190.4 kB / 485.2 MB, free: 39.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3004, allocations: 5.562 kB / 485.2 MB, free: 39.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3004, allocations: 7.078 kB / 485.2 MB, free: 39.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3004, allocations: 2.594 kB / 485.2 MB, free: 39.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.3008, allocations: 68.31 kB / 485.3 MB, free: 39.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006632/0.3014, allocations: 1.308 MB / 486.6 MB, free: 37.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.3016, allocations: 18.08 kB / 486.6 MB, free: 37.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3016, allocations: 3.281 kB / 486.6 MB, free: 37.95 MB / 446.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 7.734e-05/0.3016, allocations: 135.4 kB / 486.7 MB, free: 37.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.3017, allocations: 26.36 kB / 486.8 MB, free: 37.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.302, allocations: 185.7 kB / 486.9 MB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.302, allocations: 0 / 486.9 MB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.302, allocations: 3.938 kB / 486.9 MB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.302, allocations: 9.016 kB / 487 MB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.3025, allocations: 458 kB / 487.4 MB, free: 37.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3025, allocations: 0 / 487.4 MB, free: 37.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.3027, allocations: 43.62 kB / 487.4 MB, free: 37.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3027, allocations: 3.281 kB / 487.4 MB, free: 37.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3027, allocations: 7.938 kB / 487.5 MB, free: 37.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3027, allocations: 0 / 487.5 MB, free: 37.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3027, allocations: 3.5 kB / 487.5 MB, free: 37.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.3031, allocations: 350.1 kB / 487.8 MB, free: 37.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.3032, allocations: 37.36 kB / 487.8 MB, free: 37.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.3032, allocations: 6.875 kB / 487.8 MB, free: 37.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.3033, allocations: 7.188 kB / 487.8 MB, free: 37.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.3034, allocations: 12.78 kB / 487.9 MB, free: 37.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.3034, allocations: 7.375 kB / 487.9 MB, free: 37.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3035, allocations: 168.5 kB / 488 MB, free: 37.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3035, allocations: 0 / 488 MB, free: 37.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.3038, allocations: 48.94 kB / 488.1 MB, free: 37.02 MB / 446.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 6.399e-05/0.3038, allocations: 92.72 kB / 488.2 MB, free: 36.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004391/0.3043, allocations: 166.6 kB / 488.3 MB, free: 36.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3043, allocations: 0 / 488.3 MB, free: 36.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3044, allocations: 67.5 kB / 488.4 MB, free: 36.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3048, allocations: 44.17 kB / 488.4 MB, free: 36.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008885/0.3057, allocations: 0.6614 MB / 489.1 MB, free: 36.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.452e-05/0.3057, allocations: 145.2 kB / 489.2 MB, free: 36.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.105e-05/0.3058, allocations: 25.59 kB / 489.3 MB, free: 36.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.3059, allocations: 28.38 kB / 489.3 MB, free: 36.3 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3059, allocations: 0 / 489.3 MB, free: 36.3 MB / 446.1 MB Notification: Performance of Templates: time 0.005093/0.311, allocations: 2.427 MB / 491.7 MB, free: 35.95 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5695524560287595] Failed to read output from testmodel.py, exit status != 0: 0.3185914090136066 0.327369937 0.029455897 Calling exit ...