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.6541/0.6541, allocations: 110.9 MB / 125.9 MB, free: 6.199 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001573/0.001573, allocations: 145.8 kB / 151.8 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002384/0.0002384, allocations: 8 kB / 184.9 MB, free: 3.906 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1134, allocations: 25.15 MB / 210 MB, free: 29.72 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04298/0.1564, allocations: 38.99 MB / 249 MB, free: 10.82 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.1566, allocations: 63.97 kB / 249.1 MB, free: 10.75 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01935/0.176, allocations: 7.798 MB / 256.9 MB, free: 2.977 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.176, allocations: 3.938 kB / 256.9 MB, free: 2.973 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.1761, allocations: 8 kB / 256.9 MB, free: 2.965 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.0009553/0.177, allocations: 0.651 MB / 257.6 MB, free: 2.262 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1771, allocations: 12.03 kB / 257.6 MB, free: 2.25 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.369e-05/0.1772, allocations: 43.44 kB / 257.6 MB, free: 2.207 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.1775, allocations: 305.4 kB / 257.9 MB, free: 1.871 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.1776, allocations: 33 kB / 257.9 MB, free: 1.84 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.1777, allocations: 44 kB / 258 MB, free: 1.797 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.1783, allocations: 411.5 kB / 258.4 MB, free: 1.383 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.1784, allocations: 7.984 kB / 258.4 MB, free: 1.375 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.1784, allocations: 22.86 kB / 258.4 MB, free: 1.355 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1784, allocations: 8 kB / 258.4 MB, free: 1.348 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005807/0.179, allocations: 295.8 kB / 258.7 MB, free: 1.059 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.181, allocations: 1.364 MB / 260.1 MB, free: 15.61 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.1814, allocations: 205.3 kB / 260.3 MB, free: 15.39 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.1814, allocations: 7.938 kB / 260.3 MB, free: 15.39 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1815, allocations: 34.56 kB / 260.3 MB, free: 15.34 MB / 202.7 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.1815, allocations: 0 / 260.3 MB, free: 15.34 MB / 202.7 MB Notification: Performance of matching and sorting (n=21): time 0.00148/0.183, allocations: 0.8221 MB / 261.1 MB, free: 14.45 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.183, allocations: 85.23 kB / 261.2 MB, free: 14.34 MB / 202.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.0003617/0.1834, allocations: 271.9 kB / 261.5 MB, free: 14.07 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1834, allocations: 29.7 kB / 261.5 MB, free: 14.04 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1836, allocations: 231.7 kB / 261.7 MB, free: 13.8 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.1836, allocations: 78.91 kB / 261.8 MB, free: 13.73 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.1836, allocations: 4 kB / 261.8 MB, free: 13.72 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1837, allocations: 334.8 kB / 262.2 MB, free: 13.39 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.1839, allocations: 84.23 kB / 262.2 MB, free: 13.3 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.1842, allocations: 144.4 kB / 262.4 MB, free: 13.13 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.1844, allocations: 100.5 kB / 262.5 MB, free: 13.04 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1844, allocations: 0 / 262.5 MB, free: 13.04 MB / 202.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005661/0.185, allocations: 328.3 kB / 262.8 MB, free: 12.71 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.185, allocations: 11.95 kB / 262.8 MB, free: 12.7 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.185, allocations: 2.938 kB / 262.8 MB, free: 12.7 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/0.1851, allocations: 20.86 kB / 262.8 MB, free: 12.67 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.1854, allocations: 72.02 kB / 262.9 MB, free: 12.6 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009226/0.1863, allocations: 1.276 MB / 264.2 MB, free: 11.19 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.1865, allocations: 19.98 kB / 264.2 MB, free: 11.17 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1866, allocations: 12 kB / 264.2 MB, free: 11.16 MB / 202.7 MB Warning: Assuming fixed start value for the following 4 variables: dcee.inertiaRotor.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real dcee.airGapDC.psi_e:VARIABLE(unit = "Wb" fixed = true ) "Excitation flux" type: Real dcee.la.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real dcee.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: 8 * 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 (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.0002148/0.1868, allocations: 171 kB / 264.4 MB, free: 10.98 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.1868, allocations: 35.58 kB / 264.4 MB, free: 10.95 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.1869, allocations: 30.2 kB / 264.4 MB, free: 10.92 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1869, allocations: 4 kB / 264.4 MB, free: 10.91 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1869, allocations: 0 / 264.4 MB, free: 10.91 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1869, allocations: 0 / 264.4 MB, free: 10.91 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009576/0.1879, allocations: 0.7166 MB / 265.2 MB, free: 10.13 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1879, allocations: 0 / 265.2 MB, free: 10.13 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.1882, allocations: 61.09 kB / 265.2 MB, free: 10.07 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.568e-05/0.1883, allocations: 20.84 kB / 265.2 MB, free: 10.05 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.1883, allocations: 8 kB / 265.2 MB, free: 10.04 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007925/0.1891, allocations: 1.285 MB / 266.5 MB, free: 8.629 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1891, allocations: 0 / 266.5 MB, free: 8.629 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.1898, allocations: 478.8 kB / 267 MB, free: 8.125 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1899, allocations: 120.8 kB / 267.1 MB, free: 7.988 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.1899, allocations: 7.953 kB / 267.1 MB, free: 7.98 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.1902, allocations: 25.55 kB / 267.1 MB, free: 7.957 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.1902, allocations: 27.91 kB / 267.2 MB, free: 7.93 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1902, allocations: 8 kB / 267.2 MB, free: 7.922 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.1904, allocations: 202 kB / 267.4 MB, free: 7.723 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1904, allocations: 0 / 267.4 MB, free: 7.723 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.000344/0.1908, allocations: 76 kB / 267.5 MB, free: 7.648 MB / 202.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 () * Number of clocked 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.0001156/0.1909, allocations: 99.95 kB / 267.6 MB, free: 7.543 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0006394/0.1916, allocations: 332.3 kB / 267.9 MB, free: 7.207 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1916, allocations: 4.062 kB / 267.9 MB, free: 7.203 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.1919, allocations: 230.5 kB / 268.1 MB, free: 6.965 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1923, allocations: 50.94 kB / 268.2 MB, free: 6.914 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1936, allocations: 1.081 MB / 269.2 MB, free: 5.809 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.194, allocations: 0.8067 MB / 270 MB, free: 4.977 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.1941, allocations: 26.22 kB / 270.1 MB, free: 4.949 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.1941, allocations: 23.44 kB / 270.1 MB, free: 4.926 MB / 202.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1941, allocations: 0 / 270.1 MB, free: 4.926 MB / 202.7 MB Notification: Performance of Templates: time 0.00569/0.1998, allocations: 2.714 MB / 272.8 MB, free: 2.23 MB / 202.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)