Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001626/0.001626, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.439/1.439, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001697/0.001697, allocations: 118.5 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.664e-05, allocations: 0 / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07457/0.07461, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2546/0.3292, allocations: 92.45 MB / 435 MB, free: 3.707 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.3295, allocations: 82.58 kB / 435.1 MB, free: 3.664 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07147/0.401, allocations: 27.73 MB / 462.8 MB, free: 13.18 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.401, allocations: 0 / 462.8 MB, free: 13.18 MB / 347.1 MB Notification: Performance of Transformations before backend: time 7.4e-05/0.4011, allocations: 20 kB / 462.9 MB, free: 13.16 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00204/0.4031, allocations: 1.102 MB / 464 MB, free: 12.08 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4032, allocations: 12.03 kB / 464 MB, free: 12.07 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008194/0.404, allocations: 190.3 kB / 464.2 MB, free: 11.88 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.4055, allocations: 0.7921 MB / 465 MB, free: 11.23 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.4056, allocations: 36 kB / 465 MB, free: 11.19 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.4057, allocations: 59.91 kB / 465.1 MB, free: 11.13 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001044/0.4068, allocations: 0.5293 MB / 465.6 MB, free: 10.82 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.4081, allocations: 0.748 MB / 466.3 MB, free: 10.26 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.4082, allocations: 7.984 kB / 466.3 MB, free: 10.25 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.4082, allocations: 4 kB / 466.3 MB, free: 10.25 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.4083, allocations: 24 kB / 466.4 MB, free: 10.23 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004759/0.413, allocations: 3.724 MB / 470.1 MB, free: 7.066 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.4136, allocations: 428.8 kB / 470.5 MB, free: 6.754 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004344/0.414, allocations: 241.1 kB / 470.7 MB, free: 6.578 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.4141, allocations: 4 kB / 470.7 MB, free: 6.574 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.4141, allocations: 37.94 kB / 470.8 MB, free: 6.531 MB / 347.1 MB Notification: Performance of pre-optimization done (n=42): time 2.434e-06/0.4141, allocations: 0 / 470.8 MB, free: 6.531 MB / 347.1 MB Notification: Performance of matching and sorting (n=47): time 0.001825/0.4159, allocations: 1.108 MB / 471.9 MB, free: 5.559 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.416, allocations: 81.55 kB / 472 MB, free: 5.461 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/0.4167, allocations: 0.5779 MB / 472.5 MB, free: 5.035 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.4167, allocations: 29.7 kB / 472.6 MB, free: 5 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.417, allocations: 0.5624 MB / 473.1 MB, free: 4.461 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.4172, allocations: 157.7 kB / 473.3 MB, free: 4.305 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.4172, allocations: 0 / 473.3 MB, free: 4.305 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4174, allocations: 390.6 kB / 473.7 MB, free: 3.914 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.4176, allocations: 137.6 kB / 473.8 MB, free: 3.777 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003999/0.418, allocations: 424.4 kB / 474.2 MB, free: 3.23 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.4183, allocations: 208.7 kB / 474.4 MB, free: 3.023 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4183, allocations: 4 kB / 474.4 MB, free: 3.02 MB / 347.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00103/0.4194, allocations: 0.669 MB / 475.1 MB, free: 2.336 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4194, allocations: 11.94 kB / 475.1 MB, free: 2.324 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4194, allocations: 12 kB / 475.1 MB, free: 2.312 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/0.4197, allocations: 89.67 kB / 475.2 MB, free: 2.219 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.4202, allocations: 159.9 kB / 475.4 MB, free: 2.062 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.4224, allocations: 2.879 MB / 478.2 MB, free: 14.95 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.4229, allocations: 23.89 kB / 478.3 MB, free: 14.93 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.423, allocations: 36 kB / 478.3 MB, free: 14.89 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.4231, allocations: 133.8 kB / 478.4 MB, free: 14.76 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.4232, allocations: 75.06 kB / 478.5 MB, free: 14.68 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008837/0.4241, allocations: 441.6 kB / 478.9 MB, free: 14.24 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4241, allocations: 8 kB / 478.9 MB, free: 14.23 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4241, allocations: 3.953 kB / 479 MB, free: 14.23 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.4241, allocations: 11.92 kB / 479 MB, free: 14.21 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.4259, allocations: 1.26 MB / 480.2 MB, free: 12.88 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4259, allocations: 4 kB / 480.2 MB, free: 12.88 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.4262, allocations: 67.91 kB / 480.3 MB, free: 12.81 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.4265, allocations: 81.89 kB / 480.4 MB, free: 12.73 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.4265, allocations: 7.984 kB / 480.4 MB, free: 12.72 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.4287, allocations: 2.875 MB / 483.3 MB, free: 9.613 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4287, allocations: 0 / 483.3 MB, free: 9.613 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009906/0.4297, allocations: 0.7972 MB / 484.1 MB, free: 8.723 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.4299, allocations: 192.1 kB / 484.2 MB, free: 8.516 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/0.43, allocations: 4 kB / 484.2 MB, free: 8.512 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.4304, allocations: 19.98 kB / 484.3 MB, free: 8.492 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.4305, allocations: 43.84 kB / 484.3 MB, free: 8.449 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.4305, allocations: 16 kB / 484.3 MB, free: 8.434 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0005301/0.4311, allocations: 443.2 kB / 484.8 MB, free: 8.008 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4311, allocations: 0 / 484.8 MB, free: 8.008 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0008102/0.4319, allocations: 188 kB / 484.9 MB, free: 7.824 MB / 363.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003584/0.4323, allocations: 274.8 kB / 485.2 MB, free: 7.547 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0009095/0.4332, allocations: 0.6304 MB / 485.8 MB, free: 6.902 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4332, allocations: 0 / 485.8 MB, free: 6.902 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.4337, allocations: 408.5 kB / 486.2 MB, free: 6.484 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008264/0.4345, allocations: 185.4 kB / 486.4 MB, free: 6.309 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.4366, allocations: 1.227 MB / 487.6 MB, free: 5.031 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.4372, allocations: 1.028 MB / 488.7 MB, free: 3.977 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0003906/0.4376, allocations: 98.75 kB / 488.8 MB, free: 3.875 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.4377, allocations: 51.44 kB / 488.8 MB, free: 3.824 MB / 363.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4377, allocations: 0 / 488.8 MB, free: 3.824 MB / 363.1 MB Notification: Performance of Templates: time 0.01657/0.4543, allocations: 8.967 MB / 497.8 MB, free: 10.88 MB / 379.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1)