Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.DCPM_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.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6749/0.6749, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001613/0.001613, allocations: 138.3 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002168/0.0002168, allocations: 4 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1146, allocations: 25.16 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04125/0.1559, allocations: 38.51 MB / 248.6 MB, free: 11.31 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.1561, allocations: 59.97 kB / 248.6 MB, free: 11.25 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01553/0.1717, allocations: 6.331 MB / 255 MB, free: 4.941 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1717, allocations: 0 / 255 MB, free: 4.941 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.1717, allocations: 8 kB / 255 MB, free: 4.934 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.0008319/0.1726, allocations: 0.5928 MB / 255.6 MB, free: 4.289 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1726, allocations: 8.031 kB / 255.6 MB, free: 4.281 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.1727, allocations: 51.22 kB / 255.6 MB, free: 4.234 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.173, allocations: 283.4 kB / 255.9 MB, free: 3.918 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.173, allocations: 21 kB / 255.9 MB, free: 3.898 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.1731, allocations: 39.91 kB / 255.9 MB, free: 3.859 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005841/0.1737, allocations: 358.2 kB / 256.3 MB, free: 3.496 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.1737, allocations: 7.938 kB / 256.3 MB, free: 3.488 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.1737, allocations: 16 kB / 256.3 MB, free: 3.473 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1738, allocations: 12.61 kB / 256.3 MB, free: 3.461 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005175/0.1743, allocations: 255.9 kB / 256.6 MB, free: 3.211 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.1759, allocations: 1.212 MB / 257.8 MB, free: 1.91 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.1763, allocations: 163.6 kB / 258 MB, free: 1.742 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.1763, allocations: 0 / 258 MB, free: 1.742 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1763, allocations: 38.73 kB / 258 MB, free: 1.695 MB / 186.7 MB Notification: Performance of pre-optimization done (n=15): time 1.027e-05/0.1763, allocations: 0 / 258 MB, free: 1.695 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.001364/0.1777, allocations: 0.7478 MB / 258.7 MB, free: 0.875 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1777, allocations: 77.11 kB / 258.8 MB, free: 0.7812 MB / 186.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/Rotational.mo:4773:7-4774:27:writable] Warning: Parameter loadTorqueStep.offsetTorque has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) 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 dcpm.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 dcpm.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 dcpm.wNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=149.2256510455151) 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 dcpm.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 dcpm.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 dcpm.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcpm.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 dcpm.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.0003315/0.1781, allocations: 265.6 kB / 259.1 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1781, allocations: 29.7 kB / 259.1 MB, free: 488 kB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.1783, allocations: 207.9 kB / 259.3 MB, free: 276 kB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.1783, allocations: 63.09 kB / 259.4 MB, free: 212 kB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.1783, allocations: 4 kB / 259.4 MB, free: 208 kB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1784, allocations: 332.2 kB / 259.7 MB, free: 15.87 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.1786, allocations: 71.97 kB / 259.8 MB, free: 15.8 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.1788, allocations: 149.4 kB / 259.9 MB, free: 15.62 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.179, allocations: 94.86 kB / 260 MB, free: 15.53 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1791, allocations: 3.953 kB / 260 MB, free: 15.52 MB / 202.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005204/0.1796, allocations: 290 kB / 260.3 MB, free: 15.23 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1796, allocations: 11.64 kB / 260.3 MB, free: 15.22 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1796, allocations: 4 kB / 260.3 MB, free: 15.22 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.1798, allocations: 22.8 kB / 260.3 MB, free: 15.2 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.18, allocations: 60.09 kB / 260.4 MB, free: 15.14 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008815/0.1809, allocations: 1.285 MB / 261.7 MB, free: 13.72 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.1811, allocations: 19.98 kB / 261.7 MB, free: 13.7 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.1811, allocations: 8 kB / 261.7 MB, free: 13.69 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: dcpm.inertiaRotor.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real dcpm.la.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real dcpm.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.1813, allocations: 171.7 kB / 261.9 MB, free: 13.52 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.1814, allocations: 27.7 kB / 261.9 MB, free: 13.49 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.1814, allocations: 22.19 kB / 261.9 MB, free: 13.46 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1814, allocations: 0 / 261.9 MB, free: 13.46 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1815, allocations: 4 kB / 261.9 MB, free: 13.46 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1815, allocations: 7.922 kB / 261.9 MB, free: 13.45 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008296/0.1823, allocations: 0.6363 MB / 262.6 MB, free: 12.75 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1823, allocations: 0 / 262.6 MB, free: 12.75 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.1825, allocations: 44.05 kB / 262.6 MB, free: 12.71 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.924e-05/0.1826, allocations: 20.78 kB / 262.6 MB, free: 12.69 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1826, allocations: 8 kB / 262.6 MB, free: 12.68 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007837/0.1834, allocations: 1.288 MB / 263.9 MB, free: 11.26 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.1834, allocations: 2.25 kB / 263.9 MB, free: 11.26 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.184, allocations: 430.9 kB / 264.3 MB, free: 10.8 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.1841, allocations: 116.8 kB / 264.5 MB, free: 10.67 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.1842, allocations: 4 kB / 264.5 MB, free: 10.67 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.1844, allocations: 27.92 kB / 264.5 MB, free: 10.64 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.1844, allocations: 15.98 kB / 264.5 MB, free: 10.62 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1845, allocations: 4 kB / 264.5 MB, free: 10.62 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1846, allocations: 190 kB / 264.7 MB, free: 10.43 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1846, allocations: 0 / 264.7 MB, free: 10.43 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.185, allocations: 68 kB / 264.8 MB, free: 10.37 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * 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 (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.1851, allocations: 99.25 kB / 264.9 MB, free: 10.26 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0006338/0.1858, allocations: 300.4 kB / 265.2 MB, free: 9.957 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1858, allocations: 0 / 265.2 MB, free: 9.957 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.1861, allocations: 212.5 kB / 265.4 MB, free: 9.738 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1865, allocations: 42.25 kB / 265.4 MB, free: 9.699 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1877, allocations: 0.9115 MB / 266.3 MB, free: 8.766 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1881, allocations: 0.7833 MB / 267.1 MB, free: 7.957 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 9.94e-05/0.1882, allocations: 29.92 kB / 267.1 MB, free: 7.926 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.1882, allocations: 19.44 kB / 267.1 MB, free: 7.906 MB / 202.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1882, allocations: 3.938 kB / 267.1 MB, free: 7.902 MB / 202.7 MB Notification: Performance of Templates: time 0.00511/0.1933, allocations: 2.238 MB / 269.4 MB, free: 5.68 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCPM_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCPM_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCPM_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCPM_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCPM_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCPM_Start.pipe 2>&1)