Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.001427/0.001427, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001489/0.001489, allocations: 169.3 kB / 24.27 MB, free: 144 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.474/1.474, 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.1483/0.1483, allocations: 19.73 MB / 280.8 MB, free: 9.293 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 357.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.06e-05, allocations: 2.312 kB / 357.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003379/0.0034, allocations: 2.009 MB / 359.2 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.004508, allocations: 0.5571 MB / 359.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.425e-05/0.004602, allocations: 4 kB / 359.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.004729, allocations: 19.73 kB / 359.8 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.004948, allocations: 71.36 kB / 359.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.005095, allocations: 51.92 kB / 359.9 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.005384, allocations: 218.8 kB / 360.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.005489, allocations: 24.58 kB / 360.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.005743, allocations: 119.7 kB / 360.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.005881, allocations: 67.73 kB / 360.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.005913, allocations: 12 kB / 360.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.337e-05/0.005966, allocations: 12 kB / 360.3 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.006011, allocations: 39.83 kB / 360.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.307e-05/0.006094, allocations: 55.83 kB / 360.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.006364, allocations: 167.3 kB / 360.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.006366, allocations: 4 kB / 360.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006366, allocations: 0 / 360.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.00637, allocations: 4 kB / 360.6 MB, free: 3.535 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008109/0.007181, allocations: 421.2 kB / 361 MB, free: 3.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.007215, allocations: 8.031 kB / 361 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.007328, allocations: 32.8 kB / 361.1 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.007664, allocations: 190.4 kB / 361.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.007683, allocations: 8.375 kB / 361.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.007723, allocations: 16.36 kB / 361.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.007997, allocations: 127.9 kB / 361.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.008012, allocations: 4.141 kB / 361.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.00803, allocations: 8.359 kB / 361.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.008041, allocations: 7.938 kB / 361.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.008249, allocations: 83.81 kB / 361.5 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.009045, allocations: 452.3 kB / 361.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.009344, allocations: 98.55 kB / 362 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.009453, allocations: 40.84 kB / 362.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.009466, allocations: 0 / 362.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.009501, allocations: 38.55 kB / 362.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.009502, allocations: 0 / 362.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008744/0.01038, allocations: 373.7 kB / 362.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.01042, allocations: 59.28 kB / 362.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.01068, allocations: 203.3 kB / 362.7 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.01071, allocations: 29.7 kB / 362.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.01082, allocations: 128.3 kB / 362.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.01087, allocations: 47.58 kB / 362.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.01093, allocations: 33.7 kB / 363 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.01111, allocations: 326.8 kB / 363.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.0112, allocations: 27.98 kB / 363.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.01132, allocations: 66.48 kB / 363.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.01152, allocations: 89.94 kB / 363.5 MB, free: 460 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.01152, allocations: 0 / 363.5 MB, free: 460 kB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002898/0.01181, allocations: 145.5 kB / 363.6 MB, free: 308 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.01182, allocations: 4 kB / 363.6 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01183, allocations: 0 / 363.6 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.01184, allocations: 4 kB / 363.6 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.01201, allocations: 43.98 kB / 363.7 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.01202, allocations: 3.938 kB / 363.7 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.01213, allocations: 8 kB / 363.7 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.01214, allocations: 4 kB / 363.7 MB, free: 240 kB / 282.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 (16): * Single equations (assignments): 16 * 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 prepare postOptimizeDAE: time 0.0001241/0.01226, allocations: 129.8 kB / 363.8 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.01232, allocations: 23.84 kB / 363.8 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.01237, allocations: 21.47 kB / 363.8 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.01238, allocations: 4 kB / 363.9 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.01238, allocations: 3.938 kB / 363.9 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01239, allocations: 4 kB / 363.9 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.01298, allocations: 362.1 kB / 364.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01298, allocations: 0 / 364.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.01315, allocations: 31.92 kB / 364.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01315, allocations: 0 / 364.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.01317, allocations: 7.938 kB / 364.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01317, allocations: 0 / 364.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01317, allocations: 0 / 364.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.0136, allocations: 267.5 kB / 364.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.01367, allocations: 31.88 kB / 364.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.01369, allocations: 0 / 364.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.01383, allocations: 7.984 kB / 364.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.01388, allocations: 11.98 kB / 364.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.01389, allocations: 0 / 364.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001747/0.01406, allocations: 152.4 kB / 364.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01406, allocations: 3.938 kB / 364.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.01435, allocations: 32 kB / 364.7 MB, free: 15.1 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.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 (12): * Single equations (assignments): 12 * 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.0001099/0.01446, allocations: 99.33 kB / 364.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.01468, allocations: 83.91 kB / 364.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01469, allocations: 0 / 364.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.01479, allocations: 47.91 kB / 365 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.01521, allocations: 31.97 kB / 365 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.01615, allocations: 460.8 kB / 365.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.01628, allocations: 112.8 kB / 365.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.004e-05/0.01635, allocations: 21.47 kB / 365.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.01641, allocations: 16.5 kB / 365.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01641, allocations: 0 / 365.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of Templates: time 0.004994/0.0214, allocations: 1.587 MB / 367.2 MB, free: 12.63 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.277824284974486]