Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001589/0.001589, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.615/1.615, allocations: 194.3 MB / 208.4 MB, free: 6.695 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002119/0.002119, allocations: 108.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.916e-05, allocations: 7.984 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08512/0.08516, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3432/0.4284, allocations: 116.9 MB / 466.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.4287, allocations: 82.45 kB / 466.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6752/1.104, allocations: 192.9 MB / 0.6439 GB, free: 35.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.104, allocations: 0 / 0.6439 GB, free: 35.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005849/1.105, allocations: 211.8 kB / 0.6441 GB, free: 35.67 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2286 * Number of variables: 2286 Notification: Performance of Generate backend data structure: time 0.02319/1.128, allocations: 7.889 MB / 0.6518 GB, free: 27.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/1.128, allocations: 12.03 kB / 0.6518 GB, free: 27.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/1.138, allocations: 1.897 MB / 0.6536 GB, free: 25.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/1.154, allocations: 7.034 MB / 0.6605 GB, free: 18.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004382/1.154, allocations: 0.6382 MB / 0.6611 GB, free: 18.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002295/1.156, allocations: 0.8396 MB / 0.6619 GB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02821/1.185, allocations: 10.9 MB / 0.6726 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003553/1.185, allocations: 11.94 kB / 0.6726 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002444/1.188, allocations: 364 kB / 0.6729 GB, free: 5.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002919/1.188, allocations: 369.5 kB / 0.6733 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01957/1.207, allocations: 8.719 MB / 0.6818 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3545/1.562, allocations: 35.97 MB / 0.7169 GB, free: 39.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/1.577, allocations: 16.74 MB / 0.7333 GB, free: 27.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006081/1.583, allocations: 3.36 MB / 0.7366 GB, free: 27.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02094/1.604, allocations: 9.5 MB / 0.7458 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/1.604, allocations: 63.8 kB / 0.7459 GB, free: 25.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=293): time 6.522e-06/1.604, allocations: 0 / 0.7459 GB, free: 25.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=345): time 0.02307/1.627, allocations: 11.52 MB / 0.7571 GB, free: 23.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/1.627, allocations: 86.17 kB / 0.7572 GB, free: 23.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00578/1.633, allocations: 3.828 MB / 0.761 GB, free: 22.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000588/1.634, allocations: 79.48 kB / 0.761 GB, free: 22.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001907/1.635, allocations: 3.896 MB / 0.7648 GB, free: 21.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001199/1.637, allocations: 1.174 MB / 0.766 GB, free: 20.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/1.637, allocations: 93.53 kB / 0.7661 GB, free: 20.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/1.637, allocations: 482.4 kB / 0.7665 GB, free: 20.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/1.639, allocations: 1.711 MB / 0.7682 GB, free: 20.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003058/1.642, allocations: 3.152 MB / 0.7713 GB, free: 18.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/1.646, allocations: 2.297 MB / 0.7735 GB, free: 17.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.75e-05/1.646, allocations: 11.5 kB / 0.7735 GB, free: 17.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=571) (initialization): time 0.009764/1.655, allocations: 6.116 MB / 0.7795 GB, free: 15.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/1.655, allocations: 27.81 kB / 0.7795 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/1.656, allocations: 46.81 kB / 0.7796 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/1.657, allocations: 0.7387 MB / 0.7803 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/1.661, allocations: 1.045 MB / 0.7813 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008286/1.669, allocations: 10.04 MB / 0.7911 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004446/1.674, allocations: 245.2 kB / 0.7914 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006835/1.675, allocations: 198.4 kB / 0.7916 GB, free: 6.953 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (518): * Single equations (assignments): 510 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007627/1.675, allocations: 392.1 kB / 0.7919 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/1.676, allocations: 487 kB / 0.7924 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007926/1.684, allocations: 5.043 MB / 0.7973 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/1.684, allocations: 35.2 kB / 0.7974 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/1.684, allocations: 14.22 kB / 0.7974 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.799e-05/1.684, allocations: 18.05 kB / 0.7974 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/1.704, allocations: 12.4 MB / 0.8095 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.42e-05/1.704, allocations: 10.23 kB / 0.8095 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/1.707, allocations: 0.5973 MB / 0.8101 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002241/1.709, allocations: 0.9061 MB / 0.811 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003514/1.709, allocations: 85 kB / 0.8111 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/1.724, allocations: 13.94 MB / 0.8247 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.724, allocations: 6.156 kB / 0.8247 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/1.737, allocations: 8.063 MB / 0.8326 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00271/1.74, allocations: 0.9565 MB / 0.8335 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008934/1.741, allocations: 76 kB / 0.8336 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/1.743, allocations: 208.1 kB / 0.8338 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006234/1.744, allocations: 260.6 kB / 0.834 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/1.744, allocations: 105.7 kB / 0.8341 GB, free: 11.53 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0051/1.749, allocations: 2.892 MB / 0.8369 GB, free: 8.914 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.773e-06/1.749, allocations: 0 / 0.8369 GB, free: 8.914 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006434/1.756, allocations: 1.524 MB / 0.8384 GB, free: 7.406 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 13,(4,93.8%) 33,(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00125/1.757, allocations: 0.6914 MB / 0.8391 GB, free: 6.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008204/1.765, allocations: 5.24 MB / 0.8442 GB, free: 1.809 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/1.765, allocations: 8 kB / 0.8442 GB, free: 1.801 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004998/1.77, allocations: 3.231 MB / 0.8474 GB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005352/1.776, allocations: 1.061 MB / 0.8484 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/1.8, allocations: 12.03 MB / 0.8602 GB, free: 3.008 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2484/2.048, allocations: 5.541 MB / 0.8656 GB, free: 87.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005014/2.053, allocations: 1.048 MB / 0.8666 GB, free: 87.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/2.055, allocations: 315.7 kB / 0.8669 GB, free: 87.68 MB / 458.7 MB Notification: Performance of SimCode: time 8.62e-07/2.055, allocations: 0 / 0.8669 GB, free: 87.68 MB / 458.7 MB Notification: Performance of Templates: time 0.1128/2.167, allocations: 68.26 MB / 0.9336 GB, free: 82 MB / 458.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)