Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.0009534/0.0009534, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001013/0.001013, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 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 0.9319/0.9319, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] 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.09394/0.09394, allocations: 19.73 MB / 281.6 MB, free: 9.027 MB / 266.7 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 305.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.725e-05, allocations: 4 kB / 305.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.005067/0.005095, allocations: 2.961 MB / 308.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.007138, allocations: 0.8256 MB / 309 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.007416, allocations: 7.938 kB / 309 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.007622, allocations: 57.81 kB / 309.1 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004591/0.008081, allocations: 151.3 kB / 309.2 MB, free: 9.973 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.008378, allocations: 111.2 kB / 309.3 MB, free: 9.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006612/0.00904, allocations: 0.508 MB / 309.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.00927, allocations: 91.62 kB / 309.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004378/0.009708, allocations: 286.5 kB / 310.2 MB, free: 9.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.009924, allocations: 153.9 kB / 310.3 MB, free: 9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.009969, allocations: 32 kB / 310.4 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.414e-05/0.01005, allocations: 36 kB / 310.4 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.0101, allocations: 99.52 kB / 310.5 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.0102, allocations: 147.5 kB / 310.6 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.01051, allocations: 294.7 kB / 310.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01052, allocations: 0 / 310.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01052, allocations: 0 / 310.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.01052, allocations: 0 / 310.9 MB, free: 8.402 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0007434/0.01127, allocations: 0.6635 MB / 311.6 MB, free: 7.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.0113, allocations: 8.625 kB / 311.6 MB, free: 7.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.01141, allocations: 64.89 kB / 311.7 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.01169, allocations: 263.8 kB / 311.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.01171, allocations: 25.03 kB / 312 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.01175, allocations: 40.33 kB / 312 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.012, allocations: 247.1 kB / 312.2 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.01201, allocations: 192 / 312.2 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.01203, allocations: 15.94 kB / 312.3 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.01203, allocations: 8 kB / 312.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.01216, allocations: 95.14 kB / 312.4 MB, free: 6.926 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008509/0.01301, allocations: 0.7187 MB / 313.1 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.01318, allocations: 156.8 kB / 313.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.01324, allocations: 53.59 kB / 313.3 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.01326, allocations: 8 kB / 313.3 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.01328, allocations: 30.56 kB / 313.3 MB, free: 5.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.01328, allocations: 0 / 313.3 MB, free: 5.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008102/0.0141, allocations: 0.5312 MB / 313.8 MB, free: 5.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.01412, allocations: 59.34 kB / 313.9 MB, free: 5.273 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.01432, allocations: 311.3 kB / 314.2 MB, free: 4.953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.01434, allocations: 33.7 kB / 314.2 MB, free: 4.914 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.01442, allocations: 185.5 kB / 314.4 MB, free: 4.727 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.01448, allocations: 122.9 kB / 314.5 MB, free: 4.605 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.01455, allocations: 70 kB / 314.6 MB, free: 4.531 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.01464, allocations: 354.7 kB / 315 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.01468, allocations: 32.73 kB / 315 MB, free: 4.145 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.01475, allocations: 85.48 kB / 315.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.01489, allocations: 140.1 kB / 315.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01489, allocations: 4 kB / 315.2 MB, free: 3.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003783/0.01527, allocations: 265.6 kB / 315.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.01529, allocations: 6.188 kB / 315.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.01529, allocations: 4 kB / 315.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003796/0.01567, allocations: 138.5 kB / 315.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.01598, allocations: 107.9 kB / 315.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.01793, allocations: 2.718 MB / 318.4 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.01805, allocations: 15.95 kB / 318.5 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.01806, allocations: 4 kB / 318.5 MB, free: 472 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 9.612e-05/0.01816, allocations: 129.8 kB / 318.6 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.0182, allocations: 35.97 kB / 318.6 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.01837, allocations: 185.7 kB / 318.8 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01837, allocations: 4 kB / 318.8 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01837, allocations: 0 / 318.8 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01838, allocations: 0 / 318.8 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.0188, allocations: 419.7 kB / 319.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.01881, allocations: 7.938 kB / 319.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.01905, allocations: 96.86 kB / 319.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.01906, allocations: 7.984 kB / 319.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.01907, allocations: 4 kB / 319.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01907, allocations: 4 kB / 319.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01907, allocations: 0 / 319.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.01931, allocations: 324.7 kB / 319.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.01937, allocations: 35.77 kB / 319.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.01939, allocations: 15.98 kB / 319.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.01948, allocations: 8 kB / 319.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.01952, allocations: 19.95 kB / 319.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01953, allocations: 8 kB / 319.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.658e-05/0.01961, allocations: 132.7 kB / 319.9 MB, free: 15 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01961, allocations: 3.938 kB / 319.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.01984, allocations: 88 kB / 320 MB, free: 14.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * 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 (34): * Single equations (assignments): 34 * 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.813e-05/0.01992, allocations: 76.42 kB / 320 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.02047, allocations: 351.3 kB / 320.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.02048, allocations: 4 kB / 320.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.02055, allocations: 80.69 kB / 320.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.02083, allocations: 92.92 kB / 320.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.02198, allocations: 0.8275 MB / 321.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.506e-05/0.02205, allocations: 110 kB / 321.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00011/0.02216, allocations: 46.94 kB / 321.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.0223, allocations: 111.3 kB / 321.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.02231, allocations: 0 / 321.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of Templates: time 0.007344/0.02965, allocations: 5.033 MB / 326.7 MB, free: 8.223 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6789299747906625]