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.001037/0.001037, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001008/0.001008, allocations: 200 kB / 18.01 MB, free: 5.055 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.243/1.243, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2538/0.2538, allocations: 48.85 MB / 320.1 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.00139/0.00139, allocations: 67.91 kB / 450.5 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08817/0.08957, allocations: 59.15 MB / 0.4977 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002994/0.0926, allocations: 2.074 MB / 0.4997 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.09364, allocations: 0.6047 MB / 0.5003 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.09377, allocations: 4 kB / 0.5003 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.09392, allocations: 23.72 kB / 0.5004 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.09415, allocations: 67.47 kB / 0.5004 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.09431, allocations: 43.89 kB / 0.5005 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.09458, allocations: 211 kB / 0.5007 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.09472, allocations: 44.28 kB / 0.5007 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.09487, allocations: 83.58 kB / 0.5008 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.09503, allocations: 87.61 kB / 0.5009 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.09507, allocations: 12 kB / 0.5009 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.361e-05/0.09512, allocations: 16 kB / 0.5009 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.09516, allocations: 31.84 kB / 0.5009 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.615e-05/0.09524, allocations: 87.48 kB / 0.501 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.09547, allocations: 175.2 kB / 0.5012 GB, free: 9.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.09548, allocations: 0 / 0.5012 GB, free: 9.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09549, allocations: 0 / 0.5012 GB, free: 9.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.0955, allocations: 0 / 0.5012 GB, free: 9.703 MB / 398.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.0007164/0.09622, allocations: 494.5 kB / 0.5017 GB, free: 9.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.09627, allocations: 15.89 kB / 0.5017 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.09638, allocations: 24.66 kB / 0.5017 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.09667, allocations: 244.8 kB / 0.5019 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.09669, allocations: 8.375 kB / 0.5019 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.09673, allocations: 12.38 kB / 0.5019 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.09697, allocations: 129.2 kB / 0.5021 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.09699, allocations: 0 / 0.5021 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.09702, allocations: 15.94 kB / 0.5021 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.09704, allocations: 4 kB / 0.5021 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.09723, allocations: 79.88 kB / 0.5022 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.09796, allocations: 0.5527 MB / 0.5027 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.09824, allocations: 110.5 kB / 0.5028 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.383e-05/0.09834, allocations: 40.84 kB / 0.5028 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.09836, allocations: 0 / 0.5028 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.09839, allocations: 34.56 kB / 0.5029 GB, free: 7.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.001e-06/0.0984, allocations: 0 / 0.5029 GB, free: 7.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007887/0.09919, allocations: 449.6 kB / 0.5033 GB, free: 7.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.09924, allocations: 51.41 kB / 0.5034 GB, free: 7.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.09946, allocations: 221 kB / 0.5036 GB, free: 7.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.09949, allocations: 33.7 kB / 0.5036 GB, free: 6.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.09957, allocations: 124.3 kB / 0.5037 GB, free: 6.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.09962, allocations: 51.28 kB / 0.5038 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.09967, allocations: 29.72 kB / 0.5038 GB, free: 6.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.09979, allocations: 334.8 kB / 0.5041 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.002e-05/0.09988, allocations: 27.98 kB / 0.5041 GB, free: 6.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.651e-05/0.09999, allocations: 58.48 kB / 0.5042 GB, free: 6.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.1002, allocations: 98.5 kB / 0.5043 GB, free: 6.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1002, allocations: 4 kB / 0.5043 GB, free: 6.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002451/0.1004, allocations: 141.3 kB / 0.5044 GB, free: 6.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1004, allocations: 15.84 kB / 0.5044 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1005, allocations: 0 / 0.5044 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1005, allocations: 0 / 0.5044 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1006, allocations: 39.91 kB / 0.5045 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1006, allocations: 4 kB / 0.5045 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1008, allocations: 8.062 kB / 0.5045 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1008, allocations: 7.938 kB / 0.5045 GB, free: 5.996 MB / 398.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.375e-05/0.1009, allocations: 129.7 kB / 0.5046 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.1009, allocations: 19.75 kB / 0.5046 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.101, allocations: 25.7 kB / 0.5047 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.101, allocations: 4 kB / 0.5047 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.101, allocations: 0 / 0.5047 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.101, allocations: 0 / 0.5047 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.1015, allocations: 439.2 kB / 0.5051 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1015, allocations: 0 / 0.5051 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.1017, allocations: 35.92 kB / 0.5051 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1017, allocations: 0 / 0.5051 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1017, allocations: 7.984 kB / 0.5051 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1017, allocations: 0 / 0.5051 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1017, allocations: 0 / 0.5051 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.1021, allocations: 267.2 kB / 0.5054 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.1022, allocations: 96.95 kB / 0.5055 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1022, allocations: 8 kB / 0.5055 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1023, allocations: 0 / 0.5055 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.1024, allocations: 7.984 kB / 0.5055 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1024, allocations: 8 kB / 0.5055 GB, free: 4.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1025, allocations: 164.5 kB / 0.5057 GB, free: 4.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1025, allocations: 3.938 kB / 0.5057 GB, free: 4.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1028, allocations: 32 kB / 0.5057 GB, free: 4.668 MB / 398.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 8.169e-05/0.1029, allocations: 107.1 kB / 0.5058 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.1031, allocations: 83.91 kB / 0.5059 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1031, allocations: 0 / 0.5059 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.1032, allocations: 47.97 kB / 0.5059 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1036, allocations: 24.66 kB / 0.5059 GB, free: 4.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.1045, allocations: 0.5107 MB / 0.5064 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1048, allocations: 0.728 MB / 0.5072 GB, free: 3.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.879e-05/0.1049, allocations: 17.55 kB / 0.5072 GB, free: 3.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.1049, allocations: 23.38 kB / 0.5072 GB, free: 3.074 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1049, allocations: 0 / 0.5072 GB, free: 3.074 MB / 398.1 MB Notification: Performance of Templates: time 0.004209/0.1091, allocations: 1.596 MB / 0.5088 GB, free: 1.48 MB / 398.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)