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.7094/0.7094, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001673/0.001673, allocations: 167.3 kB / 144 MB, free: 4.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.252e-05/1.248e-05, allocations: 0 / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03743/0.03746, allocations: 25.18 MB / 199 MB, free: 13.71 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04735/0.08485, allocations: 37.76 MB / 236.8 MB, free: 7.883 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.08511, allocations: 63.97 kB / 236.8 MB, free: 7.82 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01653/0.1017, allocations: 6.258 MB / 243.1 MB, free: 1.531 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1017, allocations: 0 / 243.1 MB, free: 1.531 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.1018, allocations: 12 kB / 243.1 MB, free: 1.52 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.0008504/0.1026, allocations: 0.5646 MB / 243.7 MB, free: 0.9102 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1027, allocations: 16.03 kB / 243.7 MB, free: 0.8945 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.659e-05/0.1027, allocations: 39.53 kB / 243.7 MB, free: 0.8555 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1031, allocations: 283.4 kB / 244 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1031, allocations: 15.94 kB / 244 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.1032, allocations: 23.91 kB / 244.1 MB, free: 0.5 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003673/0.1036, allocations: 181.5 kB / 244.2 MB, free: 332 kB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.104, allocations: 281.4 kB / 244.5 MB, free: 36 kB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.104, allocations: 4 kB / 244.5 MB, free: 32 kB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.1041, allocations: 7.953 kB / 244.5 MB, free: 24 kB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1041, allocations: 12 kB / 244.5 MB, free: 12 kB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.097/0.2011, allocations: 1.132 MB / 245.7 MB, free: 41.21 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.2014, allocations: 120.2 kB / 245.8 MB, free: 41.19 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.503e-05/0.2015, allocations: 54.44 kB / 245.8 MB, free: 41.18 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.2015, allocations: 1.969 kB / 245.8 MB, free: 41.18 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.2015, allocations: 42.62 kB / 245.9 MB, free: 41.14 MB / 186.7 MB Notification: Performance of pre-optimization done (n=15): time 2.255e-06/0.2015, allocations: 1.031 kB / 245.9 MB, free: 41.14 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.000722/0.2022, allocations: 473 kB / 246.3 MB, free: 40.84 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.2023, allocations: 84.86 kB / 246.4 MB, free: 40.75 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.0002372/0.2025, allocations: 222.3 kB / 246.6 MB, free: 40.65 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.2026, allocations: 25.7 kB / 246.7 MB, free: 40.62 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/0.2026, allocations: 215.3 kB / 246.9 MB, free: 40.48 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.2027, allocations: 59.31 kB / 246.9 MB, free: 40.45 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.2027, allocations: 0 / 246.9 MB, free: 40.45 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.2028, allocations: 329.1 kB / 247.3 MB, free: 40.13 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-05/0.2028, allocations: 43.47 kB / 247.3 MB, free: 40.13 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.2029, allocations: 117.7 kB / 247.4 MB, free: 40.05 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.2031, allocations: 64.11 kB / 247.5 MB, free: 40.05 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2031, allocations: 3.891 kB / 247.5 MB, free: 40.05 MB / 186.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003511/0.2034, allocations: 216.9 kB / 247.7 MB, free: 39.99 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.2035, allocations: 12.95 kB / 247.7 MB, free: 39.99 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2035, allocations: 2.984 kB / 247.7 MB, free: 39.99 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001133/0.2036, allocations: 21 kB / 247.7 MB, free: 39.98 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.2038, allocations: 68.17 kB / 247.8 MB, free: 39.98 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006609/0.2045, allocations: 1.223 MB / 249 MB, free: 38.79 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.2047, allocations: 17.62 kB / 249 MB, free: 38.79 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.2047, allocations: 9.938 kB / 249 MB, free: 38.79 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.0001099/0.2048, allocations: 120.1 kB / 249.2 MB, free: 38.68 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.2049, allocations: 17.22 kB / 249.2 MB, free: 38.68 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/0.2049, allocations: 25.33 kB / 249.2 MB, free: 38.67 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2049, allocations: 2.844 kB / 249.2 MB, free: 38.67 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2049, allocations: 0 / 249.2 MB, free: 38.67 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.205, allocations: 1.781 kB / 249.2 MB, free: 38.67 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.2056, allocations: 0.5278 MB / 249.7 MB, free: 38.37 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2056, allocations: 1.438 kB / 249.7 MB, free: 38.37 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.2058, allocations: 41.22 kB / 249.8 MB, free: 38.37 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.947e-05/0.2059, allocations: 23.53 kB / 249.8 MB, free: 38.36 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.2059, allocations: 4.812 kB / 249.8 MB, free: 38.36 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006489/0.2066, allocations: 1.22 MB / 251 MB, free: 37.16 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2066, allocations: 1.438 kB / 251 MB, free: 37.16 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.207, allocations: 346.7 kB / 251.4 MB, free: 36.95 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.2071, allocations: 105.3 kB / 251.5 MB, free: 36.85 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.2071, allocations: 1.828 kB / 251.5 MB, free: 36.85 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.2074, allocations: 23.77 kB / 251.5 MB, free: 36.85 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.2074, allocations: 19.48 kB / 251.5 MB, free: 36.84 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2075, allocations: 7.125 kB / 251.5 MB, free: 36.84 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001483/0.2076, allocations: 156.4 kB / 251.7 MB, free: 36.76 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2076, allocations: 0 / 251.7 MB, free: 36.76 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003629/0.208, allocations: 55.38 kB / 251.7 MB, free: 36.76 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.0001157/0.2081, allocations: 99.59 kB / 251.8 MB, free: 36.67 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003955/0.2085, allocations: 241 kB / 252.1 MB, free: 36.56 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2085, allocations: 1.094 kB / 252.1 MB, free: 36.56 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.2087, allocations: 164.6 kB / 252.2 MB, free: 36.45 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.209, allocations: 27.33 kB / 252.2 MB, free: 36.45 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.2099, allocations: 0.5137 MB / 252.8 MB, free: 36.16 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.2101, allocations: 0.7808 MB / 253.5 MB, free: 35.46 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 9.428e-05/0.2102, allocations: 18.66 kB / 253.6 MB, free: 35.46 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.2103, allocations: 17 kB / 253.6 MB, free: 35.45 MB / 186.7 MB Notification: Performance of SimCode: time 3.5e-07/0.2103, allocations: 4 kB / 253.6 MB, free: 35.45 MB / 186.7 MB Notification: Performance of Templates: time 0.005293/0.2156, allocations: 1.932 MB / 255.5 MB, free: 35.31 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)