Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.001623/0.001623, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001838/0.001838, allocations: 161.5 kB / 25.61 MB, free: 8.578 MB / 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.8932/0.8932, allocations: 158.6 MB / 187.5 MB, free: 2.828 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.1685/0.1685, allocations: 36.34 MB / 276.2 MB, free: 14.38 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 355 MB, free: 62.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.408e-05, allocations: 3.156 kB / 355 MB, free: 62.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002729/0.002743, allocations: 2.18 MB / 357.2 MB, free: 61.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009145/0.003658, allocations: 0.6074 MB / 357.8 MB, free: 61.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.003775, allocations: 7.875 kB / 357.8 MB, free: 61.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.003894, allocations: 27.7 kB / 357.9 MB, free: 61.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.004101, allocations: 80.52 kB / 357.9 MB, free: 61.08 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.004239, allocations: 52.03 kB / 358 MB, free: 61.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.004482, allocations: 258.3 kB / 358.2 MB, free: 60.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.004603, allocations: 31.42 kB / 358.3 MB, free: 60.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.004801, allocations: 140.9 kB / 358.4 MB, free: 60.86 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.004936, allocations: 78.55 kB / 358.5 MB, free: 60.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.004964, allocations: 15.03 kB / 358.5 MB, free: 60.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.694e-05/0.005021, allocations: 22.34 kB / 358.5 MB, free: 60.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.005057, allocations: 44.83 kB / 358.6 MB, free: 60.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.005124, allocations: 70.88 kB / 358.6 MB, free: 60.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.005324, allocations: 152.5 kB / 358.8 MB, free: 60.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005326, allocations: 0 / 358.8 MB, free: 60.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005327, allocations: 1.406 kB / 358.8 MB, free: 60.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.005331, allocations: 0 / 358.8 MB, free: 60.69 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005489/0.00588, allocations: 0.5567 MB / 359.3 MB, free: 60.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.005911, allocations: 9.188 kB / 359.3 MB, free: 60.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.517e-05/0.006006, allocations: 35.14 kB / 359.4 MB, free: 60.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.006197, allocations: 207.6 kB / 359.6 MB, free: 60.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.00621, allocations: 10.38 kB / 359.6 MB, free: 60 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.006238, allocations: 19.39 kB / 359.6 MB, free: 60 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.006416, allocations: 136.5 kB / 359.7 MB, free: 59.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.006427, allocations: 0.8438 kB / 359.7 MB, free: 59.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.006439, allocations: 5.5 kB / 359.8 MB, free: 59.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.006447, allocations: 11.91 kB / 359.8 MB, free: 59.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.419e-05/0.006541, allocations: 46.42 kB / 359.8 MB, free: 59.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.007045, allocations: 0.5404 MB / 360.4 MB, free: 59.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.007173, allocations: 90.77 kB / 360.4 MB, free: 59.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.007225, allocations: 40.83 kB / 360.5 MB, free: 59.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.007235, allocations: 3.312 kB / 360.5 MB, free: 59.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.007251, allocations: 39.36 kB / 360.5 MB, free: 59.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.007252, allocations: 0 / 360.5 MB, free: 59.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005079/0.00776, allocations: 358.7 kB / 360.9 MB, free: 59.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.00778, allocations: 57.67 kB / 360.9 MB, free: 59.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.00793, allocations: 273.8 kB / 361.2 MB, free: 58.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.00794, allocations: 27.66 kB / 361.2 MB, free: 58.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.008009, allocations: 187.6 kB / 361.4 MB, free: 58.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.008044, allocations: 64.61 kB / 361.5 MB, free: 58.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.008098, allocations: 43.44 kB / 361.5 MB, free: 58.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.008153, allocations: 0.5083 MB / 362 MB, free: 58.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.726e-05/0.008191, allocations: 18.86 kB / 362 MB, free: 58.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.008249, allocations: 56.59 kB / 362.1 MB, free: 57.98 MB / 330.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003148/0.008564, allocations: 170 kB / 362.3 MB, free: 57.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.008566, allocations: 1.219 kB / 362.3 MB, free: 57.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001729/0.008739, allocations: 134.9 kB / 362.4 MB, free: 57.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.008751, allocations: 6.297 kB / 362.4 MB, free: 57.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.008755, allocations: 1.125 kB / 362.4 MB, free: 57.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.008765, allocations: 1.344 kB / 362.4 MB, free: 57.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.008942, allocations: 65.2 kB / 362.5 MB, free: 57.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.008947, allocations: 6.953 kB / 362.5 MB, free: 57.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.009026, allocations: 6.094 kB / 362.5 MB, free: 57.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.009036, allocations: 7.312 kB / 362.5 MB, free: 57.83 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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 6.222e-05/0.009098, allocations: 160.6 kB / 362.6 MB, free: 57.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.00914, allocations: 33.58 kB / 362.7 MB, free: 57.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.009185, allocations: 25.62 kB / 362.7 MB, free: 57.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.009188, allocations: 2.812 kB / 362.7 MB, free: 57.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.00919, allocations: 0 / 362.7 MB, free: 57.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.009195, allocations: 10.34 kB / 362.7 MB, free: 57.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.009585, allocations: 411.8 kB / 363.1 MB, free: 57.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.009588, allocations: 2.188 kB / 363.1 MB, free: 57.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.009771, allocations: 49.17 kB / 363.2 MB, free: 57.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.009774, allocations: 0 / 363.2 MB, free: 57.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.009784, allocations: 6.688 kB / 363.2 MB, free: 57.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.009787, allocations: 5.156 kB / 363.2 MB, free: 57.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.009788, allocations: 0.75 kB / 363.2 MB, free: 57.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.01002, allocations: 306.6 kB / 363.5 MB, free: 57.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.01007, allocations: 35.94 kB / 363.5 MB, free: 57.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.0101, allocations: 9.688 kB / 363.5 MB, free: 57.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.0102, allocations: 16.67 kB / 363.5 MB, free: 57.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.01024, allocations: 9.969 kB / 363.5 MB, free: 57.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.01024, allocations: 2.156 kB / 363.5 MB, free: 57.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.623e-05/0.01033, allocations: 188.4 kB / 363.7 MB, free: 56.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01033, allocations: 0 / 363.7 MB, free: 56.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.01059, allocations: 43.31 kB / 363.8 MB, free: 56.89 MB / 330.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 (18): * Single equations (assignments): 18 * 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 6.583e-05/0.01066, allocations: 91.56 kB / 363.9 MB, free: 56.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.01082, allocations: 91.09 kB / 364 MB, free: 56.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01082, allocations: 1.25 kB / 364 MB, free: 56.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.23e-05/0.01088, allocations: 52.56 kB / 364 MB, free: 56.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.0112, allocations: 35.97 kB / 364 MB, free: 56.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009187/0.01212, allocations: 0.503 MB / 364.5 MB, free: 56.4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.32e-05/0.01216, allocations: 78.11 kB / 364.6 MB, free: 56.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.214e-05/0.01223, allocations: 26.36 kB / 364.6 MB, free: 56.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.01233, allocations: 99.66 kB / 364.7 MB, free: 56.25 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01233, allocations: 0 / 364.7 MB, free: 56.25 MB / 330.7 MB Notification: Performance of Templates: time 0.004714/0.01705, allocations: 2.277 MB / 367 MB, free: 55.79 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.862589511089027]