Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008871/0.0008917, allocations: 176.2 kB / 17.4 MB, free: 4.312 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.309/1.309, allocations: 205.4 MB / 223.5 MB, free: 9.016 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.0007885/0.0007885, allocations: 93.47 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3919/0.3919, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003929, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1098, allocations: 60.26 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3119/0.4217, allocations: 86.84 MB / 0.5732 GB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.4219, allocations: 82.78 kB / 0.5733 GB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01345/0.4354, allocations: 5.491 MB / 0.5786 GB, free: 5.992 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.536e-06/0.4355, allocations: 4 kB / 0.5787 GB, free: 5.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.811e-05/0.4355, allocations: 10.08 kB / 0.5787 GB, free: 5.98 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009538/0.4365, allocations: 0.6185 MB / 0.5793 GB, free: 5.312 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.4365, allocations: 8.031 kB / 0.5793 GB, free: 5.305 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.4366, allocations: 40.47 kB / 0.5793 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.4371, allocations: 334.7 kB / 0.5796 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4371, allocations: 16.81 kB / 0.5796 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.4372, allocations: 28.28 kB / 0.5797 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.4375, allocations: 251.2 kB / 0.5799 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.4376, allocations: 192 / 0.5799 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.4376, allocations: 15.94 kB / 0.5799 GB, free: 4.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4376, allocations: 4 kB / 0.5799 GB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.438, allocations: 194.1 kB / 0.5801 GB, free: 4.395 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.4389, allocations: 0.8449 MB / 0.5809 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.4393, allocations: 208.8 kB / 0.5811 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.4395, allocations: 116.8 kB / 0.5813 GB, free: 3.156 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.4395, allocations: 4.219 kB / 0.5813 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.4395, allocations: 42.5 kB / 0.5813 GB, free: 3.102 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.422e-06/0.4395, allocations: 4.875 kB / 0.5813 GB, free: 3.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.00163/0.4412, allocations: 0.9087 MB / 0.5822 GB, free: 2.121 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.4412, allocations: 55.64 kB / 0.5822 GB, free: 2.055 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.4415, allocations: 308.4 kB / 0.5825 GB, free: 1.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.4415, allocations: 29.7 kB / 0.5826 GB, free: 1.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.4416, allocations: 180.6 kB / 0.5827 GB, free: 1.531 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.4416, allocations: 106.5 kB / 0.5828 GB, free: 1.426 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.4416, allocations: 4 kB / 0.5828 GB, free: 1.422 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.4417, allocations: 338.8 kB / 0.5832 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.4419, allocations: 87.95 kB / 0.5833 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.4421, allocations: 121.2 kB / 0.5834 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.4424, allocations: 212.1 kB / 0.5836 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.4424, allocations: 0 / 0.5836 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006043/0.443, allocations: 357.3 kB / 0.5839 GB, free: 304 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.443, allocations: 4 kB / 0.5839 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4431, allocations: 3.984 kB / 0.5839 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/0.4434, allocations: 87.42 kB / 0.584 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.4437, allocations: 67.95 kB / 0.5841 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.4453, allocations: 1.953 MB / 0.586 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.4455, allocations: 20.02 kB / 0.586 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.4455, allocations: 9.562 kB / 0.586 GB, free: 14 MB / 410.7 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 (28): * Single equations (assignments): 26 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.4457, allocations: 149.8 kB / 0.5861 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.4458, allocations: 35.52 kB / 0.5862 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005519/0.4464, allocations: 290.3 kB / 0.5865 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4464, allocations: 4 kB / 0.5865 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.4464, allocations: 0 / 0.5865 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4464, allocations: 0 / 0.5865 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.4474, allocations: 0.7064 MB / 0.5871 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4475, allocations: 0 / 0.5871 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.4478, allocations: 79.95 kB / 0.5872 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.4478, allocations: 0 / 0.5872 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.4479, allocations: 14.75 kB / 0.5872 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4479, allocations: 3.938 kB / 0.5872 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4479, allocations: 0 / 0.5872 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/0.4486, allocations: 482.9 kB / 0.5877 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.4487, allocations: 120.8 kB / 0.5878 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.4488, allocations: 7.656 kB / 0.5878 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.449, allocations: 23.98 kB / 0.5878 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.449, allocations: 15.97 kB / 0.5879 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4491, allocations: 8 kB / 0.5879 GB, free: 11.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000214/0.4493, allocations: 219 kB / 0.5881 GB, free: 11.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4493, allocations: 0 / 0.5881 GB, free: 11.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003656/0.4497, allocations: 68 kB / 0.5881 GB, free: 11.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (30): * Single equations (assignments): 30 * 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.0002317/0.4499, allocations: 107.2 kB / 0.5882 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008442/0.4508, allocations: 271.9 kB / 0.5885 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.4508, allocations: 0 / 0.5885 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.451, allocations: 123.8 kB / 0.5886 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.4515, allocations: 49.62 kB / 0.5887 GB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.4533, allocations: 1.133 MB / 0.5898 GB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.4537, allocations: 0.7912 MB / 0.5906 GB, free: 9.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.4539, allocations: 30.97 kB / 0.5906 GB, free: 9.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.067e-05/0.454, allocations: 27.44 kB / 0.5906 GB, free: 9.133 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.454, allocations: 0 / 0.5906 GB, free: 9.133 MB / 410.7 MB Notification: Performance of Templates: time 0.007303/0.4613, allocations: 3.239 MB / 0.5938 GB, free: 5.938 MB / 410.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1)