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.6799/0.6799, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002082/0.002082, allocations: 143.3 kB / 151.8 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002228/0.0002227, allocations: 4 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1085, allocations: 25.15 MB / 210 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0395/0.1481, allocations: 38.88 MB / 248.9 MB, free: 10.96 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.1483, allocations: 67.97 kB / 249 MB, free: 10.89 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01898/0.1673, allocations: 7.521 MB / 256.5 MB, free: 3.383 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1674, allocations: 0 / 256.5 MB, free: 3.383 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.1674, allocations: 15.98 kB / 256.5 MB, free: 3.367 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.0009182/0.1683, allocations: 0.6277 MB / 257.2 MB, free: 2.688 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1684, allocations: 12.03 kB / 257.2 MB, free: 2.676 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.1685, allocations: 49.84 kB / 257.2 MB, free: 2.633 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1688, allocations: 299 kB / 257.5 MB, free: 2.301 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.1688, allocations: 32.94 kB / 257.5 MB, free: 2.27 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/0.1689, allocations: 36 kB / 257.6 MB, free: 2.234 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/0.1696, allocations: 390.2 kB / 258 MB, free: 1.84 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1696, allocations: 0 / 258 MB, free: 1.84 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.1696, allocations: 16 kB / 258 MB, free: 1.824 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1696, allocations: 12.17 kB / 258 MB, free: 1.812 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.1702, allocations: 279.8 kB / 258.3 MB, free: 1.539 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.172, allocations: 1.287 MB / 259.5 MB, free: 172 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.1724, allocations: 212.3 kB / 259.7 MB, free: 15.95 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1724, allocations: 4.188 kB / 259.8 MB, free: 15.95 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1725, allocations: 46.69 kB / 259.8 MB, free: 15.89 MB / 202.7 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.1725, allocations: 0 / 259.8 MB, free: 15.89 MB / 202.7 MB Notification: Performance of matching and sorting (n=24): time 0.001722/0.1742, allocations: 0.8804 MB / 260.7 MB, free: 14.94 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.1743, allocations: 85.06 kB / 260.8 MB, free: 14.84 MB / 202.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.0003616/0.1746, allocations: 259.4 kB / 261 MB, free: 14.58 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1747, allocations: 25.7 kB / 261 MB, free: 14.55 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.1748, allocations: 219.8 kB / 261.3 MB, free: 14.33 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.1749, allocations: 86.66 kB / 261.3 MB, free: 14.25 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.1749, allocations: 4 kB / 261.3 MB, free: 14.24 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.175, allocations: 334.8 kB / 261.7 MB, free: 13.91 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.1752, allocations: 84.25 kB / 261.8 MB, free: 13.82 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.1754, allocations: 134.5 kB / 261.9 MB, free: 13.67 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.1756, allocations: 104.6 kB / 262 MB, free: 13.57 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1756, allocations: 0 / 262 MB, free: 13.57 MB / 202.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006071/0.1763, allocations: 346.1 kB / 262.3 MB, free: 13.22 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1763, allocations: 11.98 kB / 262.3 MB, free: 13.21 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1763, allocations: 0 / 262.3 MB, free: 13.21 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.1765, allocations: 61.84 kB / 262.4 MB, free: 13.14 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.1768, allocations: 51.92 kB / 262.4 MB, free: 13.09 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.1789, allocations: 2.805 MB / 265.3 MB, free: 10.02 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.1791, allocations: 21.73 kB / 265.3 MB, free: 10 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.1791, allocations: 10.34 kB / 265.3 MB, free: 9.992 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real dcse.airGapDC.psi_e:VARIABLE(unit = "Wb" fixed = true ) "Excitation flux" type: Real dcse.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: 6 * 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 (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.0002811/0.1794, allocations: 166.8 kB / 265.4 MB, free: 9.82 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.1795, allocations: 23.72 kB / 265.5 MB, free: 9.797 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.1795, allocations: 26.17 kB / 265.5 MB, free: 9.77 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1795, allocations: 4 kB / 265.5 MB, free: 9.766 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1796, allocations: 0 / 265.5 MB, free: 9.766 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1796, allocations: 3.953 kB / 265.5 MB, free: 9.762 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.1806, allocations: 0.7688 MB / 266.3 MB, free: 8.926 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1806, allocations: 3.938 kB / 266.3 MB, free: 8.922 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.1809, allocations: 48.03 kB / 266.3 MB, free: 8.875 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.181, allocations: 58.75 kB / 266.4 MB, free: 8.812 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.1811, allocations: 4.188 kB / 266.4 MB, free: 8.809 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.1829, allocations: 2.81 MB / 269.2 MB, free: 5.73 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1829, allocations: 32 / 269.2 MB, free: 5.73 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.1837, allocations: 0.5128 MB / 269.7 MB, free: 5.18 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.1838, allocations: 120.8 kB / 269.8 MB, free: 5.043 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.1839, allocations: 4 kB / 269.8 MB, free: 5.039 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.1841, allocations: 35.92 kB / 269.9 MB, free: 5.004 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.1842, allocations: 23.97 kB / 269.9 MB, free: 4.98 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1842, allocations: 4 kB / 269.9 MB, free: 4.977 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.000178/0.1844, allocations: 182 kB / 270.1 MB, free: 4.801 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1844, allocations: 0 / 270.1 MB, free: 4.801 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0004679/0.1849, allocations: 87.94 kB / 270.2 MB, free: 4.715 MB / 202.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 () * Number of clocked 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.0001615/0.185, allocations: 103.2 kB / 270.3 MB, free: 4.602 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0008393/0.1859, allocations: 474.6 kB / 270.7 MB, free: 4.113 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1859, allocations: 4.062 kB / 270.7 MB, free: 4.109 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.1864, allocations: 349.3 kB / 271.1 MB, free: 3.742 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.1868, allocations: 60.22 kB / 271.1 MB, free: 3.688 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.1881, allocations: 1.005 MB / 272.1 MB, free: 2.664 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.1884, allocations: 0.7986 MB / 272.9 MB, free: 1.84 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1886, allocations: 22.3 kB / 272.9 MB, free: 1.816 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.1886, allocations: 19.44 kB / 273 MB, free: 1.797 MB / 202.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1886, allocations: 0 / 273 MB, free: 1.797 MB / 202.7 MB Notification: Performance of Templates: time 0.005837/0.1945, allocations: 3.078 MB / 276 MB, free: 14.74 MB / 218.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)