Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000955/0.0009551, allocations: 91.67 kB / 16.65 MB, free: 6.348 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.00119/0.00119, allocations: 180.9 kB / 17.57 MB, free: 5.949 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.4 MB / 223.7 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2486/0.2486, allocations: 48.78 MB / 320.8 MB, free: 11.11 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.0004916/0.0004916, allocations: 12.62 kB / 391.8 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08446/0.08496, allocations: 60.27 MB / 452.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002045/0.08705, allocations: 1.815 MB / 453.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000984/0.08806, allocations: 0.6048 MB / 454.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.0882, allocations: 0 / 454.5 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.08833, allocations: 19.84 kB / 454.5 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.08855, allocations: 55.56 kB / 454.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.08868, allocations: 35.95 kB / 454.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.08892, allocations: 203 kB / 454.8 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.08906, allocations: 36.28 kB / 454.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.0892, allocations: 71.64 kB / 454.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.08934, allocations: 83.5 kB / 455 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.08938, allocations: 8 kB / 455 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.303e-05/0.08943, allocations: 12 kB / 455 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.08947, allocations: 23.86 kB / 455 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.542e-05/0.08956, allocations: 113.2 kB / 455.1 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.08975, allocations: 147.6 kB / 455.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.08976, allocations: 0 / 455.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.08977, allocations: 0 / 455.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.08978, allocations: 0 / 455.3 MB, free: 5.926 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006507/0.09043, allocations: 478.6 kB / 455.8 MB, free: 5.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.09048, allocations: 8.031 kB / 455.8 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.172e-05/0.09058, allocations: 20.75 kB / 455.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.09084, allocations: 248.8 kB / 456 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.09087, allocations: 4.375 kB / 456 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.0909, allocations: 12.38 kB / 456 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.09115, allocations: 143.6 kB / 456.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.09118, allocations: 0 / 456.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.0912, allocations: 0 / 456.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.09121, allocations: 4 kB / 456.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.09141, allocations: 83.89 kB / 456.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.09216, allocations: 0.5528 MB / 456.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.09244, allocations: 114.5 kB / 456.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.322e-05/0.09254, allocations: 48.84 kB / 457 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.09256, allocations: 4 kB / 457 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.09259, allocations: 38.55 kB / 457 MB, free: 4.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.0926, allocations: 0 / 457 MB, free: 4.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007916/0.0934, allocations: 453.7 kB / 457.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.09344, allocations: 51.41 kB / 457.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.09365, allocations: 229 kB / 457.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.09368, allocations: 29.7 kB / 457.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.09376, allocations: 136.2 kB / 457.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.0938, allocations: 51.28 kB / 458 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.09384, allocations: 17.72 kB / 458 MB, free: 2.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.09395, allocations: 330.8 kB / 458.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.09403, allocations: 31.98 kB / 458.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/0.09413, allocations: 58.56 kB / 458.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.09431, allocations: 98.48 kB / 458.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.09432, allocations: 0 / 458.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002498/0.09458, allocations: 149.5 kB / 458.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.0946, allocations: 7.938 kB / 458.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.09461, allocations: 0 / 458.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.09463, allocations: 0 / 458.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.09478, allocations: 39.92 kB / 458.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.0948, allocations: 0 / 458.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.09491, allocations: 15.92 kB / 458.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.09493, allocations: 4 kB / 458.7 MB, free: 2.219 MB / 334.1 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 9.167e-05/0.09503, allocations: 130.5 kB / 458.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.09508, allocations: 19.75 kB / 458.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.09513, allocations: 21.7 kB / 458.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.09514, allocations: 0 / 458.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.09515, allocations: 0 / 458.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.09516, allocations: 4 kB / 458.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.09568, allocations: 450.3 kB / 459.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.09569, allocations: 0 / 459.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.09585, allocations: 27.98 kB / 459.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.09586, allocations: 0 / 459.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.09588, allocations: 3.984 kB / 459.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.09589, allocations: 4 kB / 459.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.0959, allocations: 0 / 459.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.09625, allocations: 272.4 kB / 459.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.09634, allocations: 108.8 kB / 459.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.09637, allocations: 0 / 459.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.0965, allocations: 8 kB / 459.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.09654, allocations: 7.984 kB / 459.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.09655, allocations: 0 / 459.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.09669, allocations: 160.5 kB / 459.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.0967, allocations: 4 kB / 459.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.09697, allocations: 35.98 kB / 459.9 MB, free: 0.8984 MB / 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 (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 9.353e-05/0.09707, allocations: 111.1 kB / 460 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.09729, allocations: 88.03 kB / 460.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.0973, allocations: 0 / 460.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.0974, allocations: 44.16 kB / 460.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.09781, allocations: 48.98 kB / 460.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009141/0.09874, allocations: 0.6348 MB / 460.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.099, allocations: 0.7283 MB / 461.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.069e-05/0.09908, allocations: 17.53 kB / 461.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.09913, allocations: 15.44 kB / 461.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09914, allocations: 3.938 kB / 461.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of Templates: time 0.004072/0.1032, allocations: 1.468 MB / 463.1 MB, free: 13.69 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) Environment - environmentSimulation: