Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001108/0.001108, allocations: 178.9 kB / 16.38 MB, free: 5.762 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.107/1.107, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.00168/0.00168, allocations: 117.7 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002995, allocations: 12 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0751/0.07542, allocations: 44.5 MB / 355.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/0.371, allocations: 161.2 MB / 0.5042 GB, free: 9.668 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.3714, allocations: 110 kB / 0.5043 GB, free: 9.605 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.164/1.536, allocations: 395.1 MB / 0.8902 GB, free: 37.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.536, allocations: 0 / 0.8902 GB, free: 37.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006955/1.537, allocations: 260.7 kB / 0.8904 GB, free: 37.58 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: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.03067/1.567, allocations: 11 MB / 0.9012 GB, free: 33.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/1.567, allocations: 11.31 kB / 0.9012 GB, free: 33.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02266/1.59, allocations: 4.413 MB / 0.9055 GB, free: 33.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01833/1.608, allocations: 8.894 MB / 0.9142 GB, free: 31.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000714/1.609, allocations: 0.8272 MB / 0.915 GB, free: 31.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003371/1.612, allocations: 1.081 MB / 0.916 GB, free: 31.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03333/1.646, allocations: 17.48 MB / 0.9331 GB, free: 26.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002809/1.646, allocations: 17.34 kB / 0.9331 GB, free: 26.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001419/1.648, allocations: 474.3 kB / 0.9336 GB, free: 26.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004876/1.648, allocations: 0.6936 MB / 0.9342 GB, free: 26.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02571/1.674, allocations: 15.31 MB / 0.9492 GB, free: 18.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2856/1.959, allocations: 58.22 MB / 1.006 GB, free: 34.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01504/1.975, allocations: 17.2 MB / 1.023 GB, free: 25.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0292/2.004, allocations: 19.05 MB / 1.041 GB, free: 24.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/2.004, allocations: 93.77 kB / 1.042 GB, free: 24.74 MB / 442.7 MB Notification: Performance of pre-optimization done (n=642): time 8.166e-06/2.004, allocations: 1.406 kB / 1.042 GB, free: 24.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=669): time 0.05834/2.062, allocations: 35.76 MB / 1.076 GB, free: 30.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/2.062, allocations: 136.9 kB / 1.077 GB, free: 30.17 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007382/2.07, allocations: 3.919 MB / 1.08 GB, free: 29.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001309/2.071, allocations: 117.3 kB / 1.081 GB, free: 29.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003058/2.074, allocations: 4.573 MB / 1.085 GB, free: 26.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002501/2.077, allocations: 2.228 MB / 1.087 GB, free: 24.99 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/2.078, allocations: 143.2 kB / 1.087 GB, free: 24.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007038/2.079, allocations: 0.6095 MB / 1.088 GB, free: 24.44 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006784/2.085, allocations: 4.434 MB / 1.092 GB, free: 22.65 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007891/2.093, allocations: 6.43 MB / 1.099 GB, free: 18.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008145/2.101, allocations: 5.54 MB / 1.104 GB, free: 16.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.894e-05/2.101, allocations: 17.44 kB / 1.104 GB, free: 16.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02331/2.125, allocations: 13.24 MB / 1.117 GB, free: 10.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.682e-05/2.125, allocations: 33.81 kB / 1.117 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/2.125, allocations: 61.25 kB / 1.117 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004465/2.13, allocations: 2.407 MB / 1.119 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006382/2.136, allocations: 1.539 MB / 1.121 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/2.147, allocations: 10.47 MB / 1.131 GB, free: 2.574 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006505/2.153, allocations: 487.1 kB / 1.132 GB, free: 2.438 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001538/2.155, allocations: 334.1 kB / 1.132 GB, free: 2.379 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 274 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (799): * Single equations (assignments): 732 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 4 {6 9,6 9,6 9,6 43} Notification: Performance of prepare postOptimizeDAE: time 0.008978/2.164, allocations: 3.784 MB / 1.136 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001998/2.166, allocations: 0.5585 MB / 1.136 GB, free: 268 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.023/2.189, allocations: 11.86 MB / 1.148 GB, free: 9.105 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01445/2.203, allocations: 8.468 MB / 1.156 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.173e-05/2.203, allocations: 7 kB / 1.156 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-05/2.203, allocations: 28.59 kB / 1.156 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2413/2.445, allocations: 24.68 MB / 1.18 GB, free: 76.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/2.445, allocations: 8.656 kB / 1.18 GB, free: 76.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003704/2.448, allocations: 0.9117 MB / 1.181 GB, free: 76.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004307/2.453, allocations: 2.424 MB / 1.183 GB, free: 76.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005167/2.453, allocations: 152.9 kB / 1.183 GB, free: 76.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/2.465, allocations: 14.2 MB / 1.197 GB, free: 69.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/2.465, allocations: 7.922 kB / 1.197 GB, free: 69.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02384/2.489, allocations: 18.4 MB / 1.215 GB, free: 67.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003807/2.493, allocations: 1.563 MB / 1.217 GB, free: 67.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/2.494, allocations: 104.4 kB / 1.217 GB, free: 67.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003179/2.497, allocations: 318.6 kB / 1.217 GB, free: 67.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/2.498, allocations: 0.4972 MB / 1.218 GB, free: 67.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004336/2.498, allocations: 182.5 kB / 1.218 GB, free: 67.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004725/2.503, allocations: 2.92 MB / 1.221 GB, free: 66.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.61e-07/2.503, allocations: 0 / 1.221 GB, free: 66.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008141/2.511, allocations: 2.001 MB / 1.223 GB, free: 66.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smeeQS.excitation.electroMagneticConverter.port_p.reference.gamma,mechanicalPowerSensorQS.relSpeedSensor.phi_rel,smee.phiMechanical,smee.stator.core.Phi.im,smee.stator.zeroInductor.i0,smee.excitation.electroMagneticConverter.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (481): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8,(3,77.8%) 4} * Non-linear torn systems: 4 {6 9,6 9,6 9,6 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.001447/2.513, allocations: 0.5787 MB / 1.223 GB, free: 66.83 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01476/2.527, allocations: 11.01 MB / 1.234 GB, free: 62.72 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/2.527, allocations: 0 / 1.234 GB, free: 62.72 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008179/2.536, allocations: 5.839 MB / 1.24 GB, free: 60.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005708/2.541, allocations: 1.085 MB / 1.241 GB, free: 59.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03728/2.579, allocations: 26.15 MB / 1.266 GB, free: 46.13 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006393/2.585, allocations: 6.969 MB / 1.273 GB, free: 43.78 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006102/2.591, allocations: 1.707 MB / 1.275 GB, free: 43.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/2.593, allocations: 398.6 kB / 1.275 GB, free: 43.57 MB / 474.7 MB Notification: Performance of SimCode: time 8.02e-07/2.593, allocations: 3.906 kB / 1.275 GB, free: 43.57 MB / 474.7 MB Notification: Performance of Templates: time 0.3608/2.954, allocations: 107.8 MB / 1.38 GB, free: 66.72 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)