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.001253/0.001253, allocations: 80.8 kB / 21.5 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.001481/0.001481, allocations: 173.2 kB / 24.91 MB, free: 8.777 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.9659/0.9659, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.1015/0.1015, allocations: 19.74 MB / 281.6 MB, free: 9.125 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.673e-06/1.673e-06, allocations: 0 / 305.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.14e-05, allocations: 5.5 kB / 305.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.003529/0.00355, allocations: 3.129 MB / 308.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.005105, allocations: 0.8556 MB / 309.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.005344, allocations: 7.938 kB / 309.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.005514, allocations: 59.5 kB / 309.2 MB, free: 9.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.00585, allocations: 152.5 kB / 309.4 MB, free: 9.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.00612, allocations: 134.5 kB / 309.5 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006171/0.006737, allocations: 0.5399 MB / 310.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.006921, allocations: 101.9 kB / 310.2 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000395/0.007316, allocations: 318.4 kB / 310.5 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.007508, allocations: 163.4 kB / 310.6 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.00755, allocations: 36 kB / 310.7 MB, free: 8.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.992e-05/0.00763, allocations: 36 kB / 310.7 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.007684, allocations: 99.53 kB / 310.8 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.007786, allocations: 155.5 kB / 311 MB, free: 8.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.008094, allocations: 314.6 kB / 311.3 MB, free: 8.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.008096, allocations: 0 / 311.3 MB, free: 8.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.008097, allocations: 0 / 311.3 MB, free: 8.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.008102, allocations: 0 / 311.3 MB, free: 8.125 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.0007564/0.008859, allocations: 0.7179 MB / 312 MB, free: 7.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.008893, allocations: 8.031 kB / 312 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.009007, allocations: 60.88 kB / 312.1 MB, free: 7.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.009284, allocations: 267.9 kB / 312.3 MB, free: 7.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.009301, allocations: 25.03 kB / 312.3 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.009346, allocations: 48.25 kB / 312.4 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.009594, allocations: 251.1 kB / 312.6 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.009606, allocations: 4.188 kB / 312.6 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.009623, allocations: 8.375 kB / 312.6 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.009631, allocations: 11.94 kB / 312.7 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.009763, allocations: 103.1 kB / 312.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.01088, allocations: 0.7579 MB / 313.5 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.0111, allocations: 157.4 kB / 313.7 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.419e-05/0.01116, allocations: 57.39 kB / 313.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.01118, allocations: 12.27 kB / 313.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.0112, allocations: 46.72 kB / 313.8 MB, free: 5.488 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.0112, allocations: 0 / 313.8 MB, free: 5.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008845/0.01209, allocations: 0.5784 MB / 314.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.01211, allocations: 55.41 kB / 314.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.0123, allocations: 331.3 kB / 314.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.01232, allocations: 29.7 kB / 314.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.01239, allocations: 181.8 kB / 314.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.01245, allocations: 142.8 kB / 315.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.01251, allocations: 66.17 kB / 315.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.0126, allocations: 366.7 kB / 315.5 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/0.01265, allocations: 36.92 kB / 315.5 MB, free: 3.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-05/0.01271, allocations: 85.23 kB / 315.6 MB, free: 3.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.01285, allocations: 155.9 kB / 315.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01285, allocations: 0 / 315.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002059/0.01306, allocations: 202.2 kB / 316 MB, free: 3.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.01307, allocations: 8.031 kB / 316 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.01307, allocations: 0 / 316 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.01308, allocations: 4 kB / 316 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.01362, allocations: 206.8 kB / 316.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005965/0.01421, allocations: 1.24 MB / 317.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.01433, allocations: 19.86 kB / 317.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.01434, allocations: 15.94 kB / 317.5 MB, free: 1.598 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.707e-05/0.01443, allocations: 129.9 kB / 317.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.01447, allocations: 35.97 kB / 317.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.01465, allocations: 189.8 kB / 317.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01465, allocations: 4 kB / 317.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.01465, allocations: 0 / 317.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01466, allocations: 7.922 kB / 317.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.0151, allocations: 439.4 kB / 318.3 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.0151, allocations: 3.984 kB / 318.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.01537, allocations: 107.9 kB / 318.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01537, allocations: 0 / 318.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01538, allocations: 8 kB / 318.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01538, allocations: 3.938 kB / 318.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01539, allocations: 0 / 318.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.01563, allocations: 329.2 kB / 318.7 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-05/0.0157, allocations: 43.7 kB / 318.7 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.01573, allocations: 12 kB / 318.7 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.01583, allocations: 11.92 kB / 318.8 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.01587, allocations: 27.95 kB / 318.8 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.01588, allocations: 4 kB / 318.8 MB, free: 216 kB / 282.7 MB Notification: Performance of sorting global known variables: time 9.395e-05/0.01597, allocations: 140.7 kB / 318.9 MB, free: 76 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01597, allocations: 0 / 318.9 MB, free: 76 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.01618, allocations: 84.05 kB / 319 MB, free: 15.99 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.596e-05/0.01626, allocations: 87.28 kB / 319.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.01651, allocations: 189.9 kB / 319.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.01652, allocations: 4 kB / 319.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/0.0166, allocations: 97.12 kB / 319.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.01687, allocations: 99.64 kB / 319.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.01806, allocations: 0.8678 MB / 320.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.01837, allocations: 113.8 kB / 320.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.01849, allocations: 43.25 kB / 320.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.01866, allocations: 127.3 kB / 320.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01866, allocations: 0 / 320.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of Templates: time 0.00669/0.02535, allocations: 4.988 MB / 325.6 MB, free: 9.449 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6957145328633487]