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.001462/0.001462, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008791/0.000879, allocations: 89.31 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.184e-05, allocations: 4 kB / 350.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3125/0.4134, allocations: 113.9 MB / 0.5038 GB, free: 7.961 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.4137, allocations: 86.58 kB / 0.5039 GB, free: 7.918 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1465/0.5603, allocations: 57.31 MB / 0.5599 GB, free: 15.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5603, allocations: 224 / 0.5599 GB, free: 15.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001547/0.5605, allocations: 59.98 kB / 0.5599 GB, free: 15.7 MB / 442.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.004373/0.5648, allocations: 2.311 MB / 0.5622 GB, free: 13.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5649, allocations: 12.03 kB / 0.5622 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009828/0.5659, allocations: 364.3 kB / 0.5625 GB, free: 12.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/0.5685, allocations: 1.512 MB / 0.564 GB, free: 11.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.5687, allocations: 193.2 kB / 0.5642 GB, free: 11.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.569, allocations: 267.8 kB / 0.5645 GB, free: 10.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004305/0.5733, allocations: 2.337 MB / 0.5667 GB, free: 8.492 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-05/0.5734, allocations: 11.84 kB / 0.5667 GB, free: 8.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.5737, allocations: 108 kB / 0.5668 GB, free: 8.375 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/0.5737, allocations: 64 kB / 0.5669 GB, free: 8.312 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002891/0.5766, allocations: 1.514 MB / 0.5684 GB, free: 6.785 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2304/0.807, allocations: 10.48 MB / 0.5786 GB, free: 80.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.8087, allocations: 0.8337 MB / 0.5794 GB, free: 80.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006646/0.8093, allocations: 431.2 kB / 0.5798 GB, free: 80.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.872e-05/0.8094, allocations: 13.97 kB / 0.5799 GB, free: 80.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.8094, allocations: 47 kB / 0.5799 GB, free: 80.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 2.665e-06/0.8094, allocations: 0 / 0.5799 GB, free: 80.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=89): time 0.003167/0.8126, allocations: 2.11 MB / 0.582 GB, free: 79.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.8127, allocations: 114.2 kB / 0.5821 GB, free: 79.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.8143, allocations: 1.312 MB / 0.5834 GB, free: 79.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.8144, allocations: 43.23 kB / 0.5834 GB, free: 79.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/0.815, allocations: 1.288 MB / 0.5847 GB, free: 78.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.8151, allocations: 337.2 kB / 0.585 GB, free: 78.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.8152, allocations: 33.19 kB / 0.585 GB, free: 78.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.8153, allocations: 368.4 kB / 0.5854 GB, free: 78.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.8158, allocations: 346.8 kB / 0.5857 GB, free: 78.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007905/0.8166, allocations: 1.042 MB / 0.5867 GB, free: 77.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000822/0.8175, allocations: 0.531 MB / 0.5872 GB, free: 77.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.8175, allocations: 10.12 kB / 0.5872 GB, free: 77.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=214) (initialization): time 0.002134/0.8196, allocations: 1.564 MB / 0.5888 GB, free: 77.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001545/0.8212, allocations: 9.427 MB / 0.598 GB, free: 67.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.8212, allocations: 28.58 kB / 0.598 GB, free: 67.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.8214, allocations: 58.38 kB / 0.598 GB, free: 67.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.8226, allocations: 403.5 kB / 0.5984 GB, free: 67.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007654/0.8234, allocations: 1.33 MB / 0.5997 GB, free: 66.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.8246, allocations: 94.69 kB / 0.5998 GB, free: 66.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/0.8247, allocations: 85.47 kB / 0.5999 GB, free: 66.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.8247, allocations: 3.781 kB / 0.5999 GB, free: 66.59 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001753/0.8265, allocations: 1.37 MB / 0.6012 GB, free: 66.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.8265, allocations: 27.97 kB / 0.6013 GB, free: 66.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.925e-05/0.8266, allocations: 52.27 kB / 0.6013 GB, free: 66.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.8277, allocations: 400 kB / 0.6017 GB, free: 66.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000575/0.8283, allocations: 1.32 MB / 0.603 GB, free: 65.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/0.8293, allocations: 82.25 kB / 0.6031 GB, free: 65.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.8294, allocations: 84.48 kB / 0.6032 GB, free: 65.29 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.000214/0.8296, allocations: 215.7 kB / 0.6034 GB, free: 65.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.8298, allocations: 175.5 kB / 0.6035 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.8311, allocations: 0.8109 MB / 0.6043 GB, free: 64.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.8311, allocations: 12.12 kB / 0.6043 GB, free: 64.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.8311, allocations: 0 / 0.6043 GB, free: 64.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.8311, allocations: 3.234 kB / 0.6043 GB, free: 64.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.8345, allocations: 2.776 MB / 0.607 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.8345, allocations: 3.156 kB / 0.607 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/0.8353, allocations: 196.4 kB / 0.6072 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.481e-05/0.8354, allocations: 31.09 kB / 0.6073 GB, free: 64.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.8354, allocations: 21.88 kB / 0.6073 GB, free: 64.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005434/0.836, allocations: 1.292 MB / 0.6085 GB, free: 63.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.836, allocations: 8.156 kB / 0.6086 GB, free: 63.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.8374, allocations: 1.536 MB / 0.6101 GB, free: 62.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.8379, allocations: 322 kB / 0.6104 GB, free: 62.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.8381, allocations: 24.19 kB / 0.6104 GB, free: 62.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/0.8388, allocations: 67.42 kB / 0.6104 GB, free: 62.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.8389, allocations: 66.5 kB / 0.6105 GB, free: 62.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.8389, allocations: 28.55 kB / 0.6105 GB, free: 62.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.84, allocations: 0.963 MB / 0.6115 GB, free: 62.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8401, allocations: 4 kB / 0.6115 GB, free: 62.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002162/0.8422, allocations: 0.8 MB / 0.6123 GB, free: 62.15 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.0004062/0.8426, allocations: 336.9 kB / 0.6126 GB, free: 62.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002354/0.845, allocations: 1.912 MB / 0.6145 GB, free: 61.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.845, allocations: 3.75 kB / 0.6145 GB, free: 61.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005329/0.8456, allocations: 480.8 kB / 0.6149 GB, free: 61.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.847, allocations: 404.9 kB / 0.6153 GB, free: 61.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/0.8518, allocations: 2.982 MB / 0.6182 GB, free: 60.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00094/0.8528, allocations: 1.526 MB / 0.6197 GB, free: 59.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001589/0.8544, allocations: 309 kB / 0.62 GB, free: 59.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.8546, allocations: 90.09 kB / 0.6201 GB, free: 59.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/0.8546, allocations: 0 / 0.6201 GB, free: 59.46 MB / 442.7 MB Notification: Performance of Templates: time 0.03927/0.8939, allocations: 22.8 MB / 0.6424 GB, free: 58.26 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)