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.8699/0.8699, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001627/0.001627, allocations: 147.5 kB / 149.1 MB, free: 0.9648 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.813e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03752/0.03755, allocations: 25.17 MB / 205.4 MB, free: 8.434 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04674/0.08433, allocations: 38.42 MB / 243.8 MB, free: 1.953 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/0.08456, allocations: 67.91 kB / 243.9 MB, free: 1.887 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1101/0.1947, allocations: 6.331 MB / 250.2 MB, free: 41.86 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1947, allocations: 0 / 250.2 MB, free: 41.86 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.1947, allocations: 7.438 kB / 250.2 MB, free: 41.86 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.0006695/0.1954, allocations: 0.576 MB / 250.8 MB, free: 41.4 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1955, allocations: 10.72 kB / 250.8 MB, free: 41.4 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/0.1955, allocations: 37.72 kB / 250.8 MB, free: 41.38 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.1958, allocations: 275.6 kB / 251.1 MB, free: 41.12 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.1958, allocations: 26.84 kB / 251.1 MB, free: 41.11 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.1959, allocations: 41.94 kB / 251.2 MB, free: 41.09 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.1964, allocations: 335.7 kB / 251.5 MB, free: 40.93 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1964, allocations: 4 kB / 251.5 MB, free: 40.92 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.1965, allocations: 12.12 kB / 251.5 MB, free: 40.91 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1965, allocations: 12.2 kB / 251.5 MB, free: 40.91 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.1968, allocations: 201.8 kB / 251.7 MB, free: 40.84 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.1984, allocations: 1.22 MB / 252.9 MB, free: 40.02 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1987, allocations: 133.8 kB / 253.1 MB, free: 39.96 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1988, allocations: 60.73 kB / 253.1 MB, free: 39.93 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1989, allocations: 1.219 kB / 253.1 MB, free: 39.93 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1989, allocations: 37.14 kB / 253.2 MB, free: 39.88 MB / 186.7 MB Notification: Performance of pre-optimization done (n=15): time 1.943e-06/0.1989, allocations: 4 kB / 253.2 MB, free: 39.88 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008826/0.1998, allocations: 0.4984 MB / 253.7 MB, free: 39.48 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.1998, allocations: 83.3 kB / 253.8 MB, free: 39.39 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.0003265/0.2002, allocations: 247 kB / 254 MB, free: 39.24 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.2002, allocations: 27.27 kB / 254 MB, free: 39.21 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.2003, allocations: 218.4 kB / 254.2 MB, free: 39.03 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.2003, allocations: 56.98 kB / 254.3 MB, free: 38.98 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.2003, allocations: 5.188 kB / 254.3 MB, free: 38.98 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 6.448e-05/0.2004, allocations: 338.4 kB / 254.6 MB, free: 38.65 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/0.2005, allocations: 43.06 kB / 254.7 MB, free: 38.64 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.2006, allocations: 125.2 kB / 254.8 MB, free: 38.52 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.2008, allocations: 76.05 kB / 254.9 MB, free: 38.48 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2008, allocations: 4.172 kB / 254.9 MB, free: 38.48 MB / 186.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003633/0.2012, allocations: 237.7 kB / 255.1 MB, free: 38.36 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2012, allocations: 5.688 kB / 255.1 MB, free: 38.36 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2012, allocations: 3.281 kB / 255.1 MB, free: 38.36 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.2013, allocations: 31.92 kB / 255.1 MB, free: 38.34 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.2016, allocations: 52.09 kB / 255.2 MB, free: 38.34 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006296/0.2022, allocations: 1.274 MB / 256.5 MB, free: 37.03 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.2024, allocations: 26.12 kB / 256.5 MB, free: 37.02 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.2024, allocations: 12.06 kB / 256.5 MB, free: 37.02 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.0001215/0.2026, allocations: 127.5 kB / 256.6 MB, free: 36.89 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.2026, allocations: 22.22 kB / 256.6 MB, free: 36.88 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.2027, allocations: 27.55 kB / 256.7 MB, free: 36.86 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2027, allocations: 6.75 kB / 256.7 MB, free: 36.85 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2027, allocations: 0 / 256.7 MB, free: 36.85 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2027, allocations: 0 / 256.7 MB, free: 36.85 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006408/0.2033, allocations: 0.5886 MB / 257.3 MB, free: 36.34 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2033, allocations: 0 / 257.3 MB, free: 36.34 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.2035, allocations: 45.84 kB / 257.3 MB, free: 36.32 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.448e-05/0.2036, allocations: 18.33 kB / 257.3 MB, free: 36.31 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2036, allocations: 7.312 kB / 257.3 MB, free: 36.31 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000514/0.2042, allocations: 1.268 MB / 258.6 MB, free: 34.98 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2042, allocations: 11.88 kB / 258.6 MB, free: 34.97 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.2045, allocations: 355.3 kB / 259 MB, free: 34.69 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.2046, allocations: 112.5 kB / 259.1 MB, free: 34.57 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.2046, allocations: 4 kB / 259.1 MB, free: 34.57 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.2048, allocations: 23.02 kB / 259.1 MB, free: 34.56 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.2049, allocations: 27.75 kB / 259.1 MB, free: 34.54 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2049, allocations: 3.781 kB / 259.1 MB, free: 34.54 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.2051, allocations: 189.2 kB / 259.3 MB, free: 34.41 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2051, allocations: 0 / 259.3 MB, free: 34.41 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003224/0.2054, allocations: 62.09 kB / 259.4 MB, free: 34.41 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.0001014/0.2055, allocations: 102.3 kB / 259.5 MB, free: 34.31 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.2059, allocations: 256.5 kB / 259.7 MB, free: 34.14 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2059, allocations: 3.938 kB / 259.7 MB, free: 34.14 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.206, allocations: 173.6 kB / 259.9 MB, free: 34 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.2064, allocations: 52.31 kB / 260 MB, free: 33.96 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006784/0.207, allocations: 0.515 MB / 260.5 MB, free: 33.58 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.2072, allocations: 0.7847 MB / 261.3 MB, free: 32.83 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 9.006e-05/0.2073, allocations: 25.75 kB / 261.3 MB, free: 32.82 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.2073, allocations: 19.25 kB / 261.3 MB, free: 32.81 MB / 186.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2074, allocations: 0 / 261.3 MB, free: 32.81 MB / 186.7 MB Notification: Performance of Templates: time 0.004698/0.2121, allocations: 2.261 MB / 263.6 MB, free: 31.07 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)