Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001554/0.001554, 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.00194/0.00194, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.8893/0.8893, allocations: 158.6 MB / 186.8 MB, free: 2.328 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.1698/0.1698, allocations: 36.35 MB / 275.5 MB, free: 10.52 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 305.2 MB, free: 14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.765e-05, allocations: 2.312 kB / 305.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.0066/0.006617, allocations: 3.116 MB / 308.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.01122, allocations: 0.8545 MB / 309.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.01144, allocations: 9.719 kB / 309.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.0116, allocations: 57.05 kB / 309.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.01195, allocations: 158.6 kB / 309.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.0122, allocations: 128 kB / 309.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004824/0.01268, allocations: 0.5416 MB / 310.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.01287, allocations: 98.67 kB / 310.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.01625, allocations: 305.7 kB / 310.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.0165, allocations: 166.1 kB / 310.6 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.01656, allocations: 35.06 kB / 310.7 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.01666, allocations: 38.34 kB / 310.7 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.01672, allocations: 98.62 kB / 310.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.01685, allocations: 156 kB / 311 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.01724, allocations: 320 kB / 311.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.01724, allocations: 0 / 311.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01724, allocations: 0 / 311.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.01725, allocations: 5.062 kB / 311.3 MB, free: 10.3 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0009127/0.01816, allocations: 0.6989 MB / 312 MB, free: 9.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.0182, allocations: 10.25 kB / 312 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.01835, allocations: 63.58 kB / 312.1 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.01867, allocations: 273.8 kB / 312.3 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.01869, allocations: 26.38 kB / 312.3 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.01875, allocations: 40.14 kB / 312.4 MB, free: 9.559 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.01906, allocations: 257.6 kB / 312.6 MB, free: 9.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.003031/0.02209, allocations: 5.219 kB / 312.6 MB, free: 9.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.02211, allocations: 11.22 kB / 312.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.02212, allocations: 16.08 kB / 312.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.0223, allocations: 103.2 kB / 312.8 MB, free: 9.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.02331, allocations: 0.7476 MB / 313.5 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.02356, allocations: 155.4 kB / 313.7 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/0.02364, allocations: 64.19 kB / 313.7 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.02366, allocations: 7.156 kB / 313.7 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.02368, allocations: 40.81 kB / 313.8 MB, free: 8.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.02368, allocations: 4 kB / 313.8 MB, free: 8.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001051/0.02473, allocations: 0.5942 MB / 314.4 MB, free: 8.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.02475, allocations: 55.2 kB / 314.4 MB, free: 8.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.02498, allocations: 334.6 kB / 314.8 MB, free: 8.297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.02499, allocations: 31.36 kB / 314.8 MB, free: 8.262 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003104/0.0281, allocations: 186 kB / 315 MB, free: 8.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.02817, allocations: 137.3 kB / 315.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.02825, allocations: 71.77 kB / 315.2 MB, free: 7.961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.0283, allocations: 366.4 kB / 315.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/0.02836, allocations: 39.67 kB / 315.6 MB, free: 7.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.319e-05/0.02844, allocations: 91.59 kB / 315.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.02861, allocations: 150.6 kB / 315.8 MB, free: 7.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02861, allocations: 0.5938 kB / 315.8 MB, free: 7.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002528/0.02887, allocations: 199.7 kB / 316 MB, free: 7.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.02888, allocations: 13.72 kB / 316 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.02889, allocations: 5.844 kB / 316 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.0289, allocations: 2.844 kB / 316 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/0.02958, allocations: 207.2 kB / 316.2 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005275/0.03011, allocations: 1.235 MB / 317.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.03025, allocations: 17.38 kB / 317.5 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.03027, allocations: 10.36 kB / 317.5 MB, free: 6.16 MB / 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 (48): * Single equations (assignments): 47 * 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 8.018e-05/0.03035, allocations: 136.6 kB / 317.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.03041, allocations: 38.17 kB / 317.7 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.03062, allocations: 193.6 kB / 317.8 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.03062, allocations: 3.688 kB / 317.9 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.03062, allocations: 0 / 317.9 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.03063, allocations: 3.938 kB / 317.9 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006536/0.03716, allocations: 439.8 kB / 318.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.03717, allocations: 1.688 kB / 318.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.0375, allocations: 105.6 kB / 318.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.0375, allocations: 2.094 kB / 318.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.03752, allocations: 6.375 kB / 318.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.03752, allocations: 5.125 kB / 318.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.03753, allocations: 0 / 318.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.03782, allocations: 332.8 kB / 318.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.03791, allocations: 43.86 kB / 318.8 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.03794, allocations: 10.72 kB / 318.8 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.03807, allocations: 18.16 kB / 318.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.03812, allocations: 24.2 kB / 318.8 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.03813, allocations: 11.67 kB / 318.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.03825, allocations: 139.7 kB / 319 MB, free: 5.246 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03825, allocations: 1.531 kB / 319 MB, free: 5.246 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003012/0.03855, allocations: 81.5 kB / 319.1 MB, free: 5.238 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.647e-05/0.03864, allocations: 84.45 kB / 319.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.03895, allocations: 189.7 kB / 319.3 MB, free: 5.098 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.03896, allocations: 8.344 kB / 319.3 MB, free: 5.094 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/0.03905, allocations: 95.84 kB / 319.4 MB, free: 5.055 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.03941, allocations: 87.89 kB / 319.5 MB, free: 5.008 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/0.04534, allocations: 0.8607 MB / 320.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.575e-05/0.04541, allocations: 110.9 kB / 320.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.04556, allocations: 50.34 kB / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.04575, allocations: 123.3 kB / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.04575, allocations: 0 / 320.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of Templates: time 0.007959/0.05371, allocations: 4.994 MB / 325.6 MB, free: 15.22 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.914852596819401]