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.0016/0.0016, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001454/0.001454, allocations: 169.8 kB / 23.95 MB, free: 4.16 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.293/1.293, allocations: 158.6 MB / 185.7 MB, free: 6.43 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.2834/0.2834, allocations: 36.34 MB / 274.3 MB, free: 0.6445 MB / 254.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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 414.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.327e-05, allocations: 6.219 kB / 414.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003538/0.003561, allocations: 2.161 MB / 417 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.004793, allocations: 0.6278 MB / 417.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.004899, allocations: 7.938 kB / 417.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.00502, allocations: 27.66 kB / 417.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.005273, allocations: 91.19 kB / 417.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.005473, allocations: 67.86 kB / 417.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003684/0.005841, allocations: 286.6 kB / 418.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.005988, allocations: 48.88 kB / 418.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.006234, allocations: 155.6 kB / 418.3 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.006404, allocations: 79.72 kB / 418.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.006442, allocations: 16 kB / 418.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.492e-05/0.006527, allocations: 27.98 kB / 418.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.006589, allocations: 47.77 kB / 418.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.006694, allocations: 79.77 kB / 418.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.007011, allocations: 219.2 kB / 418.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.007013, allocations: 4 kB / 418.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007014, allocations: 0 / 418.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.007019, allocations: 0 / 418.8 MB, free: 7.68 MB / 350.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.0009288/0.007948, allocations: 496.9 kB / 419.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.007978, allocations: 11.97 kB / 419.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.008081, allocations: 40.69 kB / 419.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.008435, allocations: 204.8 kB / 419.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.008454, allocations: 12.38 kB / 419.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.008506, allocations: 20.33 kB / 419.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.008862, allocations: 171.9 kB / 419.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.008877, allocations: 192 / 419.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.008896, allocations: 4.375 kB / 419.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.008904, allocations: 7.938 kB / 419.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.009227, allocations: 123.8 kB / 419.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.01017, allocations: 0.5117 MB / 420.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.01046, allocations: 126.4 kB / 420.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.01062, allocations: 76.86 kB / 420.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.01064, allocations: 0 / 420.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.01067, allocations: 38.56 kB / 420.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.01067, allocations: 0 / 420.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.00113/0.0118, allocations: 491.6 kB / 421.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.01184, allocations: 55.41 kB / 421.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.01211, allocations: 233.9 kB / 421.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.01214, allocations: 25.7 kB / 421.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01225, allocations: 152.5 kB / 421.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.01231, allocations: 71.42 kB / 421.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.01238, allocations: 37.67 kB / 421.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.01254, allocations: 334.8 kB / 421.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.01268, allocations: 51.97 kB / 422 MB, free: 4.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.01284, allocations: 85.33 kB / 422.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.01315, allocations: 125.7 kB / 422.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.01315, allocations: 0 / 422.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000393/0.01354, allocations: 201.2 kB / 422.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01356, allocations: 8 kB / 422.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01356, allocations: 3.938 kB / 422.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.01357, allocations: 0 / 422.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.01399, allocations: 71.95 kB / 422.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.0152, allocations: 1.315 MB / 423.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.01535, allocations: 7.984 kB / 423.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.01537, allocations: 8 kB / 423.8 MB, free: 2.297 MB / 350.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.0001296/0.0155, allocations: 129.8 kB / 423.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.01555, allocations: 23.86 kB / 424 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.01594, allocations: 183.8 kB / 424.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01594, allocations: 8 kB / 424.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.01594, allocations: 0 / 424.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.01595, allocations: 3.984 kB / 424.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007441/0.01669, allocations: 462 kB / 424.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01669, allocations: 0 / 424.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.01696, allocations: 47.92 kB / 424.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01697, allocations: 0 / 424.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.01698, allocations: 7.984 kB / 424.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01699, allocations: 0 / 424.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01699, allocations: 4 kB / 424.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.01753, allocations: 343.8 kB / 425 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.01761, allocations: 35.84 kB / 425 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.01764, allocations: 0 / 425 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.01782, allocations: 11.98 kB / 425 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.01787, allocations: 11.92 kB / 425.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.01788, allocations: 8 kB / 425.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.01805, allocations: 169.2 kB / 425.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01805, allocations: 4 kB / 425.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.01835, allocations: 48 kB / 425.3 MB, free: 0.7578 MB / 350.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.0001091/0.01846, allocations: 95.23 kB / 425.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000524/0.01899, allocations: 159.8 kB / 425.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01899, allocations: 4.062 kB / 425.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.01915, allocations: 71.84 kB / 425.6 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.01953, allocations: 36.48 kB / 425.6 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.02064, allocations: 0.5733 MB / 426.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.02079, allocations: 151 kB / 426.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.02088, allocations: 17.64 kB / 426.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.02096, allocations: 28.5 kB / 426.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.02096, allocations: 0 / 426.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Templates: time 0.006602/0.02756, allocations: 2.431 MB / 428.8 MB, free: 13.14 MB / 366.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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.629228379577398] Failed to read output from testmodel.py, exit status != 0: 0.03594811260700226 0.050491564 0.040402821000000005 Calling exit ...