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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001643/0.001643, 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.5/1.5, allocations: 194.3 MB / 203.1 MB, free: 9.316 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.002058/0.002058, allocations: 117.4 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.954e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3334/0.45, allocations: 129.6 MB / 472.2 MB, free: 15.29 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4503, allocations: 81.7 kB / 472.3 MB, free: 15.25 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.481/0.9313, allocations: 128.8 MB / 0.587 GB, free: 69.09 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.9314, allocations: 3.688 kB / 0.587 GB, free: 69.09 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004231/0.9318, allocations: 142.4 kB / 0.5871 GB, free: 69.07 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01446/0.9463, allocations: 5.386 MB / 0.5924 GB, free: 65.68 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.9463, allocations: 8.219 kB / 0.5924 GB, free: 65.68 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006383/0.9527, allocations: 1.146 MB / 0.5935 GB, free: 65.13 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.9633, allocations: 4.878 MB / 0.5983 GB, free: 61.94 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.9635, allocations: 190.7 kB / 0.5985 GB, free: 61.93 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.9646, allocations: 339.2 kB / 0.5988 GB, free: 61.92 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008937/0.9736, allocations: 5.213 MB / 0.6039 GB, free: 59.34 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/0.985, allocations: 6.196 MB / 0.6099 GB, free: 53.81 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.9851, allocations: 15.89 kB / 0.6099 GB, free: 53.79 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005029/0.9856, allocations: 4 kB / 0.6099 GB, free: 53.79 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001869/0.9858, allocations: 251.2 kB / 0.6102 GB, free: 53.54 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03442/1.02, allocations: 22.73 MB / 0.6324 GB, free: 30.38 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00581/1.026, allocations: 8.483 MB / 0.6407 GB, free: 20.96 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/1.029, allocations: 2.136 MB / 0.6428 GB, free: 18.82 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/1.04, allocations: 6.757 MB / 0.6493 GB, free: 11.93 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/1.04, allocations: 60.56 kB / 0.6494 GB, free: 11.87 MB / 395.1 MB Notification: Performance of pre-optimization done (n=238): time 5.55e-06/1.04, allocations: 0 / 0.6494 GB, free: 11.87 MB / 395.1 MB Notification: Performance of matching and sorting (n=289): time 0.01915/1.059, allocations: 10.26 MB / 0.6594 GB, free: 1.527 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/1.059, allocations: 81.66 kB / 0.6595 GB, free: 1.434 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2234/1.283, allocations: 2.371 MB / 0.6618 GB, free: 62.79 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006273/1.283, allocations: 25.7 kB / 0.6618 GB, free: 62.76 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001743/1.285, allocations: 2.675 MB / 0.6645 GB, free: 62.46 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/1.286, allocations: 0.9467 MB / 0.6654 GB, free: 61.87 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/1.286, allocations: 0 / 0.6654 GB, free: 61.87 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/1.286, allocations: 452.7 kB / 0.6658 GB, free: 61.56 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/1.288, allocations: 1.408 MB / 0.6672 GB, free: 61.55 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/1.291, allocations: 2.555 MB / 0.6697 GB, free: 60.18 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/1.294, allocations: 2.023 MB / 0.6717 GB, free: 60.13 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.363e-05/1.294, allocations: 12.47 kB / 0.6717 GB, free: 60.13 MB / 395.1 MB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008968/1.303, allocations: 5.116 MB / 0.6767 GB, free: 59.7 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/1.303, allocations: 28.33 kB / 0.6767 GB, free: 59.7 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.039e-05/1.303, allocations: 40 kB / 0.6767 GB, free: 59.7 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/1.305, allocations: 0.8456 MB / 0.6776 GB, free: 59.65 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/1.308, allocations: 0.8675 MB / 0.6784 GB, free: 59.65 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009449/1.318, allocations: 9.348 MB / 0.6875 GB, free: 55.73 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/1.321, allocations: 164.9 kB / 0.6877 GB, free: 55.71 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004566/1.322, allocations: 166.4 kB / 0.6878 GB, free: 55.71 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (422): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * 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: 3 {(6,72.2%) 23,(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005601/1.322, allocations: 211.9 kB / 0.688 GB, free: 55.59 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006754/1.323, allocations: 356.9 kB / 0.6884 GB, free: 55.41 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008114/1.331, allocations: 4.4 MB / 0.6927 GB, free: 54.96 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/1.331, allocations: 34.45 kB / 0.6927 GB, free: 54.96 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-05/1.331, allocations: 9.969 kB / 0.6927 GB, free: 54.96 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.909e-05/1.331, allocations: 14.61 kB / 0.6927 GB, free: 54.96 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/1.35, allocations: 9.128 MB / 0.7017 GB, free: 54.03 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005951/1.356, allocations: 3.786 MB / 0.7054 GB, free: 52.97 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/1.358, allocations: 0.5012 MB / 0.7058 GB, free: 52.96 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/1.361, allocations: 0.9654 MB / 0.7068 GB, free: 52.68 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002758/1.361, allocations: 32.78 kB / 0.7068 GB, free: 52.67 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/1.372, allocations: 14.2 MB / 0.7207 GB, free: 42.09 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/1.372, allocations: 7.125 kB / 0.7207 GB, free: 42.09 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009056/1.381, allocations: 6.827 MB / 0.7274 GB, free: 38.61 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/1.383, allocations: 0.7287 MB / 0.7281 GB, free: 38.14 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000848/1.384, allocations: 20.34 kB / 0.7281 GB, free: 38.14 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.386, allocations: 148 kB / 0.7282 GB, free: 38.13 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004564/1.387, allocations: 208.8 kB / 0.7284 GB, free: 38.1 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/1.387, allocations: 85.75 kB / 0.7285 GB, free: 38.08 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00291/1.39, allocations: 1.746 MB / 0.7302 GB, free: 37.36 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.39, allocations: 0 / 0.7302 GB, free: 37.36 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004526/1.394, allocations: 1.031 MB / 0.7312 GB, free: 37.34 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(6,75.0%) 23,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007667/1.395, allocations: 480.8 kB / 0.7317 GB, free: 37.21 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005971/1.401, allocations: 4.445 MB / 0.736 GB, free: 35.2 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.401, allocations: 0 / 0.736 GB, free: 35.2 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004269/1.406, allocations: 2.866 MB / 0.7388 GB, free: 33.65 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004083/1.41, allocations: 0.6025 MB / 0.7394 GB, free: 33.48 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/1.425, allocations: 8.349 MB / 0.7476 GB, free: 29.91 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/1.428, allocations: 3.609 MB / 0.7511 GB, free: 28.62 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.002926/1.431, allocations: 0.7955 MB / 0.7519 GB, free: 28.53 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000707/1.432, allocations: 232.7 kB / 0.7521 GB, free: 28.52 MB / 395.1 MB Notification: Performance of SimCode: time 1.012e-06/1.432, allocations: 1.875 kB / 0.7521 GB, free: 28.52 MB / 395.1 MB Notification: Performance of Templates: time 0.069/1.501, allocations: 43.81 MB / 0.7949 GB, free: 14.08 MB / 411.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1)