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.7878/0.7878, allocations: 110.8 MB / 123.3 MB, free: 10.78 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001656/0.001656, allocations: 151.5 kB / 149.1 MB, free: 0.9844 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.91e-05/1.914e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04157/0.0416, allocations: 25.18 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0491/0.09074, allocations: 38.78 MB / 244.2 MB, free: 1.594 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.09096, allocations: 63.97 kB / 244.2 MB, free: 1.531 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1238/0.2148, allocations: 7.535 MB / 251.8 MB, free: 41.66 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2148, allocations: 0 / 251.8 MB, free: 41.66 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.151e-05/0.2149, allocations: 7.781 kB / 251.8 MB, free: 41.66 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.0008176/0.2157, allocations: 0.5894 MB / 252.4 MB, free: 41.16 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2158, allocations: 9.125 kB / 252.4 MB, free: 41.16 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.42e-05/0.2158, allocations: 48.86 kB / 252.4 MB, free: 41.13 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.2162, allocations: 302.4 kB / 252.7 MB, free: 40.84 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.2162, allocations: 27.34 kB / 252.7 MB, free: 40.82 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.2163, allocations: 40.31 kB / 252.8 MB, free: 40.81 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005706/0.2169, allocations: 367.3 kB / 253.1 MB, free: 40.59 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.2169, allocations: 0.9375 kB / 253.1 MB, free: 40.59 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.2169, allocations: 15.88 kB / 253.2 MB, free: 40.58 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.217, allocations: 12.61 kB / 253.2 MB, free: 40.57 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.2174, allocations: 226.3 kB / 253.4 MB, free: 40.49 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.2191, allocations: 1.284 MB / 254.7 MB, free: 39.45 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.2194, allocations: 184.3 kB / 254.9 MB, free: 39.35 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.2196, allocations: 147.1 kB / 255 MB, free: 39.29 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2197, allocations: 12.36 kB / 255 MB, free: 39.28 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2197, allocations: 40.91 kB / 255.1 MB, free: 39.23 MB / 186.7 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.2197, allocations: 0 / 255.1 MB, free: 39.23 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.001045/0.2208, allocations: 0.6606 MB / 255.7 MB, free: 38.73 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.2208, allocations: 88.95 kB / 255.8 MB, free: 38.63 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.0003021/0.2211, allocations: 248.4 kB / 256 MB, free: 38.46 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2211, allocations: 33.33 kB / 256.1 MB, free: 38.43 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.2212, allocations: 214.9 kB / 256.3 MB, free: 38.23 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.2213, allocations: 86.34 kB / 256.4 MB, free: 38.16 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.2213, allocations: 4 kB / 256.4 MB, free: 38.16 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.2214, allocations: 338.8 kB / 256.7 MB, free: 37.82 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.695e-05/0.2215, allocations: 67.16 kB / 256.8 MB, free: 37.79 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.2216, allocations: 120.1 kB / 256.9 MB, free: 37.7 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.2218, allocations: 75.56 kB / 257 MB, free: 37.66 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2218, allocations: 4.031 kB / 257 MB, free: 37.66 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004135/0.2222, allocations: 309.5 kB / 257.3 MB, free: 37.48 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2222, allocations: 7.875 kB / 257.3 MB, free: 37.48 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2222, allocations: 0 / 257.3 MB, free: 37.48 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/0.2224, allocations: 69.28 kB / 257.3 MB, free: 37.44 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.2226, allocations: 51.09 kB / 257.4 MB, free: 37.43 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.2241, allocations: 2.776 MB / 260.2 MB, free: 34.6 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.2243, allocations: 19.77 kB / 260.2 MB, free: 34.59 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.2243, allocations: 11.84 kB / 260.2 MB, free: 34.59 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.000121/0.2244, allocations: 129.2 kB / 260.3 MB, free: 34.46 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.2245, allocations: 22.91 kB / 260.3 MB, free: 34.45 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.2245, allocations: 25.88 kB / 260.4 MB, free: 34.42 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2245, allocations: 3.594 kB / 260.4 MB, free: 34.42 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2245, allocations: 0 / 260.4 MB, free: 34.42 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2246, allocations: 7.938 kB / 260.4 MB, free: 34.41 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007257/0.2253, allocations: 0.7315 MB / 261.1 MB, free: 33.82 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2253, allocations: 0 / 261.1 MB, free: 33.82 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.2255, allocations: 47.72 kB / 261.2 MB, free: 33.78 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.2257, allocations: 57.69 kB / 261.2 MB, free: 33.72 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.2257, allocations: 12.06 kB / 261.2 MB, free: 33.71 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.227, allocations: 2.771 MB / 264 MB, free: 30.67 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.227, allocations: 4.062 kB / 264 MB, free: 30.66 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.2275, allocations: 473.9 kB / 264.5 MB, free: 30.16 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.552e-05/0.2276, allocations: 116.8 kB / 264.6 MB, free: 30.03 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.2276, allocations: 8 kB / 264.6 MB, free: 30.02 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.2278, allocations: 27.94 kB / 264.6 MB, free: 29.99 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.2279, allocations: 19.91 kB / 264.6 MB, free: 29.97 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.2279, allocations: 12 kB / 264.6 MB, free: 29.96 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.228, allocations: 183.1 kB / 264.8 MB, free: 29.78 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2281, allocations: 4 kB / 264.8 MB, free: 29.78 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003949/0.2285, allocations: 76 kB / 264.9 MB, free: 29.7 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.0001254/0.2286, allocations: 107.2 kB / 265 MB, free: 29.59 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.2291, allocations: 437 kB / 265.4 MB, free: 29.14 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2291, allocations: 0 / 265.4 MB, free: 29.14 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.2294, allocations: 338.6 kB / 265.8 MB, free: 28.78 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.2298, allocations: 54.09 kB / 265.8 MB, free: 28.73 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.2306, allocations: 0.5882 MB / 266.4 MB, free: 28.12 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.2308, allocations: 0.7948 MB / 267.2 MB, free: 27.3 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.2309, allocations: 26.06 kB / 267.2 MB, free: 27.27 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.231, allocations: 19.44 kB / 267.2 MB, free: 27.25 MB / 186.7 MB Notification: Performance of SimCode: time 2.3e-07/0.231, allocations: 4 kB / 267.2 MB, free: 27.25 MB / 186.7 MB Notification: Performance of Templates: time 0.005479/0.2365, allocations: 3.093 MB / 270.3 MB, free: 24.17 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)