Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001333/0.001333, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.001121/0.001121, allocations: 172.2 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9189/0.9189, allocations: 158.6 MB / 186.8 MB, free: 2.75 MB / 170.7 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.1785/0.1785, allocations: 36.34 MB / 275.5 MB, free: 14.43 MB / 266.7 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 305.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.768e-05, allocations: 2.312 kB / 305.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004088/0.004116, allocations: 2.954 MB / 308.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.005775, allocations: 0.8264 MB / 309 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.00599, allocations: 11.94 kB / 309 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.006161, allocations: 55.39 kB / 309.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.006511, allocations: 150.7 kB / 309.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.006754, allocations: 111.8 kB / 309.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.007254, allocations: 0.5059 MB / 309.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.007441, allocations: 97.33 kB / 309.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.00778, allocations: 279.2 kB / 310.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.008022, allocations: 159.4 kB / 310.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/0.008084, allocations: 32 kB / 310.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.008197, allocations: 39.98 kB / 310.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.008271, allocations: 91.59 kB / 310.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.008414, allocations: 143.5 kB / 310.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.008813, allocations: 290.7 kB / 310.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.008815, allocations: 0 / 310.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.008816, allocations: 0 / 310.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.008824, allocations: 0 / 310.9 MB, free: 10.86 MB / 298.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.001021/0.009846, allocations: 0.6706 MB / 311.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.009881, allocations: 12.03 kB / 311.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.01003, allocations: 56.88 kB / 311.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.01042, allocations: 255.9 kB / 311.9 MB, free: 9.816 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.01045, allocations: 29.03 kB / 312 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.0105, allocations: 36.3 kB / 312 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.0108, allocations: 247.1 kB / 312.2 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.01082, allocations: 192 / 312.2 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.01084, allocations: 15.94 kB / 312.3 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.01085, allocations: 11.98 kB / 312.3 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.01101, allocations: 95.09 kB / 312.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.01206, allocations: 0.7304 MB / 313.1 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.01227, allocations: 146.6 kB / 313.2 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.01233, allocations: 56.84 kB / 313.3 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.01235, allocations: 4 kB / 313.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.01237, allocations: 46.55 kB / 313.3 MB, free: 8.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.01237, allocations: 0 / 313.3 MB, free: 8.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008044/0.01318, allocations: 0.5187 MB / 313.9 MB, free: 7.797 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.0132, allocations: 55.41 kB / 313.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.01341, allocations: 319.3 kB / 314.2 MB, free: 7.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.01342, allocations: 33.7 kB / 314.3 MB, free: 7.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/0.0135, allocations: 177.5 kB / 314.4 MB, free: 7.188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.01357, allocations: 130.8 kB / 314.6 MB, free: 7.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.01364, allocations: 66.03 kB / 314.6 MB, free: 6.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.01374, allocations: 354.7 kB / 315 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.01378, allocations: 28.73 kB / 315 MB, free: 6.605 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.01387, allocations: 93.47 kB / 315.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.01401, allocations: 143.9 kB / 315.2 MB, free: 6.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01401, allocations: 0 / 315.2 MB, free: 6.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003916/0.0144, allocations: 261.6 kB / 315.5 MB, free: 6.078 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01442, allocations: 8.125 kB / 315.5 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01443, allocations: 4 kB / 315.5 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.01482, allocations: 136.6 kB / 315.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.01511, allocations: 115.8 kB / 315.7 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.01689, allocations: 2.701 MB / 318.4 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.017, allocations: 12 kB / 318.5 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.01701, allocations: 19.97 kB / 318.5 MB, free: 2.902 MB / 298.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.925e-05/0.01711, allocations: 125.8 kB / 318.6 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.01715, allocations: 31.97 kB / 318.6 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.01733, allocations: 193.9 kB / 318.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01733, allocations: 4 kB / 318.8 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01734, allocations: 0 / 318.8 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01734, allocations: 3.984 kB / 318.8 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.01777, allocations: 423.1 kB / 319.2 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01777, allocations: 3.938 kB / 319.2 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.01802, allocations: 95.88 kB / 319.3 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.01802, allocations: 0 / 319.3 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.01804, allocations: 12 kB / 319.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01804, allocations: 0 / 319.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01804, allocations: 0 / 319.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.01829, allocations: 332.8 kB / 319.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.01835, allocations: 43.7 kB / 319.7 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.01838, allocations: 4 kB / 319.7 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.01846, allocations: 15.94 kB / 319.7 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.0185, allocations: 23.95 kB / 319.8 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.01851, allocations: 4 kB / 319.8 MB, free: 1.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.533e-05/0.01861, allocations: 132.7 kB / 319.9 MB, free: 1.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01861, allocations: 0 / 319.9 MB, free: 1.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.01884, allocations: 88 kB / 320 MB, free: 1.344 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 8.234e-05/0.01893, allocations: 84.36 kB / 320.1 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004164/0.01934, allocations: 338.5 kB / 320.4 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.01935, allocations: 4 kB / 320.4 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.01942, allocations: 84.69 kB / 320.5 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.01968, allocations: 91.8 kB / 320.6 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.0208, allocations: 0.8243 MB / 321.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.02087, allocations: 110 kB / 321.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.02097, allocations: 42.94 kB / 321.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.02111, allocations: 115.3 kB / 321.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02112, allocations: 0 / 321.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of Templates: time 0.007269/0.02838, allocations: 5.026 MB / 326.7 MB, free: 10.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8013503719121218]