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") [: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.6815/0.6815, allocations: 110.8 MB / 118 MB, free: 14.55 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001709/0.001709, allocations: 156 kB / 143.7 MB, free: 4.879 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.462e-06, allocations: 0 / 173.5 MB, free: 23.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0391/0.03912, allocations: 25.17 MB / 198.6 MB, free: 13.94 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.165, allocations: 37.67 MB / 236.3 MB, free: 4.652 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001703/0.1652, allocations: 65.69 kB / 236.4 MB, free: 4.652 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.01502/0.1803, allocations: 6.005 MB / 242.4 MB, free: 3.664 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.1803, allocations: 7.844 kB / 242.4 MB, free: 3.664 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.0007933/0.1811, allocations: 0.5772 MB / 243 MB, free: 3.18 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1812, allocations: 11.78 kB / 243 MB, free: 3.176 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.1813, allocations: 41.66 kB / 243 MB, free: 3.156 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.1817, allocations: 283.2 kB / 243.3 MB, free: 2.91 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1817, allocations: 15.66 kB / 243.3 MB, free: 2.906 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.1818, allocations: 22.81 kB / 243.3 MB, free: 2.906 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000366/0.1821, allocations: 193.8 kB / 243.5 MB, free: 2.891 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.1826, allocations: 278.8 kB / 243.8 MB, free: 2.801 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1826, allocations: 0 / 243.8 MB, free: 2.801 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.1826, allocations: 0 / 243.8 MB, free: 2.801 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1826, allocations: 10.62 kB / 243.8 MB, free: 2.801 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.1842, allocations: 1.148 MB / 244.9 MB, free: 2.07 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1844, allocations: 87.39 kB / 245 MB, free: 2.047 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.1845, allocations: 57.08 kB / 245.1 MB, free: 2.035 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.1845, allocations: 3.594 kB / 245.1 MB, free: 2.035 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.1845, allocations: 33.62 kB / 245.1 MB, free: 1.996 MB / 170.7 MB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.1845, allocations: 3.938 kB / 245.1 MB, free: 1.992 MB / 170.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007546/0.1853, allocations: 465 kB / 245.6 MB, free: 1.656 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.1853, allocations: 88.92 kB / 245.7 MB, free: 1.559 MB / 170.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.0002476/0.1856, allocations: 216.2 kB / 245.9 MB, free: 1.438 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1856, allocations: 29.61 kB / 245.9 MB, free: 1.406 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.1857, allocations: 192.8 kB / 246.1 MB, free: 1.242 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1857, allocations: 62.23 kB / 246.2 MB, free: 1.195 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.1857, allocations: 0 / 246.2 MB, free: 1.195 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.464e-05/0.1858, allocations: 329.1 kB / 246.5 MB, free: 0.875 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.528e-05/0.1859, allocations: 45.25 kB / 246.5 MB, free: 0.8711 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.186, allocations: 117.3 kB / 246.6 MB, free: 0.7812 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1861, allocations: 68.42 kB / 246.7 MB, free: 0.7656 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1861, allocations: 3.906 kB / 246.7 MB, free: 0.7617 MB / 170.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003172/0.1864, allocations: 212.5 kB / 246.9 MB, free: 0.6875 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1864, allocations: 11.47 kB / 246.9 MB, free: 0.6836 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1864, allocations: 0 / 246.9 MB, free: 0.6836 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.1866, allocations: 19.7 kB / 246.9 MB, free: 0.6758 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.1868, allocations: 68.73 kB / 247 MB, free: 0.6602 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008655/0.1877, allocations: 1.219 MB / 248.2 MB, free: 15.43 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.1879, allocations: 27.05 kB / 248.3 MB, free: 15.42 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.188, allocations: 10.94 kB / 248.3 MB, free: 15.42 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: dcpm.inertiaRotor.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real dcpm.la.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real dcpm.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: 10 * 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): 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.0001486/0.1881, allocations: 113.7 kB / 248.4 MB, free: 15.31 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.1882, allocations: 23.41 kB / 248.4 MB, free: 15.3 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.1882, allocations: 23.73 kB / 248.4 MB, free: 15.29 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1882, allocations: 0 / 248.4 MB, free: 15.29 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1882, allocations: 3.844 kB / 248.4 MB, free: 15.29 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1883, allocations: 0 / 248.4 MB, free: 15.29 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.1889, allocations: 0.5267 MB / 249 MB, free: 14.92 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1889, allocations: 0 / 249 MB, free: 14.92 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.1892, allocations: 45.95 kB / 249 MB, free: 14.91 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.781e-05/0.1892, allocations: 16.59 kB / 249 MB, free: 14.9 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.1893, allocations: 7.656 kB / 249 MB, free: 14.9 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008965/0.1902, allocations: 1.213 MB / 250.2 MB, free: 13.68 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.1902, allocations: 4.156 kB / 250.2 MB, free: 13.68 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003885/0.1906, allocations: 348.4 kB / 250.6 MB, free: 13.45 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.895e-05/0.1907, allocations: 108.2 kB / 250.7 MB, free: 13.34 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.1907, allocations: 7.906 kB / 250.7 MB, free: 13.34 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.191, allocations: 26.78 kB / 250.7 MB, free: 13.33 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.191, allocations: 10.95 kB / 250.7 MB, free: 13.32 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.191, allocations: 3.875 kB / 250.7 MB, free: 13.32 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0001324/0.1912, allocations: 162.6 kB / 250.9 MB, free: 13.23 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.1915, allocations: 56.75 kB / 250.9 MB, free: 13.23 MB / 186.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 () * 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.00014/0.1917, allocations: 99.02 kB / 251 MB, free: 13.14 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.1921, allocations: 236.4 kB / 251.3 MB, free: 13.02 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1921, allocations: 0 / 251.3 MB, free: 13.02 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.1923, allocations: 164 kB / 251.4 MB, free: 12.91 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1927, allocations: 37.56 kB / 251.5 MB, free: 12.89 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.1937, allocations: 0.5 MB / 252 MB, free: 12.54 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/0.1941, allocations: 0.8034 MB / 252.8 MB, free: 11.79 MB / 186.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1942, allocations: 0 / 252.8 MB, free: 11.79 MB / 186.7 MB Notification: Performance of Templates: time 0.005505/0.1997, allocations: 2.187 MB / 255 MB, free: 10.72 MB / 186.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)