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.001361/0.001361, allocations: 96.8 kB / 16.61 MB, free: 6.812 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.001567/0.001567, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.292/1.292, allocations: 205.1 MB / 223.4 MB, free: 12.37 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2677/0.2677, allocations: 48.85 MB / 319.6 MB, free: 11.26 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.001278/0.001278, allocations: 62.08 kB / 389.6 MB, free: 48.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08484/0.08613, allocations: 59.15 MB / 448.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.004122/0.09029, allocations: 2.177 MB / 450.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.09157, allocations: 0.6086 MB / 451.5 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.09171, allocations: 4 kB / 451.5 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.09187, allocations: 19.78 kB / 451.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.09214, allocations: 51.62 kB / 451.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.09231, allocations: 31.95 kB / 451.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.09261, allocations: 219 kB / 451.8 MB, free: 7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.09276, allocations: 32.3 kB / 451.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.09292, allocations: 87.58 kB / 451.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.09309, allocations: 79.56 kB / 452 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.09313, allocations: 12 kB / 452 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.485e-05/0.0932, allocations: 16 kB / 452 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.414e-05/0.09326, allocations: 39.84 kB / 452.1 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.09337, allocations: 91.47 kB / 452.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.09363, allocations: 159.6 kB / 452.3 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09364, allocations: 0 / 452.3 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09365, allocations: 0 / 452.3 MB, free: 6.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.09367, allocations: 0 / 452.3 MB, free: 6.492 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.000861/0.09454, allocations: 0.4892 MB / 452.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.09458, allocations: 15.89 kB / 452.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.0947, allocations: 20.66 kB / 452.8 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.09504, allocations: 248.8 kB / 453.1 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.09507, allocations: 4.375 kB / 453.1 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.09512, allocations: 16.36 kB / 453.1 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.09544, allocations: 139.6 kB / 453.2 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.09547, allocations: 4 kB / 453.2 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.09549, allocations: 4 kB / 453.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.09551, allocations: 7.938 kB / 453.3 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.09578, allocations: 79.89 kB / 453.3 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009169/0.09671, allocations: 0.545 MB / 453.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.09706, allocations: 110.5 kB / 454 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.0972, allocations: 44.84 kB / 454 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.09723, allocations: 0 / 454 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.09726, allocations: 38.56 kB / 454.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.09727, allocations: 0 / 454.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001013/0.0983, allocations: 445.6 kB / 454.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.09835, allocations: 51.41 kB / 454.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.09867, allocations: 229 kB / 454.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.0987, allocations: 25.7 kB / 454.8 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.09882, allocations: 136.3 kB / 454.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.09889, allocations: 43.3 kB / 455 MB, free: 3.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.09897, allocations: 29.72 kB / 455 MB, free: 3.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.09911, allocations: 330.8 kB / 455.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.09923, allocations: 31.98 kB / 455.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.09939, allocations: 62.44 kB / 455.4 MB, free: 3.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.09962, allocations: 98.55 kB / 455.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.09964, allocations: 0 / 455.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002293/0.09987, allocations: 141.3 kB / 455.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.09989, allocations: 7.938 kB / 455.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.0999, allocations: 0 / 455.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.09992, allocations: 4 kB / 455.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1001, allocations: 43.98 kB / 455.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1001, allocations: 3.938 kB / 455.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.953e-05/0.1002, allocations: 7.984 kB / 455.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.1002, allocations: 4 kB / 455.7 MB, free: 2.781 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 8.507e-05/0.1003, allocations: 130.7 kB / 455.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.1003, allocations: 19.75 kB / 455.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.1004, allocations: 21.7 kB / 455.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1004, allocations: 0 / 455.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1004, allocations: 4 kB / 455.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1004, allocations: 0 / 455.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000629/0.1011, allocations: 438.4 kB / 456.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1011, allocations: 0 / 456.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.1013, allocations: 31.92 kB / 456.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1013, allocations: 0 / 456.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1014, allocations: 3.984 kB / 456.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1014, allocations: 0 / 456.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.1014, allocations: 15.86 kB / 456.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.1018, allocations: 260.2 kB / 456.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.102, allocations: 108.9 kB / 456.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.102, allocations: 0 / 456.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.1022, allocations: 8 kB / 456.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1023, allocations: 7.984 kB / 456.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.1023, allocations: 0 / 456.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.1025, allocations: 168.5 kB / 456.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1025, allocations: 4 kB / 456.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004404/0.103, allocations: 28 kB / 456.9 MB, free: 1.469 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 0.0001313/0.1031, allocations: 107.1 kB / 457.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.1034, allocations: 91.84 kB / 457.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1034, allocations: 0 / 457.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.1036, allocations: 47.97 kB / 457.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.1042, allocations: 40.7 kB / 457.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.1054, allocations: 0.5651 MB / 457.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1058, allocations: 0.728 MB / 458.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.1059, allocations: 17.55 kB / 458.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.106, allocations: 19.44 kB / 458.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.106, allocations: 0 / 458.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Templates: time 0.005798/0.1118, allocations: 1.553 MB / 460.1 MB, free: 14.25 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile (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)