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.001779/0.001779, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.532/1.532, allocations: 170.7 MB / 178.7 MB, free: 15.58 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.001685/0.001685, allocations: 107.5 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.871e-05, allocations: 7.984 kB / 262.2 MB, free: 26.37 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06949/0.06953, allocations: 38.77 MB / 301 MB, free: 3.602 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3047/0.3743, allocations: 98.66 MB / 399.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.3746, allocations: 86.12 kB / 399.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4975/0.8721, allocations: 149 MB / 0.5359 GB, free: 54.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.8722, allocations: 0 / 0.5359 GB, free: 54.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005592/0.8727, allocations: 162.9 kB / 0.5361 GB, free: 54.51 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.01742/0.8902, allocations: 6.183 MB / 0.5421 GB, free: 48.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.8902, allocations: 8.031 kB / 0.5421 GB, free: 48.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005143/0.8954, allocations: 1.066 MB / 0.5432 GB, free: 47.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.9059, allocations: 4.695 MB / 0.5477 GB, free: 42.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003277/0.9063, allocations: 216 kB / 0.5479 GB, free: 42.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00243/0.9088, allocations: 395.8 kB / 0.5483 GB, free: 41.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01307/0.9219, allocations: 6.079 MB / 0.5543 GB, free: 35.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01849/0.9404, allocations: 7.457 MB / 0.5615 GB, free: 28.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002545/0.9407, allocations: 7.906 kB / 0.5615 GB, free: 28.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001508/0.9422, allocations: 8 kB / 0.5616 GB, free: 28.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002258/0.9424, allocations: 289.3 kB / 0.5618 GB, free: 27.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04067/0.9831, allocations: 25.23 MB / 0.5865 GB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1875/1.171, allocations: 5.161 MB / 0.5915 GB, free: 47.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003641/1.174, allocations: 2.191 MB / 0.5937 GB, free: 47.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/1.174, allocations: 32.83 kB / 0.5937 GB, free: 47.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/1.174, allocations: 63.5 kB / 0.5937 GB, free: 47.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=256): time 4.729e-06/1.174, allocations: 0 / 0.5937 GB, free: 47.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=302): time 0.01722/1.192, allocations: 9.247 MB / 0.6028 GB, free: 45.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/1.192, allocations: 84.91 kB / 0.6029 GB, free: 45.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/1.195, allocations: 2.257 MB / 0.6051 GB, free: 45.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002696/1.195, allocations: 25.7 kB / 0.6051 GB, free: 45.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/1.197, allocations: 2.858 MB / 0.6079 GB, free: 44.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007886/1.197, allocations: 0.9892 MB / 0.6088 GB, free: 43.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/1.198, allocations: 5.281 kB / 0.6088 GB, free: 43.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/1.198, allocations: 446.3 kB / 0.6093 GB, free: 43.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/1.199, allocations: 1.376 MB / 0.6106 GB, free: 43.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/1.201, allocations: 2.324 MB / 0.6129 GB, free: 42.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/1.204, allocations: 1.852 MB / 0.6147 GB, free: 42.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/1.204, allocations: 9.438 kB / 0.6147 GB, free: 42.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=453) (initialization): time 0.006779/1.21, allocations: 4.844 MB / 0.6194 GB, free: 41.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/1.21, allocations: 23.17 kB / 0.6195 GB, free: 41.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/1.21, allocations: 26.28 kB / 0.6195 GB, free: 41.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/1.212, allocations: 0.9062 MB / 0.6204 GB, free: 41.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/1.215, allocations: 0.7306 MB / 0.6211 GB, free: 41.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/1.226, allocations: 14.16 MB / 0.6349 GB, free: 34.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/1.229, allocations: 85.2 kB / 0.635 GB, free: 34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/1.229, allocations: 147.1 kB / 0.6351 GB, free: 34 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 (383): * Single equations (assignments): 375 * 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,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004828/1.229, allocations: 193.7 kB / 0.6353 GB, free: 33.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/1.23, allocations: 340.4 kB / 0.6356 GB, free: 33.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006029/1.236, allocations: 4.35 MB / 0.6399 GB, free: 32.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/1.236, allocations: 28.12 kB / 0.6399 GB, free: 32.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/1.236, allocations: 16.91 kB / 0.6399 GB, free: 32.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.603e-05/1.236, allocations: 18.03 kB / 0.64 GB, free: 32.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/1.251, allocations: 10.93 MB / 0.6506 GB, free: 27.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.251, allocations: 6 kB / 0.6506 GB, free: 27.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/1.252, allocations: 432.7 kB / 0.651 GB, free: 27.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/1.255, allocations: 1.077 MB / 0.6521 GB, free: 27.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/1.255, allocations: 31.64 kB / 0.6521 GB, free: 27.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/1.269, allocations: 17.55 MB / 0.6693 GB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.269, allocations: 13.69 kB / 0.6693 GB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008057/1.277, allocations: 7.177 MB / 0.6763 GB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.279, allocations: 0.7348 MB / 0.677 GB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004076/1.279, allocations: 20.06 kB / 0.677 GB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/1.281, allocations: 101 kB / 0.6771 GB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004363/1.281, allocations: 238.4 kB / 0.6774 GB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/1.282, allocations: 93.7 kB / 0.6774 GB, free: 9.109 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002187/1.284, allocations: 1.67 MB / 0.6791 GB, free: 8.402 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.284, allocations: 0 / 0.6791 GB, free: 8.402 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003662/1.287, allocations: 1.049 MB / 0.6801 GB, free: 8.008 MB / 346.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 (221): * Single equations (assignments): 214 * 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.0005641/1.288, allocations: 421.2 kB / 0.6805 GB, free: 7.684 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005782/1.294, allocations: 4.687 MB / 0.6851 GB, free: 3.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.294, allocations: 0 / 0.6851 GB, free: 3.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00403/1.298, allocations: 3.089 MB / 0.6881 GB, free: 332 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004458/1.302, allocations: 0.7582 MB / 0.6888 GB, free: 0 / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.32, allocations: 9.904 MB / 0.6985 GB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004246/1.324, allocations: 4.332 MB / 0.7027 GB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002608/1.326, allocations: 0.6915 MB / 0.7034 GB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00057/1.327, allocations: 219 kB / 0.7036 GB, free: 3.125 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/1.327, allocations: 0 / 0.7036 GB, free: 3.125 MB / 362.7 MB Notification: Performance of Templates: time 0.2473/1.574, allocations: 47.01 MB / 0.7495 GB, free: 63.36 MB / 378.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)