Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00165/0.00165, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00076/0.0007601, allocations: 99.59 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.401e-05/1.404e-05, allocations: 0 / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08263/0.08266, allocations: 51.47 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3256/0.4083, allocations: 113.2 MB / 0.4965 GB, free: 12.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.4086, allocations: 86.08 kB / 0.4965 GB, free: 12.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1339/0.5425, allocations: 56.6 MB / 0.5518 GB, free: 8.402 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5425, allocations: 224 / 0.5518 GB, free: 8.402 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001205/0.5427, allocations: 59.94 kB / 0.5519 GB, free: 8.344 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.003652/0.5463, allocations: 2.307 MB / 0.5541 GB, free: 5.984 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.5464, allocations: 8.031 kB / 0.5541 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008432/0.5472, allocations: 364.3 kB / 0.5545 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.5496, allocations: 1.516 MB / 0.556 GB, free: 4.043 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.013e-05/0.5497, allocations: 84 kB / 0.556 GB, free: 3.961 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/0.5499, allocations: 163.8 kB / 0.5562 GB, free: 3.801 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002451/0.5524, allocations: 1.369 MB / 0.5575 GB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003336/0.5557, allocations: 1.964 MB / 0.5595 GB, free: 364 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.149e-05/0.5558, allocations: 7.906 kB / 0.5595 GB, free: 356 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.5559, allocations: 4 kB / 0.5595 GB, free: 352 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.556, allocations: 60 kB / 0.5595 GB, free: 292 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.5676, allocations: 10.02 MB / 0.5693 GB, free: 5.773 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.5691, allocations: 0.7975 MB / 0.5701 GB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000674/0.5698, allocations: 412.3 kB / 0.5705 GB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-05/0.5699, allocations: 8.781 kB / 0.5705 GB, free: 4.527 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5699, allocations: 47.28 kB / 0.5705 GB, free: 4.473 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 2.424e-06/0.5699, allocations: 0 / 0.5705 GB, free: 4.473 MB / 442.7 MB Notification: Performance of matching and sorting (n=89): time 0.003003/0.5729, allocations: 1.963 MB / 0.5725 GB, free: 2.461 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.573, allocations: 119.5 kB / 0.5726 GB, free: 2.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.5744, allocations: 1.088 MB / 0.5736 GB, free: 1.227 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.5744, allocations: 25.7 kB / 0.5737 GB, free: 1.195 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2002/0.7747, allocations: 1.291 MB / 0.5749 GB, free: 85.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/0.7751, allocations: 321 kB / 0.5752 GB, free: 85.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.7752, allocations: 0.8438 kB / 0.5752 GB, free: 85.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.7753, allocations: 367.3 kB / 0.5756 GB, free: 85.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.7759, allocations: 318.9 kB / 0.5759 GB, free: 85.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/0.7767, allocations: 1.003 MB / 0.5769 GB, free: 84.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.7773, allocations: 0.4957 MB / 0.5773 GB, free: 84.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.7773, allocations: 9.062 kB / 0.5774 GB, free: 84.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=214) (initialization): time 0.00203/0.7794, allocations: 1.361 MB / 0.5787 GB, free: 84.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00137/0.7808, allocations: 9.332 MB / 0.5878 GB, free: 74.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.7808, allocations: 22.84 kB / 0.5878 GB, free: 74.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.781, allocations: 57.45 kB / 0.5879 GB, free: 74.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.7822, allocations: 410.3 kB / 0.5883 GB, free: 74.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006511/0.7828, allocations: 1.278 MB / 0.5895 GB, free: 73.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.784, allocations: 64.25 kB / 0.5896 GB, free: 73.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.842e-05/0.7841, allocations: 79.78 kB / 0.5896 GB, free: 73.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.7841, allocations: 3.156 kB / 0.5897 GB, free: 73.32 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001526/0.7856, allocations: 1.151 MB / 0.5908 GB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.7857, allocations: 25.28 kB / 0.5908 GB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.375e-05/0.7858, allocations: 57.77 kB / 0.5909 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.7869, allocations: 393.9 kB / 0.5912 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005945/0.7875, allocations: 1.272 MB / 0.5925 GB, free: 72.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.7887, allocations: 53.5 kB / 0.5925 GB, free: 72.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.7888, allocations: 80 kB / 0.5926 GB, free: 72.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep.y,dcdcInverter2.idealDcDc.powerController.local_reset,dcdcInverter1.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 212 * 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.0003222/0.7892, allocations: 174.8 kB / 0.5928 GB, free: 71.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.7895, allocations: 162.9 kB / 0.5929 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.7915, allocations: 0.7237 MB / 0.5936 GB, free: 71.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.7915, allocations: 10.19 kB / 0.5936 GB, free: 71.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7915, allocations: 0 / 0.5936 GB, free: 71.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/0.7915, allocations: 4.641 kB / 0.5936 GB, free: 71.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/0.7968, allocations: 2.411 MB / 0.596 GB, free: 71.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.7968, allocations: 3 kB / 0.596 GB, free: 71.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.7982, allocations: 193.4 kB / 0.5962 GB, free: 71.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/0.7983, allocations: 27.06 kB / 0.5962 GB, free: 71.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/0.7984, allocations: 13.75 kB / 0.5962 GB, free: 71.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000864/0.7993, allocations: 1.246 MB / 0.5974 GB, free: 70.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.7993, allocations: 9.031 kB / 0.5974 GB, free: 70.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.8014, allocations: 1.447 MB / 0.5989 GB, free: 69.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006047/0.8021, allocations: 297.3 kB / 0.5991 GB, free: 69.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.8023, allocations: 13.8 kB / 0.5992 GB, free: 69.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.8034, allocations: 52.67 kB / 0.5992 GB, free: 69.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.8035, allocations: 71.64 kB / 0.5993 GB, free: 69.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.8036, allocations: 27.5 kB / 0.5993 GB, free: 69.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001508/0.8051, allocations: 0.7835 MB / 0.6001 GB, free: 69.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8051, allocations: 0 / 0.6001 GB, free: 69.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003505/0.8086, allocations: 0.6884 MB / 0.6007 GB, free: 69.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (dcpm1.inertiaRotor.w,dcpm1.la.i,dcpm2.la.i,coupling.flange_a.phi,dcdcInverter1.vDCFilter.y,dcdcInverter1.iMotFilter.y,dcdcInverter1.vMotFilter.y,dcdcInverter1.iDCFilter.y,dcdcInverter1.idealDcDc.deadTime.y,dcdcInverter1.idealDcDc.powerController.y,dcdcInverter2.vDCFilter.y,dcdcInverter2.iMotFilter.y,dcdcInverter2.vMotFilter.y,dcdcInverter2.iDCFilter.y,dcdcInverter2.idealDcDc.deadTime.y,dcdcInverter2.idealDcDc.powerController.y) * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 87 * 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.0004927/0.8092, allocations: 279.7 kB / 0.601 GB, free: 69.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003235/0.8124, allocations: 1.756 MB / 0.6027 GB, free: 68.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8124, allocations: 0 / 0.6027 GB, free: 68.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.8129, allocations: 449.2 kB / 0.6031 GB, free: 68.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.8149, allocations: 357.4 kB / 0.6035 GB, free: 68.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006785/0.8217, allocations: 2.913 MB / 0.6063 GB, free: 67.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.8229, allocations: 1.523 MB / 0.6078 GB, free: 66.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002317/0.8252, allocations: 287.5 kB / 0.6081 GB, free: 66.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.8254, allocations: 88.89 kB / 0.6082 GB, free: 66.58 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.8254, allocations: 0 / 0.6082 GB, free: 66.58 MB / 442.7 MB Notification: Performance of Templates: time 0.05323/0.8787, allocations: 18.29 MB / 0.626 GB, free: 65.53 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive.pipe 2>&1)