Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.002373/0.002373, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002668/0.002668, allocations: 165.3 kB / 24.27 MB, free: 152 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.532/1.532, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.1475/0.1475, allocations: 19.73 MB / 280.8 MB, free: 9.297 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 357.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.296e-05, allocations: 9.203 kB / 357.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.004113/0.004136, allocations: 2.633 MB / 359.8 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.005502, allocations: 0.7206 MB / 360.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.005638, allocations: 11.94 kB / 360.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.005803, allocations: 47.45 kB / 360.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.006112, allocations: 122.9 kB / 360.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.006316, allocations: 91.8 kB / 360.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.006809, allocations: 413.9 kB / 361.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.006962, allocations: 57.7 kB / 361.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.007333, allocations: 239.3 kB / 361.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.007562, allocations: 123.5 kB / 361.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.007618, allocations: 28 kB / 361.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-05/0.007705, allocations: 24 kB / 361.7 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.51e-05/0.00778, allocations: 71.69 kB / 361.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.007927, allocations: 115.7 kB / 361.9 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.008354, allocations: 314.8 kB / 362.2 MB, free: 1.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.00836, allocations: 4 kB / 362.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.008361, allocations: 0 / 362.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.008366, allocations: 0 / 362.2 MB, free: 1.953 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001221/0.009587, allocations: 0.7095 MB / 362.9 MB, free: 1.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.009619, allocations: 8.031 kB / 362.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.009773, allocations: 60.7 kB / 363 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.0102, allocations: 272.4 kB / 363.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.01023, allocations: 16.88 kB / 363.3 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.01028, allocations: 28.38 kB / 363.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.01074, allocations: 252.6 kB / 363.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.01076, allocations: 192 / 363.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.01078, allocations: 12.38 kB / 363.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.01079, allocations: 7.938 kB / 363.5 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.01118, allocations: 165.8 kB / 363.7 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.01255, allocations: 0.9017 MB / 364.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.0129, allocations: 175.1 kB / 364.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.0131, allocations: 95.64 kB / 364.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.01313, allocations: 8 kB / 364.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.01317, allocations: 41.39 kB / 364.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.232e-06/0.01317, allocations: 0 / 364.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.00143/0.0146, allocations: 0.6453 MB / 365.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.01465, allocations: 59.39 kB / 365.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.01509, allocations: 402.2 kB / 366 MB, free: 13.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.01512, allocations: 29.7 kB / 366 MB, free: 13.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.01531, allocations: 235.5 kB / 366.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.01542, allocations: 107.1 kB / 366.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.01552, allocations: 59.36 kB / 366.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002995/0.01582, allocations: 0.5352 MB / 367 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.01599, allocations: 63.97 kB / 367 MB, free: 12.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.0162, allocations: 124.4 kB / 367.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.01659, allocations: 204.6 kB / 367.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.01659, allocations: 0 / 367.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006812/0.01727, allocations: 322.8 kB / 367.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.01729, allocations: 4 kB / 367.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01729, allocations: 0 / 367.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/0.01768, allocations: 75.69 kB / 367.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.01806, allocations: 75.89 kB / 367.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/0.02149, allocations: 3.86 MB / 371.7 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.02168, allocations: 24.08 kB / 371.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.02169, allocations: 4 kB / 371.7 MB, free: 7.898 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.02187, allocations: 192.5 kB / 371.9 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.971e-05/0.02195, allocations: 43.75 kB / 371.9 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.02245, allocations: 249.6 kB / 372.2 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.02246, allocations: 4 kB / 372.2 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.02246, allocations: 0 / 372.2 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.02246, allocations: 4 kB / 372.2 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.02348, allocations: 0.6461 MB / 372.8 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.02349, allocations: 0 / 372.8 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.02381, allocations: 63.97 kB / 372.9 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.02381, allocations: 0 / 372.9 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.02383, allocations: 4 kB / 372.9 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.02383, allocations: 4 kB / 372.9 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.02384, allocations: 3.984 kB / 372.9 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.02458, allocations: 492.5 kB / 373.4 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.02469, allocations: 43.78 kB / 373.4 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.02473, allocations: 4 kB / 373.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.02491, allocations: 11.94 kB / 373.5 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.02497, allocations: 23.95 kB / 373.5 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.02499, allocations: 4 kB / 373.5 MB, free: 6.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002875/0.02527, allocations: 267 kB / 373.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02527, allocations: 0 / 373.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.02561, allocations: 72 kB / 373.8 MB, free: 5.715 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * 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 (28): * Single equations (assignments): 28 * 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.0001205/0.02573, allocations: 103.2 kB / 373.9 MB, free: 5.602 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008892/0.02662, allocations: 430.1 kB / 374.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02662, allocations: 0 / 374.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.02684, allocations: 119.6 kB / 374.5 MB, free: 5.039 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.0273, allocations: 80.59 kB / 374.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.02879, allocations: 0.791 MB / 375.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.02899, allocations: 186.8 kB / 375.5 MB, free: 3.938 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.02911, allocations: 34.95 kB / 375.5 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.765e-05/0.0292, allocations: 28.5 kB / 375.6 MB, free: 3.879 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0292, allocations: 0 / 375.6 MB, free: 3.879 MB / 298.7 MB Notification: Performance of Templates: time 0.008836/0.03803, allocations: 3.655 MB / 379.2 MB, free: 268 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.517113151028752]