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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 98.33 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009553/0.0009553, allocations: 190.7 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2437/0.2437, allocations: 48.85 MB / 319.5 MB, free: 11.31 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 65.39 kB / 389.4 MB, free: 49.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07747/0.07885, allocations: 59.16 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003156/0.08204, allocations: 2.348 MB / 450.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009379/0.083, allocations: 0.6398 MB / 451.5 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.633e-05/0.0831, allocations: 7.938 kB / 451.5 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.08322, allocations: 15.86 kB / 451.5 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.08342, allocations: 63.53 kB / 451.6 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.08354, allocations: 47.89 kB / 451.6 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.08377, allocations: 227 kB / 451.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.08391, allocations: 60.48 kB / 451.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.08405, allocations: 95.56 kB / 452 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.08419, allocations: 95.48 kB / 452.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.08423, allocations: 8 kB / 452.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.975e-05/0.08429, allocations: 16 kB / 452.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.08434, allocations: 31.84 kB / 452.2 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.602e-05/0.08444, allocations: 107.3 kB / 452.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.08464, allocations: 187.5 kB / 452.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.08466, allocations: 0 / 452.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.08466, allocations: 0 / 452.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.08467, allocations: 4 kB / 452.4 MB, free: 6.301 MB / 334.1 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.0008285/0.08551, allocations: 0.5242 MB / 453 MB, free: 5.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.08555, allocations: 11.97 kB / 453 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.08565, allocations: 28.56 kB / 453 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.08592, allocations: 262.8 kB / 453.3 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.08594, allocations: 12.38 kB / 453.3 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.08598, allocations: 20.36 kB / 453.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.08626, allocations: 155.6 kB / 453.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.08628, allocations: 3.984 kB / 453.5 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.0863, allocations: 7.938 kB / 453.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.08631, allocations: 4 kB / 453.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.08655, allocations: 103.9 kB / 453.6 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007928/0.08735, allocations: 0.5997 MB / 454.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.08761, allocations: 130.5 kB / 454.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.08775, allocations: 68.83 kB / 454.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.08777, allocations: 0 / 454.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.0878, allocations: 34.56 kB / 454.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.0878, allocations: 0 / 454.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001026/0.08884, allocations: 0.5638 MB / 455 MB, free: 3.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.08888, allocations: 51.41 kB / 455 MB, free: 3.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.08909, allocations: 225 kB / 455.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.08912, allocations: 37.64 kB / 455.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.08921, allocations: 140.3 kB / 455.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.08926, allocations: 67.08 kB / 455.5 MB, free: 3.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.08932, allocations: 37.7 kB / 455.5 MB, free: 2.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.08944, allocations: 334.8 kB / 455.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.08957, allocations: 47.97 kB / 455.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.0897, allocations: 83.2 kB / 456 MB, free: 2.504 MB / 334.1 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.1591549430918953 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.09082, allocations: 427.2 kB / 456.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.09083, allocations: 0 / 456.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003228/0.09116, allocations: 189.2 kB / 456.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.09118, allocations: 8 kB / 456.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.09119, allocations: 32 / 456.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.09121, allocations: 4 kB / 456.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.09146, allocations: 59.97 kB / 456.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.09149, allocations: 3.938 kB / 456.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.09162, allocations: 15.92 kB / 456.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.09164, allocations: 4 kB / 456.7 MB, free: 1.773 MB / 334.1 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 0.000103/0.09175, allocations: 129.8 kB / 456.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.0918, allocations: 27.66 kB / 456.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.357e-05/0.09186, allocations: 26.17 kB / 456.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.09187, allocations: 4 kB / 456.8 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.09188, allocations: 3.938 kB / 456.8 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.09189, allocations: 0 / 456.8 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.09256, allocations: 0.5247 MB / 457.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.09257, allocations: 0 / 457.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.09285, allocations: 59.91 kB / 457.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.09286, allocations: 0 / 457.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.09288, allocations: 4 kB / 457.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.09289, allocations: 0 / 457.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.09289, allocations: 3.984 kB / 457.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004669/0.09336, allocations: 331 kB / 457.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.09345, allocations: 112.8 kB / 457.9 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.09349, allocations: 4 kB / 457.9 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.09364, allocations: 4 kB / 457.9 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.0937, allocations: 11.98 kB / 457.9 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.09371, allocations: 4 kB / 457.9 MB, free: 456 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.09386, allocations: 168.4 kB / 458.1 MB, free: 284 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09387, allocations: 0 / 458.1 MB, free: 284 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.09414, allocations: 44 kB / 458.1 MB, free: 240 kB / 334.1 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 8.931e-05/0.09423, allocations: 103.2 kB / 458.2 MB, free: 124 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.09454, allocations: 135.9 kB / 458.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.09456, allocations: 0 / 458.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.0947, allocations: 67.91 kB / 458.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.09506, allocations: 32.66 kB / 458.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009585/0.09603, allocations: 0.6426 MB / 459.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.0963, allocations: 0.7362 MB / 459.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.09639, allocations: 17.55 kB / 459.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.09646, allocations: 19.44 kB / 459.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09646, allocations: 0 / 459.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Templates: time 0.004134/0.1006, allocations: 1.846 MB / 461.7 MB, free: 12.59 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile (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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1)