Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.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.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001625/0.001625, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.199/1.199, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001621/0.001621, allocations: 110.1 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.27e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06569/0.06573, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2839/0.3496, allocations: 99.33 MB / 407 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.35, allocations: 78.89 kB / 407 MB, free: 9.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5384/0.8884, allocations: 150.9 MB / 0.5449 GB, free: 42.56 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.8885, allocations: 0 / 0.5449 GB, free: 42.56 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004668/0.8889, allocations: 167.8 kB / 0.545 GB, free: 42.4 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01924/0.9082, allocations: 6.187 MB / 0.5511 GB, free: 36.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.9082, allocations: 8.031 kB / 0.5511 GB, free: 36.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005103/0.9134, allocations: 1.054 MB / 0.5521 GB, free: 35.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.9236, allocations: 4.696 MB / 0.5567 GB, free: 30.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/0.924, allocations: 497.3 kB / 0.5572 GB, free: 29.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002287/0.9263, allocations: 0.6443 MB / 0.5578 GB, free: 29.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01747/0.9438, allocations: 8.421 MB / 0.566 GB, free: 20.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.944, allocations: 11.89 kB / 0.566 GB, free: 20.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006039/0.9446, allocations: 288 kB / 0.5663 GB, free: 20.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001842/0.9448, allocations: 289.3 kB / 0.5666 GB, free: 19.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.9557, allocations: 6.468 MB / 0.5729 GB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.258/1.214, allocations: 26.51 MB / 0.5988 GB, free: 31.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005316/1.219, allocations: 5.255 MB / 0.6039 GB, free: 29.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002993/1.222, allocations: 2.269 MB / 0.6062 GB, free: 29.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/1.222, allocations: 38.81 kB / 0.6062 GB, free: 29.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/1.222, allocations: 60.94 kB / 0.6062 GB, free: 29.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=254): time 5.26e-06/1.222, allocations: 5.766 kB / 0.6063 GB, free: 29.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=300): time 0.01638/1.239, allocations: 9.8 MB / 0.6158 GB, free: 27.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/1.239, allocations: 86.84 kB / 0.6159 GB, free: 27.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003964/1.243, allocations: 2.814 MB / 0.6187 GB, free: 27.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002933/1.243, allocations: 74.3 kB / 0.6187 GB, free: 27.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001463/1.245, allocations: 2.85 MB / 0.6215 GB, free: 26.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006569/1.245, allocations: 1.026 MB / 0.6225 GB, free: 25.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/1.245, allocations: 70.69 kB / 0.6226 GB, free: 25.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/1.246, allocations: 443.5 kB / 0.623 GB, free: 25.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/1.247, allocations: 1.445 MB / 0.6244 GB, free: 25.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/1.25, allocations: 2.405 MB / 0.6268 GB, free: 24.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/1.252, allocations: 1.926 MB / 0.6286 GB, free: 24.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.772e-05/1.252, allocations: 10.97 kB / 0.6286 GB, free: 24.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.007931/1.26, allocations: 5.244 MB / 0.6338 GB, free: 23.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/1.26, allocations: 17.94 kB / 0.6338 GB, free: 23.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-05/1.26, allocations: 28.47 kB / 0.6338 GB, free: 23.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002239/1.262, allocations: 0.9475 MB / 0.6347 GB, free: 23.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/1.265, allocations: 0.7356 MB / 0.6355 GB, free: 23.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/1.277, allocations: 14.71 MB / 0.6498 GB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/1.281, allocations: 160.9 kB / 0.65 GB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/1.281, allocations: 144.7 kB / 0.6501 GB, free: 14 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 6 {(4,93.8%) 18,(1,100.0%) 1,(1,100.0%) 5,(4,93.8%) 18,(1,100.0%) 1,(3,77.8%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006123/1.282, allocations: 314.8 kB / 0.6504 GB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007784/1.283, allocations: 369.4 kB / 0.6508 GB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006926/1.289, allocations: 4.653 MB / 0.6553 GB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/1.289, allocations: 33.64 kB / 0.6553 GB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.29, allocations: 14.78 kB / 0.6554 GB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.466e-05/1.29, allocations: 17.11 kB / 0.6554 GB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/1.307, allocations: 12.08 MB / 0.6672 GB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/1.308, allocations: 6.062 kB / 0.6672 GB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.309, allocations: 437.1 kB / 0.6676 GB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/1.312, allocations: 1.094 MB / 0.6687 GB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/1.312, allocations: 72.12 kB / 0.6687 GB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/1.33, allocations: 18.24 MB / 0.6865 GB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.33, allocations: 14.34 kB / 0.6866 GB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/1.341, allocations: 7.517 MB / 0.6939 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002223/1.343, allocations: 0.7849 MB / 0.6947 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007618/1.344, allocations: 67.19 kB / 0.6947 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/1.346, allocations: 142.1 kB / 0.6949 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005125/1.347, allocations: 241.8 kB / 0.6951 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/1.347, allocations: 91.8 kB / 0.6952 GB, free: 460 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.008915/1.356, allocations: 2.546 MB / 0.6977 GB, free: 15.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.356, allocations: 0 / 0.6977 GB, free: 15.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005732/1.361, allocations: 1.204 MB / 0.6988 GB, free: 14.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.port_n.Phi.re,smrM.stator.port_n.Phi.im,smrM.stator.strayReluctance.Phi.re,smrM.stator.strayReluctance.Phi.im,smr3.inertiaRotor.w,smr3.stator.port_n.Phi.re,smr3.stator.port_n.Phi.im,smr3.stator.strayReluctance.Phi.re,smr3.stator.strayReluctance.Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 213 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(4,93.8%) 18,(1,100.0%) 4,(4,93.8%) 18,(4,93.8%) 32,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/1.363, allocations: 0.5717 MB / 0.6994 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008162/1.371, allocations: 4.925 MB / 0.7042 GB, free: 9.227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.371, allocations: 4 kB / 0.7042 GB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005433/1.376, allocations: 3.226 MB / 0.7074 GB, free: 6.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004619/1.381, allocations: 0.9392 MB / 0.7083 GB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/1.407, allocations: 10.62 MB / 0.7187 GB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004424/1.411, allocations: 4.325 MB / 0.7229 GB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003029/1.414, allocations: 0.7458 MB / 0.7236 GB, free: 9.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/1.415, allocations: 237.7 kB / 0.7238 GB, free: 9.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/1.415, allocations: 0 / 0.7238 GB, free: 9.32 MB / 394.7 MB Notification: Performance of Templates: time 0.2857/1.701, allocations: 59.71 MB / 0.7821 GB, free: 71.42 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1)