Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00584/0.00584, allocations: 165.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.23/1.23, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001666/0.001665, allocations: 106.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2448, allocations: 38.76 MB / 312.9 MB, free: 38.85 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/0.5397, allocations: 122.2 MB / 435.1 MB, free: 90.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.54, allocations: 88.83 kB / 435.2 MB, free: 90.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4968/1.037, allocations: 124 MB / 0.5461 GB, free: 26.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.026e-06/1.037, allocations: 0 / 0.5461 GB, free: 26.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004971/1.037, allocations: 150.4 kB / 0.5463 GB, free: 26.58 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1422 * Number of variables: 1422 Notification: Performance of Generate backend data structure: time 0.01853/1.056, allocations: 5.836 MB / 0.552 GB, free: 24.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/1.056, allocations: 10 kB / 0.552 GB, free: 24.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006096/1.062, allocations: 0.8931 MB / 0.5528 GB, free: 24.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/1.074, allocations: 3.962 MB / 0.5567 GB, free: 23.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006014/1.075, allocations: 400.8 kB / 0.5571 GB, free: 23.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002404/1.077, allocations: 0.5321 MB / 0.5576 GB, free: 23.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/1.094, allocations: 6.842 MB / 0.5643 GB, free: 23.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/1.094, allocations: 7.156 kB / 0.5643 GB, free: 23.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006982/1.095, allocations: 233.8 kB / 0.5645 GB, free: 23.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/1.095, allocations: 228.9 kB / 0.5647 GB, free: 23.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/1.108, allocations: 5.35 MB / 0.57 GB, free: 22.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0493/1.157, allocations: 22.48 MB / 0.5919 GB, free: 17.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005531/1.163, allocations: 4.389 MB / 0.5962 GB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/1.163, allocations: 158 kB / 0.5964 GB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.06e-05/1.163, allocations: 60.09 kB / 0.5964 GB, free: 15.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=245): time 8.836e-06/1.163, allocations: 0 / 0.5964 GB, free: 15.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=297): time 0.04179/1.205, allocations: 16.11 MB / 0.6121 GB, free: 10.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/1.205, allocations: 83.5 kB / 0.6122 GB, free: 10.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006425/1.212, allocations: 2.875 MB / 0.615 GB, free: 9.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006298/1.212, allocations: 77.52 kB / 0.6151 GB, free: 8.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001838/1.214, allocations: 2.522 MB / 0.6176 GB, free: 7.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001255/1.215, allocations: 1.012 MB / 0.6186 GB, free: 6.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004625/1.216, allocations: 71.72 kB / 0.6186 GB, free: 6.207 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002465/1.216, allocations: 450.3 kB / 0.6191 GB, free: 5.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/1.219, allocations: 1.621 MB / 0.6206 GB, free: 5.242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/1.222, allocations: 2.676 MB / 0.6233 GB, free: 3.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/1.226, allocations: 2.076 MB / 0.6253 GB, free: 2.402 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.089e-05/1.226, allocations: 11.12 kB / 0.6253 GB, free: 2.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=462) (initialization): time 0.0109/1.237, allocations: 5.678 MB / 0.6308 GB, free: 256 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.439e-05/1.237, allocations: 18.5 kB / 0.6309 GB, free: 256 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.745e-05/1.237, allocations: 40.78 kB / 0.6309 GB, free: 256 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/1.239, allocations: 0.9411 MB / 0.6318 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004058/1.243, allocations: 0.8233 MB / 0.6326 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/1.257, allocations: 10.96 MB / 0.6433 GB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004355/1.262, allocations: 225.6 kB / 0.6435 GB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009077/1.263, allocations: 154.4 kB / 0.6437 GB, free: 8.656 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 151 * 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 (403): * Single equations (assignments): 394 * 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,(4,93.8%) 17,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006594/1.269, allocations: 1.605 MB / 0.6453 GB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001983/1.271, allocations: 389.6 kB / 0.6456 GB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.283, allocations: 4.906 MB / 0.6504 GB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.261e-05/1.283, allocations: 28 kB / 0.6504 GB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-05/1.283, allocations: 12 kB / 0.6505 GB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.098e-05/1.283, allocations: 18.08 kB / 0.6505 GB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03162/1.315, allocations: 10.97 MB / 0.6612 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007834/1.322, allocations: 4.118 MB / 0.6652 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/1.325, allocations: 493.3 kB / 0.6657 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003185/1.328, allocations: 1.058 MB / 0.6667 GB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005755/1.329, allocations: 75.55 kB / 0.6668 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01953/1.348, allocations: 16 MB / 0.6824 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/1.348, allocations: 11.94 kB / 0.6824 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/1.364, allocations: 8.02 MB / 0.6903 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2533/1.618, allocations: 0.7883 MB / 0.691 GB, free: 65.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000788/1.619, allocations: 69.48 kB / 0.6911 GB, free: 65.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.621, allocations: 185.6 kB / 0.6913 GB, free: 65.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005177/1.621, allocations: 225.7 kB / 0.6915 GB, free: 65.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/1.621, allocations: 85.23 kB / 0.6916 GB, free: 65.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003226/1.625, allocations: 2.192 MB / 0.6937 GB, free: 65.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.4e-07/1.625, allocations: 0 / 0.6937 GB, free: 65.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00421/1.629, allocations: 1.156 MB / 0.6948 GB, free: 65.38 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 221 * 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 {(4,93.8%) 17,(1,100.0%) 5,(1,100.0%) 8,(6,72.2%) 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.0007695/1.63, allocations: 478 kB / 0.6953 GB, free: 65.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007397/1.637, allocations: 5.026 MB / 0.7002 GB, free: 64.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.637, allocations: 3.781 kB / 0.7002 GB, free: 64.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004768/1.642, allocations: 3.26 MB / 0.7034 GB, free: 63.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004419/1.646, allocations: 0.8289 MB / 0.7042 GB, free: 63.67 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/1.67, allocations: 12.39 MB / 0.7163 GB, free: 58.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004459/1.674, allocations: 3.58 MB / 0.7198 GB, free: 57.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003398/1.678, allocations: 0.7758 MB / 0.7206 GB, free: 57.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008227/1.679, allocations: 234.6 kB / 0.7208 GB, free: 57.67 MB / 394.7 MB Notification: Performance of SimCode: time 3.276e-06/1.679, allocations: 0 / 0.7208 GB, free: 57.67 MB / 394.7 MB Notification: Performance of Templates: time 0.09904/1.778, allocations: 55.98 MB / 0.7754 GB, free: 53.32 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1)