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.000992/0.000992, allocations: 180.3 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.26/1.26, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007839/0.0007838, allocations: 90.95 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3768/0.3768, allocations: 48.77 MB / 367.9 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003117, allocations: 8 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1118, allocations: 60.25 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2817/0.3935, allocations: 87.86 MB / 0.573 GB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.3938, allocations: 76.84 kB / 0.5731 GB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01694/0.4108, allocations: 6.918 MB / 0.5798 GB, free: 3.867 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4108, allocations: 0 / 0.5798 GB, free: 3.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.4108, allocations: 11.94 kB / 0.5798 GB, free: 3.855 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.000933/0.4118, allocations: 0.6944 MB / 0.5805 GB, free: 3.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.4118, allocations: 12.03 kB / 0.5805 GB, free: 3.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.051e-05/0.4119, allocations: 51.34 kB / 0.5806 GB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.4123, allocations: 357.9 kB / 0.5809 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4123, allocations: 20.66 kB / 0.5809 GB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.4124, allocations: 32.94 kB / 0.581 GB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.4128, allocations: 302.9 kB / 0.5812 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4128, allocations: 0 / 0.5812 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.4128, allocations: 12 kB / 0.5813 GB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4128, allocations: 8 kB / 0.5813 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.4132, allocations: 214 kB / 0.5815 GB, free: 2.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.4145, allocations: 1.126 MB / 0.5826 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.4149, allocations: 254.4 kB / 0.5828 GB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.4149, allocations: 10.66 kB / 0.5828 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.4149, allocations: 44.8 kB / 0.5829 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 1.312e-06/0.4149, allocations: 0 / 0.5829 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001565/0.4165, allocations: 0.9535 MB / 0.5838 GB, free: 15.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.4165, allocations: 59.36 kB / 0.5839 GB, free: 15.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.4169, allocations: 316.8 kB / 0.5842 GB, free: 15.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4169, allocations: 33.7 kB / 0.5842 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.417, allocations: 208.4 kB / 0.5844 GB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.4171, allocations: 122.2 kB / 0.5845 GB, free: 14.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.4171, allocations: 8 kB / 0.5845 GB, free: 14.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4173, allocations: 350.8 kB / 0.5848 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.4174, allocations: 88.7 kB / 0.5849 GB, free: 14.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.4176, allocations: 149.9 kB / 0.5851 GB, free: 14.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.4178, allocations: 104 kB / 0.5852 GB, free: 14.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4178, allocations: 0 / 0.5852 GB, free: 14.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000885/0.4187, allocations: 436.9 kB / 0.5856 GB, free: 13.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4188, allocations: 8 kB / 0.5856 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4188, allocations: 0 / 0.5856 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006738/0.4195, allocations: 140.8 kB / 0.5857 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.4199, allocations: 99.83 kB / 0.5858 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.4213, allocations: 2.012 MB / 0.5878 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.4215, allocations: 12 kB / 0.5878 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.4216, allocations: 15.67 kB / 0.5878 GB, free: 11.19 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.0001579/0.4217, allocations: 153.8 kB / 0.588 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.4218, allocations: 43.61 kB / 0.588 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/0.4223, allocations: 316.9 kB / 0.5883 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4223, allocations: 7.5 kB / 0.5883 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.4223, allocations: 0 / 0.5883 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4224, allocations: 3.984 kB / 0.5883 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/0.4233, allocations: 0.7794 MB / 0.5891 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4233, allocations: 0 / 0.5891 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.4238, allocations: 83.89 kB / 0.5892 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4238, allocations: 4 kB / 0.5892 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.4238, allocations: 4 kB / 0.5892 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.4238, allocations: 4 kB / 0.5892 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4239, allocations: 0 / 0.5892 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000655/0.4245, allocations: 0.515 MB / 0.5897 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.4247, allocations: 136.6 kB / 0.5898 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.4247, allocations: 11.98 kB / 0.5898 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.425, allocations: 8 kB / 0.5898 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.425, allocations: 19.97 kB / 0.5898 GB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.4251, allocations: 12 kB / 0.5899 GB, free: 9.004 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002322/0.4253, allocations: 255.2 kB / 0.5901 GB, free: 8.758 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4253, allocations: 0 / 0.5901 GB, free: 8.758 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.4257, allocations: 87.94 kB / 0.5902 GB, free: 8.672 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.0001389/0.4258, allocations: 115.1 kB / 0.5903 GB, free: 8.551 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007313/0.4265, allocations: 303.3 kB / 0.5906 GB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4265, allocations: 0 / 0.5906 GB, free: 8.258 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.4268, allocations: 127.8 kB / 0.5907 GB, free: 8.133 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.4272, allocations: 74.03 kB / 0.5908 GB, free: 8.062 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.429, allocations: 1.289 MB / 0.592 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4293, allocations: 0.8267 MB / 0.5928 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.4295, allocations: 42.94 kB / 0.5929 GB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.313e-05/0.4296, allocations: 35.42 kB / 0.5929 GB, free: 5.836 MB / 410.7 MB Notification: Performance of SimCode: time 4.4e-07/0.4296, allocations: 3.938 kB / 0.5929 GB, free: 5.832 MB / 410.7 MB Notification: Performance of Templates: time 0.007408/0.437, allocations: 3.845 MB / 0.5967 GB, free: 2.035 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)