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.0008644/0.0008644, allocations: 80.8 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.0009706/0.0009706, allocations: 171.5 kB / 24.91 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.9243/0.9243, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.09694/0.09694, allocations: 19.74 MB / 281.6 MB, free: 9.035 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.332e-06/1.332e-06, allocations: 0 / 305.2 MB, free: 13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.649e-05, allocations: 3.516 kB / 305.2 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.01049/0.01051, allocations: 3.081 MB / 308.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.01234, allocations: 0.8502 MB / 309.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.01255, allocations: 11.94 kB / 309.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.01273, allocations: 57.25 kB / 309.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.01619, allocations: 160.7 kB / 309.3 MB, free: 9.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.01653, allocations: 126.4 kB / 309.4 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005997/0.01713, allocations: 0.541 MB / 310 MB, free: 9.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.01735, allocations: 105.2 kB / 310.1 MB, free: 9.211 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.0178, allocations: 307.6 kB / 310.4 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.01806, allocations: 171.4 kB / 310.6 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.01812, allocations: 36 kB / 310.6 MB, free: 8.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-05/0.01821, allocations: 47.94 kB / 310.6 MB, free: 8.715 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-05/0.01829, allocations: 91.53 kB / 310.7 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.01844, allocations: 155.5 kB / 310.9 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.01883, allocations: 318.7 kB / 311.2 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.01883, allocations: 0 / 311.2 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.01883, allocations: 0 / 311.2 MB, free: 8.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.01884, allocations: 0 / 311.2 MB, free: 8.16 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.004076/0.02292, allocations: 0.7101 MB / 311.9 MB, free: 7.426 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.02295, allocations: 12.03 kB / 311.9 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.02309, allocations: 56.89 kB / 312 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.02346, allocations: 267.8 kB / 312.2 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.02349, allocations: 25.03 kB / 312.2 MB, free: 7.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.568e-05/0.02355, allocations: 48.3 kB / 312.3 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.02391, allocations: 255.1 kB / 312.5 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.02393, allocations: 4.172 kB / 312.5 MB, free: 6.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.02395, allocations: 16.38 kB / 312.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.02397, allocations: 15.94 kB / 312.6 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.02416, allocations: 99.09 kB / 312.7 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004358/0.02852, allocations: 0.7424 MB / 313.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.02883, allocations: 168 kB / 313.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.02893, allocations: 67.64 kB / 313.7 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.02896, allocations: 4.281 kB / 313.7 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.02899, allocations: 38.78 kB / 313.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.02899, allocations: 0 / 313.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.00132/0.03031, allocations: 0.5747 MB / 314.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.03034, allocations: 55.41 kB / 314.3 MB, free: 4.859 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.03064, allocations: 335.3 kB / 314.6 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.03066, allocations: 33.7 kB / 314.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.996e-05/0.03076, allocations: 185.8 kB / 314.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003113/0.03387, allocations: 138.8 kB / 315 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/0.03397, allocations: 74.16 kB / 315.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.03408, allocations: 350.7 kB / 315.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.262e-05/0.03415, allocations: 36.97 kB / 315.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/0.03425, allocations: 89.23 kB / 315.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.03444, allocations: 155.9 kB / 315.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.03445, allocations: 4 kB / 315.7 MB, free: 3.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002864/0.03473, allocations: 198.1 kB / 315.9 MB, free: 3.223 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.03475, allocations: 10.12 kB / 315.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.03476, allocations: 4 kB / 315.9 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.03477, allocations: 4 kB / 315.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.03527, allocations: 144 kB / 316 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008174/0.03608, allocations: 1.244 MB / 317.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.03623, allocations: 11.98 kB / 317.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.03625, allocations: 12 kB / 317.3 MB, free: 1.703 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 0.0001099/0.03636, allocations: 137.8 kB / 317.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.03642, allocations: 35.97 kB / 317.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.03667, allocations: 193.8 kB / 317.7 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.03667, allocations: 4 kB / 317.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.03668, allocations: 0 / 317.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.03668, allocations: 3.984 kB / 317.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.03724, allocations: 439.6 kB / 318.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.03725, allocations: 0 / 318.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.03753, allocations: 79.91 kB / 318.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.03754, allocations: 4 kB / 318.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.03756, allocations: 12 kB / 318.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.03756, allocations: 3.984 kB / 318.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.03756, allocations: 4 kB / 318.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.03789, allocations: 333.3 kB / 318.5 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.03798, allocations: 47.7 kB / 318.6 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.03802, allocations: 8 kB / 318.6 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.03815, allocations: 8 kB / 318.6 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.03819, allocations: 23.95 kB / 318.6 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.0382, allocations: 4 kB / 318.6 MB, free: 336 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.03833, allocations: 140.6 kB / 318.8 MB, free: 196 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03833, allocations: 4 kB / 318.8 MB, free: 192 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005107/0.03884, allocations: 84 kB / 318.8 MB, free: 108 kB / 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 0.0001019/0.03894, allocations: 88.34 kB / 318.9 MB, free: 12 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.03928, allocations: 185.7 kB / 319.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.03929, allocations: 4.25 kB / 319.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.03939, allocations: 96.84 kB / 319.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.03972, allocations: 87.28 kB / 319.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.04111, allocations: 0.871 MB / 320.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.403e-05/0.0412, allocations: 109.1 kB / 320.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.04135, allocations: 55.17 kB / 320.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.04158, allocations: 115.3 kB / 320.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of SimCode: time 1.332e-06/0.04159, allocations: 4 kB / 320.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of Templates: time 0.006669/0.04825, allocations: 4.664 MB / 325.1 MB, free: 9.879 MB / 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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.653566142078489]