Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_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.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.9039/0.9039, allocations: 110.8 MB / 118.3 MB, free: 14.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001663/0.001663, allocations: 159.3 kB / 144 MB, free: 4.84 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.202e-05/1.204e-05, allocations: 4 kB / 173.8 MB, free: 22.81 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03786/0.03788, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04918/0.08711, allocations: 38.12 MB / 237.1 MB, free: 7.52 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.08738, allocations: 63.97 kB / 237.2 MB, free: 7.457 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.119/0.2064, allocations: 7.448 MB / 244.7 MB, free: 41.34 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2064, allocations: 0 / 244.7 MB, free: 41.34 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.096e-05/0.2065, allocations: 7.469 kB / 244.7 MB, free: 41.34 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0009636/0.2075, allocations: 0.5851 MB / 245.2 MB, free: 40.98 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2075, allocations: 9.625 kB / 245.3 MB, free: 40.98 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.2076, allocations: 50.64 kB / 245.3 MB, free: 40.95 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.208, allocations: 299.2 kB / 245.6 MB, free: 40.74 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.208, allocations: 15.64 kB / 245.6 MB, free: 40.74 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.2081, allocations: 23.28 kB / 245.6 MB, free: 40.74 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004099/0.2085, allocations: 216 kB / 245.8 MB, free: 40.73 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.209, allocations: 303.1 kB / 246.1 MB, free: 40.68 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.209, allocations: 2.125 kB / 246.1 MB, free: 40.68 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.2091, allocations: 8.422 kB / 246.2 MB, free: 40.68 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2091, allocations: 8.25 kB / 246.2 MB, free: 40.68 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.2108, allocations: 1.206 MB / 247.4 MB, free: 40.2 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.2111, allocations: 181.7 kB / 247.5 MB, free: 40.18 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.2114, allocations: 134.1 kB / 247.7 MB, free: 40.17 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.2115, allocations: 3.516 kB / 247.7 MB, free: 40.17 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.2115, allocations: 43.7 kB / 247.7 MB, free: 40.13 MB / 186.7 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.2115, allocations: 0 / 247.7 MB, free: 40.13 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.001071/0.2126, allocations: 0.6133 MB / 248.3 MB, free: 39.8 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.2126, allocations: 83.47 kB / 248.4 MB, free: 39.7 MB / 186.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:3115:9-3117:50:writable] Warning: Parameter dcse.Le has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0005) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:3112:9-3114:50:writable] Warning: Parameter dcse.Re has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) 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 dcse.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 dcse.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 dcse.wNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=147.6548547187203) 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 dcse.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 dcse.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 dcse.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcse.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 dcse.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.0002852/0.2129, allocations: 218.2 kB / 248.6 MB, free: 39.6 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2129, allocations: 28.52 kB / 248.7 MB, free: 39.57 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.2131, allocations: 215.6 kB / 248.9 MB, free: 39.43 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.2131, allocations: 88.64 kB / 249 MB, free: 39.37 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.2131, allocations: 1.406 kB / 249 MB, free: 39.37 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.743e-05/0.2132, allocations: 337.3 kB / 249.3 MB, free: 39.05 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2133, allocations: 61.69 kB / 249.3 MB, free: 39.05 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.2135, allocations: 112.8 kB / 249.5 MB, free: 38.99 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.2136, allocations: 77.42 kB / 249.5 MB, free: 38.98 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2136, allocations: 0.5156 kB / 249.5 MB, free: 38.98 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004742/0.2141, allocations: 286.7 kB / 249.8 MB, free: 38.91 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2141, allocations: 8.344 kB / 249.8 MB, free: 38.91 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2141, allocations: 1.125 kB / 249.8 MB, free: 38.91 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.2144, allocations: 58.5 kB / 249.9 MB, free: 38.9 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.2146, allocations: 60.7 kB / 249.9 MB, free: 38.89 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.2162, allocations: 2.677 MB / 252.6 MB, free: 36.36 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.2164, allocations: 16.34 kB / 252.6 MB, free: 36.36 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.2164, allocations: 14.72 kB / 252.6 MB, free: 36.35 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real dcse.airGapDC.psi_e:VARIABLE(unit = "Wb" ) "Excitation flux" type: Real dcse.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: 6 * 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): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.2166, allocations: 114.8 kB / 252.8 MB, free: 36.24 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.2166, allocations: 24.14 kB / 252.8 MB, free: 36.23 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.2167, allocations: 24.52 kB / 252.8 MB, free: 36.21 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2167, allocations: 5.094 kB / 252.8 MB, free: 36.21 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2167, allocations: 2.406 kB / 252.8 MB, free: 36.21 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.2167, allocations: 1.219 kB / 252.8 MB, free: 36.21 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008087/0.2175, allocations: 0.6553 MB / 253.5 MB, free: 35.76 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2176, allocations: 3.953 kB / 253.5 MB, free: 35.76 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.2178, allocations: 46.47 kB / 253.5 MB, free: 35.75 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/0.2179, allocations: 53.53 kB / 253.6 MB, free: 35.73 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.218, allocations: 6.031 kB / 253.6 MB, free: 35.73 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.2193, allocations: 2.678 MB / 256.3 MB, free: 33.09 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2193, allocations: 1.219 kB / 256.3 MB, free: 33.09 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/0.2199, allocations: 452 kB / 256.7 MB, free: 32.78 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.22, allocations: 115.8 kB / 256.8 MB, free: 32.66 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.22, allocations: 1.844 kB / 256.8 MB, free: 32.66 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.2203, allocations: 27.94 kB / 256.8 MB, free: 32.66 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.2203, allocations: 18.73 kB / 256.9 MB, free: 32.65 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.2203, allocations: 4.781 kB / 256.9 MB, free: 32.65 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.2205, allocations: 164.8 kB / 257 MB, free: 32.54 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2205, allocations: 0 / 257 MB, free: 32.54 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.2209, allocations: 74.69 kB / 257.1 MB, free: 32.54 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (dcse.inertiaRotor.w,dcse.airGapDC.psi_e,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001319/0.2211, allocations: 97.72 kB / 257.2 MB, free: 32.45 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005898/0.2217, allocations: 401.7 kB / 257.6 MB, free: 32.18 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.2217, allocations: 0.5 kB / 257.6 MB, free: 32.18 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.222, allocations: 322.5 kB / 257.9 MB, free: 31.93 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.2224, allocations: 51.95 kB / 258 MB, free: 31.9 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/0.2233, allocations: 0.5691 MB / 258.5 MB, free: 31.54 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.2236, allocations: 0.7976 MB / 259.3 MB, free: 30.84 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.2237, allocations: 24.97 kB / 259.3 MB, free: 30.84 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.2238, allocations: 18.62 kB / 259.4 MB, free: 30.83 MB / 186.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2238, allocations: 0 / 259.4 MB, free: 30.83 MB / 186.7 MB Notification: Performance of Templates: time 0.006109/0.2299, allocations: 2.718 MB / 262.1 MB, free: 30.65 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCSE_Start.pipe 2>&1)