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.001066/0.001066, allocations: 111.2 kB / 17.68 MB, free: 5.355 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.001068/0.001068, allocations: 192 kB / 18.62 MB, free: 4.434 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.279/1.279, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2585/0.2585, allocations: 48.85 MB / 320.7 MB, free: 11.02 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.001432/0.001432, allocations: 69.78 kB / 391.5 MB, free: 48.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07767/0.07911, allocations: 59.15 MB / 450.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.00318/0.08232, allocations: 2.181 MB / 452.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000971/0.08331, allocations: 0.6319 MB / 453.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.08343, allocations: 0 / 453.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.08358, allocations: 31.66 kB / 453.5 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.08381, allocations: 75.41 kB / 453.6 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.08397, allocations: 55.86 kB / 453.6 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.08425, allocations: 243 kB / 453.9 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.08441, allocations: 52.31 kB / 453.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.08456, allocations: 103.6 kB / 454 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.08472, allocations: 95.55 kB / 454.1 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.08475, allocations: 19.94 kB / 454.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.773e-05/0.08481, allocations: 20 kB / 454.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.08486, allocations: 43.77 kB / 454.2 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.08497, allocations: 103.4 kB / 454.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.08519, allocations: 191.3 kB / 454.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.08521, allocations: 0 / 454.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.489e-06/0.08522, allocations: 0 / 454.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.08523, allocations: 7.938 kB / 454.5 MB, free: 5.172 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.0007998/0.08603, allocations: 0.5257 MB / 455 MB, free: 4.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.08607, allocations: 11.89 kB / 455 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.909e-05/0.08616, allocations: 28.56 kB / 455.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.08649, allocations: 266.8 kB / 455.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.08652, allocations: 16.38 kB / 455.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.08656, allocations: 12.38 kB / 455.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.08683, allocations: 159.6 kB / 455.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.08685, allocations: 0 / 455.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.08687, allocations: 8 kB / 455.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.08688, allocations: 4 kB / 455.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.08714, allocations: 103.9 kB / 455.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.08796, allocations: 0.5919 MB / 456.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.08821, allocations: 134.5 kB / 456.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.08837, allocations: 72.81 kB / 456.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.08839, allocations: 0 / 456.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.08842, allocations: 38.55 kB / 456.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.08842, allocations: 0 / 456.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009986/0.08943, allocations: 0.5571 MB / 457 MB, free: 2.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.08947, allocations: 55.41 kB / 457.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.08969, allocations: 229 kB / 457.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.08971, allocations: 25.7 kB / 457.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.0898, allocations: 144.3 kB / 457.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.08985, allocations: 59.05 kB / 457.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.08992, allocations: 45.7 kB / 457.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.09003, allocations: 330.8 kB / 457.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.09015, allocations: 51.97 kB / 457.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.0903, allocations: 82.33 kB / 458 MB, free: 1.375 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.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.0914, allocations: 422.3 kB / 458.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.09141, allocations: 4 kB / 458.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000333/0.09175, allocations: 193.2 kB / 458.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.09177, allocations: 4 kB / 458.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.09178, allocations: 0 / 458.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.0918, allocations: 4 kB / 458.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.09206, allocations: 63.92 kB / 458.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.09207, allocations: 0 / 458.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.0922, allocations: 12 kB / 458.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.09222, allocations: 4 kB / 458.7 MB, free: 0.6523 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.0001105/0.09234, allocations: 129.8 kB / 458.8 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.09239, allocations: 27.64 kB / 458.9 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.09244, allocations: 30.19 kB / 458.9 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.09245, allocations: 0 / 458.9 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.09246, allocations: 4 kB / 458.9 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.09247, allocations: 3.984 kB / 458.9 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006652/0.09314, allocations: 0.5139 MB / 459.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.09316, allocations: 3.984 kB / 459.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.09344, allocations: 51.97 kB / 459.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.09345, allocations: 0 / 459.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.09347, allocations: 0 / 459.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.09348, allocations: 4 kB / 459.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.09349, allocations: 11.94 kB / 459.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.09396, allocations: 334.3 kB / 459.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.09406, allocations: 108.9 kB / 459.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.09409, allocations: 0 / 459.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.09426, allocations: 11.98 kB / 459.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.09431, allocations: 15.98 kB / 459.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.09433, allocations: 8 kB / 460 MB, free: 15.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.09448, allocations: 164.4 kB / 460.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09448, allocations: 3.938 kB / 460.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.09476, allocations: 40 kB / 460.2 MB, free: 15.11 MB / 350.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.399e-05/0.09485, allocations: 103.2 kB / 460.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.09517, allocations: 135.8 kB / 460.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.09518, allocations: 0 / 460.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.09532, allocations: 67.91 kB / 460.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.09567, allocations: 32.42 kB / 460.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009271/0.09661, allocations: 0.5696 MB / 461.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.09689, allocations: 0.7398 MB / 461.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.815e-05/0.09698, allocations: 21.53 kB / 461.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.09704, allocations: 23.44 kB / 461.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09704, allocations: 0 / 461.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Templates: time 0.004549/0.1016, allocations: 1.981 MB / 463.8 MB, free: 11.38 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1)