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.001585/0.001585, allocations: 180.9 kB / 16.38 MB, free: 5.766 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.267/1.267, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007855/0.0007855, allocations: 97.2 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4085/0.4085, allocations: 48.77 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 8 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.103, allocations: 60.25 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2785/0.3816, allocations: 88.55 MB / 0.5737 GB, free: 10.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.3818, allocations: 78.77 kB / 0.5737 GB, free: 10.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01867/0.4005, allocations: 7.478 MB / 0.581 GB, free: 2.598 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4005, allocations: 0 / 0.581 GB, free: 2.598 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.4006, allocations: 19.94 kB / 0.5811 GB, free: 2.578 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.001036/0.4016, allocations: 0.7216 MB / 0.5818 GB, free: 1.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.4017, allocations: 8.031 kB / 0.5818 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.4018, allocations: 55.34 kB / 0.5818 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.4022, allocations: 373.7 kB / 0.5822 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.4022, allocations: 30.25 kB / 0.5822 GB, free: 1.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.4023, allocations: 32 kB / 0.5822 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.4027, allocations: 315.1 kB / 0.5825 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4027, allocations: 0 / 0.5825 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.4028, allocations: 16 kB / 0.5826 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4028, allocations: 10.69 kB / 0.5826 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.4031, allocations: 222.4 kB / 0.5828 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.4047, allocations: 1.182 MB / 0.5839 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.4052, allocations: 274.2 kB / 0.5842 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.4053, allocations: 8.344 kB / 0.5842 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4053, allocations: 34.84 kB / 0.5842 GB, free: 15.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.4053, allocations: 0 / 0.5842 GB, free: 15.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001875/0.4072, allocations: 1.016 MB / 0.5852 GB, free: 14.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.4072, allocations: 59.36 kB / 0.5853 GB, free: 13.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.4076, allocations: 328.8 kB / 0.5856 GB, free: 13.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.4077, allocations: 37.7 kB / 0.5856 GB, free: 13.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.4078, allocations: 220.6 kB / 0.5859 GB, free: 13.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.926e-05/0.4079, allocations: 130 kB / 0.586 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.4079, allocations: 8 kB / 0.586 GB, free: 13.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4081, allocations: 354.8 kB / 0.5863 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.4083, allocations: 88.84 kB / 0.5864 GB, free: 12.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.4085, allocations: 153 kB / 0.5866 GB, free: 12.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.4087, allocations: 117.6 kB / 0.5867 GB, free: 12.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4087, allocations: 0 / 0.5867 GB, free: 12.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005315/0.4092, allocations: 358.1 kB / 0.587 GB, free: 12.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4093, allocations: 4 kB / 0.587 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4093, allocations: 4 kB / 0.587 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4093, allocations: 7.938 kB / 0.587 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/0.4101, allocations: 151.9 kB / 0.5872 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009808/0.411, allocations: 1.348 MB / 0.5885 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.4113, allocations: 24.2 kB / 0.5885 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.4114, allocations: 16 kB / 0.5885 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 (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.0002147/0.4116, allocations: 153.7 kB / 0.5887 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.4117, allocations: 39.53 kB / 0.5887 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005891/0.4123, allocations: 339.3 kB / 0.589 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4123, allocations: 7.375 kB / 0.589 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.4123, allocations: 0 / 0.589 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.4123, allocations: 11.94 kB / 0.589 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.4135, allocations: 0.7983 MB / 0.5898 GB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.4135, allocations: 4 kB / 0.5898 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004845/0.414, allocations: 83.89 kB / 0.5899 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.414, allocations: 4 kB / 0.5899 GB, free: 9.008 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.4141, allocations: 19.94 kB / 0.5899 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.4141, allocations: 4 kB / 0.5899 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4141, allocations: 0 / 0.5899 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/0.4148, allocations: 0.5347 MB / 0.5905 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.415, allocations: 140.5 kB / 0.5906 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.4151, allocations: 4 kB / 0.5906 GB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.4153, allocations: 23.94 kB / 0.5906 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.4154, allocations: 19.97 kB / 0.5906 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.4154, allocations: 12 kB / 0.5907 GB, free: 8.223 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003157/0.4158, allocations: 263.2 kB / 0.5909 GB, free: 7.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.774e-06/0.4158, allocations: 96 / 0.5909 GB, free: 7.973 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004005/0.4162, allocations: 91.94 kB / 0.591 GB, free: 7.883 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.0001828/0.4164, allocations: 115.2 kB / 0.5911 GB, free: 7.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006128/0.417, allocations: 283 kB / 0.5914 GB, free: 7.484 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.417, allocations: 0 / 0.5914 GB, free: 7.484 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.4172, allocations: 143.8 kB / 0.5915 GB, free: 7.344 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.4177, allocations: 69.77 kB / 0.5916 GB, free: 7.273 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.4198, allocations: 1.374 MB / 0.5929 GB, free: 5.891 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4201, allocations: 0.8352 MB / 0.5937 GB, free: 5.027 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000208/0.4204, allocations: 56.27 kB / 0.5938 GB, free: 4.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.4205, allocations: 31.44 kB / 0.5938 GB, free: 4.941 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4205, allocations: 0 / 0.5938 GB, free: 4.941 MB / 410.7 MB Notification: Performance of Templates: time 0.008072/0.4286, allocations: 3.86 MB / 0.5976 GB, free: 1.125 MB / 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)