Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.00139/0.00139, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001462/0.001462, allocations: 161.7 kB / 24.26 MB, free: 172 kB / 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 1.443/1.443, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.1446/0.1446, allocations: 19.73 MB / 280.8 MB, free: 9.289 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 357.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.072e-05, allocations: 2.312 kB / 357.2 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.00456/0.00458, allocations: 2.906 MB / 360.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.006177, allocations: 0.8023 MB / 360.9 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.006337, allocations: 7.938 kB / 360.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.006528, allocations: 63.25 kB / 361 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.00693, allocations: 158.6 kB / 361.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.00721, allocations: 123.8 kB / 361.3 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006926/0.007903, allocations: 0.5448 MB / 361.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.008136, allocations: 102 kB / 361.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000457/0.008593, allocations: 311.1 kB / 362.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.008869, allocations: 163.4 kB / 362.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.628e-05/0.008935, allocations: 36 kB / 362.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.009039, allocations: 40 kB / 362.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.927e-05/0.009139, allocations: 95.58 kB / 362.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.009378, allocations: 151.5 kB / 362.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.009953, allocations: 434.4 kB / 363.1 MB, free: 1.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.009956, allocations: 0 / 363.1 MB, free: 1.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.009956, allocations: 0 / 363.1 MB, free: 1.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.009963, allocations: 0 / 363.1 MB, free: 1.008 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.001529/0.01149, allocations: 0.7264 MB / 363.8 MB, free: 256 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.01153, allocations: 12.03 kB / 363.8 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.01172, allocations: 80.61 kB / 363.9 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.01227, allocations: 315.8 kB / 364.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.0123, allocations: 29.03 kB / 364.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.518e-05/0.01238, allocations: 36.38 kB / 364.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007036/0.01308, allocations: 310.5 kB / 364.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.0131, allocations: 8.156 kB / 364.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.01314, allocations: 16.38 kB / 364.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.01315, allocations: 15.88 kB / 364.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.01361, allocations: 214.4 kB / 364.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.0155, allocations: 0.9723 MB / 365.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.01607, allocations: 248.3 kB / 366.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.01631, allocations: 120.9 kB / 366.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.01635, allocations: 12.28 kB / 366.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.01638, allocations: 34.78 kB / 366.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.323e-06/0.01638, allocations: 0 / 366.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.002322/0.0187, allocations: 0.8781 MB / 367.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.01875, allocations: 55.41 kB / 367.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004745/0.01922, allocations: 369.6 kB / 367.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.01926, allocations: 33.7 kB / 367.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.01946, allocations: 224.8 kB / 367.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.01959, allocations: 135.2 kB / 367.9 MB, free: 12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003241/0.01991, allocations: 70.2 kB / 368 MB, free: 11.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.02012, allocations: 354.8 kB / 368.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.02033, allocations: 92.95 kB / 368.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.02058, allocations: 149.2 kB / 368.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.02106, allocations: 252 kB / 368.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.02106, allocations: 0 / 368.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006552/0.02172, allocations: 365.2 kB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.02174, allocations: 4 kB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.02174, allocations: 3.938 kB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.02176, allocations: 4 kB / 369.2 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007836/0.02255, allocations: 151.8 kB / 369.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.02389, allocations: 1.319 MB / 370.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.02414, allocations: 8 kB / 370.6 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.02417, allocations: 12 kB / 370.7 MB, free: 9.094 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 (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 0.0001871/0.02436, allocations: 157.9 kB / 370.8 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.02446, allocations: 59.7 kB / 370.9 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006185/0.02508, allocations: 313.8 kB / 371.2 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.02509, allocations: 7.938 kB / 371.2 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.02509, allocations: 3.938 kB / 371.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.0251, allocations: 3.984 kB / 371.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.02626, allocations: 0.659 MB / 371.9 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02626, allocations: 0 / 371.9 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.02674, allocations: 83.89 kB / 371.9 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.02674, allocations: 4 kB / 371.9 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.02677, allocations: 11.94 kB / 371.9 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.02677, allocations: 0 / 371.9 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.02677, allocations: 0 / 371.9 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008671/0.02764, allocations: 0.5246 MB / 372.5 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.02779, allocations: 59.78 kB / 372.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.02784, allocations: 19.86 kB / 372.6 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.02809, allocations: 8 kB / 372.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.02815, allocations: 19.95 kB / 372.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.02816, allocations: 8 kB / 372.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003225/0.02849, allocations: 267.2 kB / 372.8 MB, free: 6.832 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02849, allocations: 0 / 372.8 MB, free: 6.832 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003835/0.02887, allocations: 84 kB / 372.9 MB, free: 6.75 MB / 298.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 0.0001278/0.029, allocations: 99.19 kB / 373 MB, free: 6.645 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007145/0.02971, allocations: 272.2 kB / 373.3 MB, free: 6.379 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.02972, allocations: 4 kB / 373.3 MB, free: 6.375 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.02996, allocations: 123.8 kB / 373.4 MB, free: 6.254 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.0305, allocations: 85.86 kB / 373.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.03249, allocations: 0.9937 MB / 374.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.03275, allocations: 227.8 kB / 374.7 MB, free: 4.902 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000166/0.03292, allocations: 39.27 kB / 374.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.03305, allocations: 40.47 kB / 374.8 MB, free: 4.828 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.03305, allocations: 0 / 374.8 MB, free: 4.828 MB / 298.7 MB Notification: Performance of Templates: time 0.01007/0.04312, allocations: 4.398 MB / 379.2 MB, free: 500 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.357246445957571]