Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 175.7 kB / 17.4 MB, free: 4.418 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.414/1.414, allocations: 205.4 MB / 223.5 MB, free: 9.027 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.0007444/0.0007444, allocations: 90.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.3795/0.3795, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 15.98 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1133, allocations: 60.25 MB / 0.4884 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3044/0.4177, allocations: 88.59 MB / 0.5749 GB, free: 9.758 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.418, allocations: 79.81 kB / 0.575 GB, free: 9.684 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01824/0.4362, allocations: 7.499 MB / 0.5823 GB, free: 2.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4363, allocations: 4.562 kB / 0.5823 GB, free: 2.246 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.856e-05/0.4363, allocations: 12 kB / 0.5823 GB, free: 2.234 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001091/0.4374, allocations: 0.7216 MB / 0.583 GB, free: 1.465 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.4375, allocations: 8.031 kB / 0.583 GB, free: 1.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.4376, allocations: 56.28 kB / 0.5831 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.438, allocations: 382.5 kB / 0.5835 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.4381, allocations: 29.97 kB / 0.5835 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.4381, allocations: 40.28 kB / 0.5835 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.4386, allocations: 322.4 kB / 0.5838 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.4386, allocations: 192 / 0.5838 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.4386, allocations: 15.94 kB / 0.5839 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.4386, allocations: 4 kB / 0.5839 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.439, allocations: 218.5 kB / 0.5841 GB, free: 372 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.4407, allocations: 1.182 MB / 0.5852 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.4413, allocations: 274.2 kB / 0.5855 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.4415, allocations: 137.4 kB / 0.5856 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.4415, allocations: 8.281 kB / 0.5856 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.4416, allocations: 33.22 kB / 0.5857 GB, free: 14.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.324e-06/0.4416, allocations: 0 / 0.5857 GB, free: 14.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001906/0.4435, allocations: 1.02 MB / 0.5867 GB, free: 13.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.4435, allocations: 55.41 kB / 0.5867 GB, free: 13.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.4439, allocations: 380.2 kB / 0.5871 GB, free: 13.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.444, allocations: 29.7 kB / 0.5871 GB, free: 13.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.4441, allocations: 220.6 kB / 0.5873 GB, free: 12.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.4442, allocations: 138.3 kB / 0.5874 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.4442, allocations: 8 kB / 0.5874 GB, free: 12.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4444, allocations: 354.7 kB / 0.5878 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.4446, allocations: 100.8 kB / 0.5879 GB, free: 12.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.4448, allocations: 149 kB / 0.588 GB, free: 12.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.4452, allocations: 258.4 kB / 0.5883 GB, free: 11.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4452, allocations: 0 / 0.5883 GB, free: 11.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005594/0.4458, allocations: 361.5 kB / 0.5886 GB, free: 11.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.4458, allocations: 8.125 kB / 0.5886 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4458, allocations: 4 kB / 0.5886 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4459, allocations: 0 / 0.5886 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/0.4466, allocations: 147.8 kB / 0.5888 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.4476, allocations: 1.346 MB / 0.5901 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.4479, allocations: 16.03 kB / 0.5901 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.4479, allocations: 12 kB / 0.5901 GB, free: 9.82 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 (49): * Single equations (assignments): 48 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001679/0.4481, allocations: 162.7 kB / 0.5903 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.4482, allocations: 47.42 kB / 0.5903 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000531/0.4487, allocations: 331.6 kB / 0.5906 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.4487, allocations: 4 kB / 0.5906 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4487, allocations: 5.625 kB / 0.5906 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4487, allocations: 0 / 0.5906 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.4498, allocations: 0.8102 MB / 0.5914 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4498, allocations: 0 / 0.5914 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/0.4503, allocations: 91.83 kB / 0.5915 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.4503, allocations: 3.75 kB / 0.5915 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.4503, allocations: 15.98 kB / 0.5915 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4503, allocations: 0 / 0.5915 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4503, allocations: 4 kB / 0.5915 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007115/0.4511, allocations: 0.5312 MB / 0.5921 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.4512, allocations: 144.5 kB / 0.5922 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.4513, allocations: 4 kB / 0.5922 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.4515, allocations: 23.84 kB / 0.5922 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.4516, allocations: 19.97 kB / 0.5922 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.4516, allocations: 15.98 kB / 0.5923 GB, free: 7.527 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002629/0.4519, allocations: 263.2 kB / 0.5925 GB, free: 7.277 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4519, allocations: 0 / 0.5925 GB, free: 7.277 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003746/0.4523, allocations: 88 kB / 0.5926 GB, free: 7.191 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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,secondaryController.powerOffset) * 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 (38): * Single equations (assignments): 38 * 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.0001499/0.4524, allocations: 123.1 kB / 0.5927 GB, free: 7.062 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006752/0.4531, allocations: 307.1 kB / 0.593 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4531, allocations: 0 / 0.593 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.4533, allocations: 144.2 kB / 0.5931 GB, free: 6.625 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.4539, allocations: 83.2 kB / 0.5932 GB, free: 6.547 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.4559, allocations: 1.36 MB / 0.5945 GB, free: 5.168 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.4563, allocations: 0.8274 MB / 0.5953 GB, free: 4.316 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.4565, allocations: 52.36 kB / 0.5954 GB, free: 4.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.4566, allocations: 31.44 kB / 0.5954 GB, free: 4.238 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4566, allocations: 0 / 0.5954 GB, free: 4.238 MB / 410.7 MB Notification: Performance of Templates: time 0.008609/0.4652, allocations: 3.983 MB / 0.5993 GB, free: 308 kB / 410.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1)