Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6817/0.6817, allocations: 110.8 MB / 118 MB, free: 14.58 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001777/0.001777, allocations: 168 kB / 143.7 MB, free: 4.898 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.873e-06, allocations: 4 kB / 173.5 MB, free: 23.08 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03631/0.03633, allocations: 25.17 MB / 198.6 MB, free: 13.97 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.1592, allocations: 38.05 MB / 236.7 MB, free: 4.41 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.1594, allocations: 63.62 kB / 236.7 MB, free: 4.41 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.01806/0.1775, allocations: 7.217 MB / 243.9 MB, free: 2.895 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.1776, allocations: 7.656 kB / 244 MB, free: 2.895 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0008341/0.1784, allocations: 0.5941 MB / 244.5 MB, free: 2.41 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1785, allocations: 15.72 kB / 244.6 MB, free: 2.402 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.1786, allocations: 46.75 kB / 244.6 MB, free: 2.379 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.179, allocations: 300.9 kB / 244.9 MB, free: 2.125 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.179, allocations: 11.62 kB / 244.9 MB, free: 2.125 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.1791, allocations: 27.09 kB / 244.9 MB, free: 2.121 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003719/0.1794, allocations: 215.2 kB / 245.2 MB, free: 2.109 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.1799, allocations: 303.3 kB / 245.4 MB, free: 2.02 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.1799, allocations: 7.922 kB / 245.5 MB, free: 2.012 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.18, allocations: 3.875 kB / 245.5 MB, free: 2.012 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.18, allocations: 11.69 kB / 245.5 MB, free: 2.008 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.1817, allocations: 1.199 MB / 246.7 MB, free: 1.301 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.1818, allocations: 118 kB / 246.8 MB, free: 1.27 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.1821, allocations: 137.1 kB / 246.9 MB, free: 1.242 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1821, allocations: 3.938 kB / 246.9 MB, free: 1.242 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1822, allocations: 38.31 kB / 247 MB, free: 1.203 MB / 170.7 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.1822, allocations: 0 / 247 MB, free: 1.203 MB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.001043/0.1832, allocations: 0.6167 MB / 247.6 MB, free: 0.8242 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.1832, allocations: 84.31 kB / 247.7 MB, free: 0.7305 MB / 170.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:3115:9-3117:50:writable] Warning: Parameter dcse.Le has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0005) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:3112:9-3114:50:writable] Warning: Parameter dcse.Re has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7500:7-7502:73:writable] Warning: Parameter dcse.La has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0015) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7497:7-7499:73:writable] Warning: Parameter dcse.Ra has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7494:7-7496:56:writable] Warning: Parameter dcse.wNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=147.6548547187203) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7491:7-7493:56:writable] Warning: Parameter dcse.IaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7488:7-7490:56:writable] Warning: Parameter dcse.VaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7272:7-7274:46:writable] Warning: Parameter dcse.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcse.Jr) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7268:7-7268:72:writable] Warning: Parameter dcse.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.1835, allocations: 217.5 kB / 247.9 MB, free: 0.6172 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1835, allocations: 25.7 kB / 247.9 MB, free: 0.5859 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.1836, allocations: 198.4 kB / 248.1 MB, free: 428 kB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.1837, allocations: 81.88 kB / 248.2 MB, free: 364 kB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.1837, allocations: 0 / 248.2 MB, free: 364 kB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.1837, allocations: 337.6 kB / 248.5 MB, free: 36 kB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.1838, allocations: 57.19 kB / 248.6 MB, free: 36 kB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.184, allocations: 114.9 kB / 248.7 MB, free: 15.97 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.1841, allocations: 81.08 kB / 248.7 MB, free: 15.95 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1841, allocations: 0 / 248.7 MB, free: 15.95 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004367/0.1846, allocations: 280.4 kB / 249 MB, free: 15.86 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1846, allocations: 7.812 kB / 249 MB, free: 15.86 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1846, allocations: 7.688 kB / 249 MB, free: 15.85 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002169/0.1848, allocations: 55.5 kB / 249.1 MB, free: 15.83 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.1851, allocations: 53.62 kB / 249.1 MB, free: 15.82 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.1872, allocations: 2.676 MB / 251.8 MB, free: 13.25 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.1874, allocations: 15.58 kB / 251.8 MB, free: 13.25 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.1875, allocations: 11.41 kB / 251.8 MB, free: 13.25 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real dcse.airGapDC.psi_e:VARIABLE(unit = "Wb" ) "Excitation flux" type: Real dcse.inertiaRotor.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.1876, allocations: 113.9 kB / 252 MB, free: 13.13 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.1877, allocations: 27.42 kB / 252 MB, free: 13.12 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.1877, allocations: 20.84 kB / 252 MB, free: 13.11 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1877, allocations: 3.875 kB / 252 MB, free: 13.11 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1877, allocations: 11.81 kB / 252 MB, free: 13.11 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1878, allocations: 3.984 kB / 252 MB, free: 13.1 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008222/0.1886, allocations: 0.6583 MB / 252.7 MB, free: 12.7 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1886, allocations: 0 / 252.7 MB, free: 12.7 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.1889, allocations: 42.75 kB / 252.7 MB, free: 12.7 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/0.189, allocations: 58.55 kB / 252.8 MB, free: 12.67 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.1891, allocations: 0 / 252.8 MB, free: 12.67 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.191, allocations: 2.657 MB / 255.4 MB, free: 10.12 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.191, allocations: 7.891 kB / 255.4 MB, free: 10.11 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005581/0.1916, allocations: 447.2 kB / 255.9 MB, free: 9.871 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1917, allocations: 120.5 kB / 256 MB, free: 9.758 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.1918, allocations: 5.312 kB / 256 MB, free: 9.754 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.192, allocations: 29.56 kB / 256 MB, free: 9.742 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.1921, allocations: 21.2 kB / 256.1 MB, free: 9.73 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.1921, allocations: 8.469 kB / 256.1 MB, free: 9.73 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0001415/0.1922, allocations: 161.9 kB / 256.2 MB, free: 9.641 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004517/0.1927, allocations: 72.78 kB / 256.3 MB, free: 9.637 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (dcse.inertiaRotor.w,dcse.airGapDC.psi_e,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001191/0.1928, allocations: 98.09 kB / 256.4 MB, free: 9.547 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005396/0.1934, allocations: 383.5 kB / 256.8 MB, free: 9.332 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1934, allocations: 4.062 kB / 256.8 MB, free: 9.328 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.1937, allocations: 310 kB / 257.1 MB, free: 9.109 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1941, allocations: 42.69 kB / 257.1 MB, free: 9.094 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.1951, allocations: 0.5689 MB / 257.7 MB, free: 8.727 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.1955, allocations: 0.8153 MB / 258.5 MB, free: 7.973 MB / 186.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1955, allocations: 0.5 kB / 258.5 MB, free: 7.973 MB / 186.7 MB Notification: Performance of Templates: time 0.006288/0.2018, allocations: 3.109 MB / 261.6 MB, free: 6.457 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.pipe 2>&1)