Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7822/0.7822, allocations: 110.8 MB / 118.3 MB, free: 14.46 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002035/0.002036, allocations: 151.4 kB / 144 MB, free: 4.793 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.583e-05/1.592e-05, allocations: 4 kB / 173.9 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03774/0.03777, allocations: 25.17 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04941/0.08722, allocations: 38.22 MB / 237.3 MB, free: 7.406 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.08745, allocations: 63.97 kB / 237.3 MB, free: 7.344 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.117/0.2045, allocations: 7.718 MB / 245 MB, free: 41.07 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2045, allocations: 1.531 kB / 245 MB, free: 41.07 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.01e-05/0.2045, allocations: 8.25 kB / 245 MB, free: 41.07 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009652/0.2055, allocations: 0.613 MB / 245.7 MB, free: 40.68 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2056, allocations: 9.656 kB / 245.7 MB, free: 40.68 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.127e-05/0.2057, allocations: 47.44 kB / 245.7 MB, free: 40.66 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.206, allocations: 304.7 kB / 246 MB, free: 40.44 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2061, allocations: 12.38 kB / 246 MB, free: 40.44 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.2061, allocations: 29.02 kB / 246.1 MB, free: 40.43 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004373/0.2066, allocations: 226.6 kB / 246.3 MB, free: 40.43 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005897/0.2072, allocations: 332.2 kB / 246.6 MB, free: 40.36 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.2072, allocations: 2.172 kB / 246.6 MB, free: 40.36 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.2073, allocations: 0 / 246.6 MB, free: 40.36 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.2073, allocations: 9.625 kB / 246.6 MB, free: 40.36 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.2092, allocations: 1.277 MB / 247.9 MB, free: 39.86 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.2095, allocations: 161.1 kB / 248 MB, free: 39.83 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2096, allocations: 72.97 kB / 248.1 MB, free: 39.82 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.2097, allocations: 1.438 kB / 248.1 MB, free: 39.82 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2097, allocations: 37.11 kB / 248.2 MB, free: 39.79 MB / 186.7 MB Notification: Performance of pre-optimization done (n=20): time 1.893e-06/0.2097, allocations: 2.406 kB / 248.2 MB, free: 39.79 MB / 186.7 MB Notification: Performance of matching and sorting (n=21): time 0.000868/0.2106, allocations: 0.5386 MB / 248.7 MB, free: 39.45 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.2106, allocations: 83.94 kB / 248.8 MB, free: 39.35 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:2962:9-2964:50:writable] Warning: Parameter dcee.Le has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2959:9-2961:50:writable] Warning: Parameter dcee.Re 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:2956:9-2958:50:writable] Warning: Parameter dcee.IeNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.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 dcee.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 dcee.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 dcee.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 dcee.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 dcee.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 dcee.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcee.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 dcee.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.0003058/0.2109, allocations: 235 kB / 249 MB, free: 39.25 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.211, allocations: 26.64 kB / 249 MB, free: 39.22 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.2111, allocations: 234.4 kB / 249.3 MB, free: 39.06 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.2111, allocations: 78.48 kB / 249.3 MB, free: 39.01 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.2111, allocations: 0 / 249.3 MB, free: 39.01 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.2112, allocations: 340.5 kB / 249.7 MB, free: 38.7 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.311e-05/0.2113, allocations: 49.75 kB / 249.7 MB, free: 38.7 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.2114, allocations: 119.1 kB / 249.8 MB, free: 38.62 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.2115, allocations: 68.77 kB / 249.9 MB, free: 38.62 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2115, allocations: 0.7812 kB / 249.9 MB, free: 38.62 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003811/0.2119, allocations: 242 kB / 250.1 MB, free: 38.57 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.212, allocations: 6.578 kB / 250.1 MB, free: 38.57 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.212, allocations: 1.531 kB / 250.1 MB, free: 38.57 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.2121, allocations: 23.3 kB / 250.2 MB, free: 38.56 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.2124, allocations: 71.28 kB / 250.2 MB, free: 38.55 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000633/0.213, allocations: 1.23 MB / 251.5 MB, free: 37.36 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.2132, allocations: 19.52 kB / 251.5 MB, free: 37.36 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.2132, allocations: 8.75 kB / 251.5 MB, free: 37.36 MB / 186.7 MB Warning: Assuming fixed start value for the following 4 variables: dcee.inertiaRotor.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real dcee.airGapDC.psi_e:VARIABLE(unit = "Wb" ) "Excitation flux" type: Real dcee.la.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real dcee.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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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.0001156/0.2134, allocations: 116.6 kB / 251.6 MB, free: 37.25 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.2134, allocations: 28.14 kB / 251.6 MB, free: 37.23 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.2135, allocations: 26.7 kB / 251.7 MB, free: 37.23 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2135, allocations: 2.219 kB / 251.7 MB, free: 37.23 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2135, allocations: 8.641 kB / 251.7 MB, free: 37.23 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2135, allocations: 4.266 kB / 251.7 MB, free: 37.23 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007023/0.2142, allocations: 0.5874 MB / 252.3 MB, free: 36.93 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2142, allocations: 1.188 kB / 252.3 MB, free: 36.93 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.2145, allocations: 53.8 kB / 252.3 MB, free: 36.93 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.546e-05/0.2146, allocations: 25.28 kB / 252.3 MB, free: 36.92 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.2146, allocations: 6.656 kB / 252.4 MB, free: 36.91 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005139/0.2151, allocations: 1.221 MB / 253.6 MB, free: 35.69 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2151, allocations: 5.5 kB / 253.6 MB, free: 35.68 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.2155, allocations: 380.5 kB / 253.9 MB, free: 35.41 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.2156, allocations: 111.6 kB / 254.1 MB, free: 35.29 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.2156, allocations: 5.344 kB / 254.1 MB, free: 35.29 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.2159, allocations: 29.72 kB / 254.1 MB, free: 35.29 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.2159, allocations: 13.28 kB / 254.1 MB, free: 35.29 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.216, allocations: 8.531 kB / 254.1 MB, free: 35.28 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.2161, allocations: 170.6 kB / 254.3 MB, free: 35.17 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2161, allocations: 4 kB / 254.3 MB, free: 35.17 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003499/0.2165, allocations: 64.56 kB / 254.3 MB, free: 35.17 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.0001112/0.2166, allocations: 106.8 kB / 254.5 MB, free: 35.07 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.2169, allocations: 263.9 kB / 254.7 MB, free: 34.91 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.217, allocations: 0 / 254.7 MB, free: 34.91 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.2171, allocations: 184 kB / 254.9 MB, free: 34.78 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.2175, allocations: 33.78 kB / 254.9 MB, free: 34.77 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/0.2183, allocations: 0.631 MB / 255.6 MB, free: 34.36 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.2185, allocations: 0.8028 MB / 256.4 MB, free: 33.66 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.2186, allocations: 27.92 kB / 256.4 MB, free: 33.65 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.2187, allocations: 19.59 kB / 256.4 MB, free: 33.64 MB / 186.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2187, allocations: 0 / 256.4 MB, free: 33.64 MB / 186.7 MB Notification: Performance of Templates: time 0.004955/0.2236, allocations: 2.319 MB / 258.7 MB, free: 33.48 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.pipe 2>&1)