Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 223.5 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008436/0.0008439, allocations: 82.36 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3718/0.3718, allocations: 48.78 MB / 369 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005867/0.0005869, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.152, allocations: 60.26 MB / 0.4884 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3154/0.4675, allocations: 87.89 MB / 0.5742 GB, free: 10.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.4678, allocations: 81.7 kB / 0.5743 GB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.018/0.4859, allocations: 6.934 MB / 0.5811 GB, free: 3.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4859, allocations: 0 / 0.5811 GB, free: 3.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.05e-05/0.4859, allocations: 12 kB / 0.5811 GB, free: 3.488 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001065/0.487, allocations: 0.6985 MB / 0.5818 GB, free: 2.746 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.4871, allocations: 8.031 kB / 0.5818 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.4872, allocations: 53.59 kB / 0.5818 GB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.4876, allocations: 366.9 kB / 0.5822 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.4877, allocations: 21.03 kB / 0.5822 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.4877, allocations: 40.28 kB / 0.5822 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.4882, allocations: 298.3 kB / 0.5825 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.4882, allocations: 7.922 kB / 0.5825 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.4882, allocations: 15.94 kB / 0.5826 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4882, allocations: 4 kB / 0.5826 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.4886, allocations: 206.1 kB / 0.5828 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.4901, allocations: 1.126 MB / 0.5839 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.4904, allocations: 257.1 kB / 0.5841 GB, free: 252 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.4906, allocations: 124.8 kB / 0.5842 GB, free: 124 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.4907, allocations: 8.594 kB / 0.5842 GB, free: 116 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.4907, allocations: 34.56 kB / 0.5843 GB, free: 72 kB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/0.4907, allocations: 4 kB / 0.5843 GB, free: 68 kB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001917/0.4926, allocations: 0.9668 MB / 0.5852 GB, free: 15.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.4927, allocations: 55.41 kB / 0.5853 GB, free: 14.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.4931, allocations: 353.7 kB / 0.5856 GB, free: 14.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.4931, allocations: 33.7 kB / 0.5856 GB, free: 14.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.4933, allocations: 215.3 kB / 0.5858 GB, free: 14.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.016e-05/0.4934, allocations: 114.2 kB / 0.5859 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.4934, allocations: 12 kB / 0.586 GB, free: 14.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4935, allocations: 350.8 kB / 0.5863 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.4937, allocations: 88.7 kB / 0.5864 GB, free: 13.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.494, allocations: 137.7 kB / 0.5865 GB, free: 13.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.4943, allocations: 244 kB / 0.5867 GB, free: 13.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4944, allocations: 0 / 0.5867 GB, free: 13.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008833/0.4952, allocations: 441.1 kB / 0.5872 GB, free: 12.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4953, allocations: 8 kB / 0.5872 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.4953, allocations: 0 / 0.5872 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006704/0.496, allocations: 144.8 kB / 0.5873 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.4964, allocations: 89.95 kB / 0.5874 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.4981, allocations: 2.012 MB / 0.5894 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.4984, allocations: 19.92 kB / 0.5894 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.4984, allocations: 12 kB / 0.5894 GB, free: 10.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.000227/0.4986, allocations: 154 kB / 0.5895 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.4987, allocations: 43.47 kB / 0.5896 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/0.4993, allocations: 320.4 kB / 0.5899 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.4993, allocations: 4 kB / 0.5899 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4993, allocations: 0 / 0.5899 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4993, allocations: 1.438 kB / 0.5899 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.5006, allocations: 0.7676 MB / 0.5906 GB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5006, allocations: 0 / 0.5906 GB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.501, allocations: 87.88 kB / 0.5907 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.5011, allocations: 0 / 0.5907 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.5011, allocations: 8 kB / 0.5907 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5011, allocations: 0 / 0.5907 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5011, allocations: 0 / 0.5907 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.5018, allocations: 0.5263 MB / 0.5912 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.502, allocations: 132.5 kB / 0.5914 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.5021, allocations: 14.62 kB / 0.5914 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.5023, allocations: 11.28 kB / 0.5914 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.5024, allocations: 27.84 kB / 0.5914 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.5024, allocations: 12 kB / 0.5914 GB, free: 8.309 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.5027, allocations: 251.2 kB / 0.5917 GB, free: 8.066 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5027, allocations: 0 / 0.5917 GB, free: 8.066 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000389/0.5031, allocations: 95.94 kB / 0.5918 GB, free: 7.973 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * 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 (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.5033, allocations: 107.2 kB / 0.5919 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009653/0.5042, allocations: 327.2 kB / 0.5922 GB, free: 7.543 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5043, allocations: 0 / 0.5922 GB, free: 7.543 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.5045, allocations: 127.8 kB / 0.5923 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.505, allocations: 78.58 kB / 0.5924 GB, free: 7.348 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.507, allocations: 1.297 MB / 0.5936 GB, free: 6.039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.5074, allocations: 0.815 MB / 0.5944 GB, free: 5.199 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001891/0.5075, allocations: 42.94 kB / 0.5945 GB, free: 5.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.5077, allocations: 31.42 kB / 0.5945 GB, free: 5.129 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5077, allocations: 0 / 0.5945 GB, free: 5.129 MB / 410.7 MB Notification: Performance of Templates: time 0.008184/0.5159, allocations: 3.969 MB / 0.5984 GB, free: 1.215 MB / 410.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1)