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.0009584/0.0009584, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000997/0.000997, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.8115/0.8115, allocations: 158.6 MB / 186.4 MB, free: 2.543 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.1584/0.1584, allocations: 36.34 MB / 275.1 MB, free: 10.63 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.152e-06/1.152e-06, allocations: 0 / 353.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.386e-05, allocations: 3.297 kB / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.002362/0.002376, allocations: 3.097 MB / 356.9 MB, free: 336 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000933/0.003309, allocations: 0.8264 MB / 357.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.003445, allocations: 11.94 kB / 357.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.003595, allocations: 63.25 kB / 357.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.003863, allocations: 154.7 kB / 357.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.00407, allocations: 127.8 kB / 358.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.004445, allocations: 0.5448 MB / 358.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.004611, allocations: 98.02 kB / 358.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.004843, allocations: 303.2 kB / 359 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.005017, allocations: 163.4 kB / 359.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.005066, allocations: 36 kB / 359.2 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.138e-05/0.005137, allocations: 40 kB / 359.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.005192, allocations: 99.52 kB / 359.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.005296, allocations: 155.5 kB / 359.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.005596, allocations: 318.6 kB / 359.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005597, allocations: 4 kB / 359.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005598, allocations: 0 / 359.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.005603, allocations: 0 / 359.8 MB, free: 13.4 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0008753/0.006478, allocations: 0.8302 MB / 360.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.00651, allocations: 15.97 kB / 360.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.006638, allocations: 80.56 kB / 360.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.006951, allocations: 310.7 kB / 361 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.006972, allocations: 25.03 kB / 361.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.007022, allocations: 44.33 kB / 361.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.007343, allocations: 275.7 kB / 361.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.007357, allocations: 4.188 kB / 361.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.007377, allocations: 8.375 kB / 361.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.007388, allocations: 11.94 kB / 361.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.007593, allocations: 139.8 kB / 361.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.008673, allocations: 1.086 MB / 362.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.008966, allocations: 196 kB / 362.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.009073, allocations: 83.58 kB / 362.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.009092, allocations: 8.281 kB / 362.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.009112, allocations: 37.67 kB / 362.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.009114, allocations: 0 / 362.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001151/0.01026, allocations: 0.7479 MB / 363.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.01029, allocations: 59.41 kB / 363.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.01055, allocations: 390.7 kB / 364.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.01057, allocations: 37.7 kB / 364.2 MB, free: 8.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.01069, allocations: 267.6 kB / 364.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.01075, allocations: 139.1 kB / 364.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.01083, allocations: 75.84 kB / 364.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.01096, allocations: 0.5196 MB / 365.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.01104, allocations: 52.95 kB / 365.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.01115, allocations: 127.4 kB / 365.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.01136, allocations: 198.2 kB / 365.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.01136, allocations: 0 / 365.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003505/0.01171, allocations: 285.1 kB / 365.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01172, allocations: 4 kB / 365.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01173, allocations: 4 kB / 365.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01174, allocations: 3.984 kB / 365.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.01216, allocations: 155.9 kB / 366 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007921/0.01295, allocations: 1.846 MB / 367.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.01306, allocations: 19.89 kB / 367.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.01308, allocations: 12.16 kB / 367.8 MB, free: 4.918 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.0001028/0.01318, allocations: 176.5 kB / 368 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.01323, allocations: 47.77 kB / 368.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.01349, allocations: 257.8 kB / 368.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.0135, allocations: 4 kB / 368.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.0135, allocations: 3.938 kB / 368.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.0135, allocations: 3.984 kB / 368.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005964/0.0141, allocations: 0.6464 MB / 369 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.0141, allocations: 0 / 369 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.01433, allocations: 71.97 kB / 369 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01433, allocations: 7.938 kB / 369 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.01435, allocations: 19.92 kB / 369.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01435, allocations: 0 / 369.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01435, allocations: 0 / 369.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.01472, allocations: 461.4 kB / 369.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.089e-05/0.0148, allocations: 59.72 kB / 369.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.01484, allocations: 11.94 kB / 369.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.01494, allocations: 15.95 kB / 369.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.01499, allocations: 23.81 kB / 369.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.015, allocations: 12 kB / 369.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.01516, allocations: 271.1 kB / 369.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01516, allocations: 0 / 369.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.01538, allocations: 91.94 kB / 370 MB, free: 2.684 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 7.688e-05/0.01546, allocations: 95.25 kB / 370.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.01585, allocations: 221.2 kB / 370.3 MB, free: 2.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01585, allocations: 3.938 kB / 370.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.01596, allocations: 111.3 kB / 370.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.01628, allocations: 93.33 kB / 370.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.01763, allocations: 0.9742 MB / 371.5 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.203e-05/0.01769, allocations: 109.1 kB / 371.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.0178, allocations: 47.25 kB / 371.6 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.01788, allocations: 32.5 kB / 371.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01788, allocations: 0 / 371.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of Templates: time 0.006065/0.02395, allocations: 4.612 MB / 376.3 MB, free: 12.36 MB / 314.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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7698605796322227]