Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.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.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001537/0.001537, allocations: 188.5 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.425/1.425, allocations: 194.3 MB / 203.1 MB, free: 9.312 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.001598/0.001598, allocations: 118.1 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.936e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09121/0.09125, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3459/0.4372, allocations: 107.2 MB / 449.8 MB, free: 5.164 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.4374, allocations: 85.53 kB / 449.8 MB, free: 5.121 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5839/1.021, allocations: 157.2 MB / 0.5928 GB, free: 57.8 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.164e-06/1.021, allocations: 3.938 kB / 0.5928 GB, free: 57.8 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0008099/1.022, allocations: 171.9 kB / 0.593 GB, free: 57.77 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: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.02077/1.043, allocations: 6.395 MB / 0.5993 GB, free: 54.84 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/1.043, allocations: 8 kB / 0.5993 GB, free: 54.84 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008489/1.052, allocations: 1.522 MB / 0.6007 GB, free: 54.09 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/1.066, allocations: 5.687 MB / 0.6063 GB, free: 50.29 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/1.066, allocations: 224 kB / 0.6065 GB, free: 50.29 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002293/1.069, allocations: 417.4 kB / 0.6069 GB, free: 50.28 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01696/1.086, allocations: 6.884 MB / 0.6136 GB, free: 46.76 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02207/1.108, allocations: 8 MB / 0.6214 GB, free: 40.52 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003371/1.108, allocations: 7.906 kB / 0.6215 GB, free: 40.52 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001991/1.11, allocations: 11.89 kB / 0.6215 GB, free: 40.5 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002937/1.11, allocations: 322.1 kB / 0.6218 GB, free: 40.19 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05246/1.163, allocations: 27.45 MB / 0.6486 GB, free: 12.37 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2593/1.422, allocations: 16.22 MB / 0.6644 GB, free: 39.69 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003988/1.426, allocations: 2.727 MB / 0.6671 GB, free: 39.64 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/1.438, allocations: 7.469 MB / 0.6744 GB, free: 38.71 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/1.438, allocations: 59.38 kB / 0.6744 GB, free: 38.68 MB / 395.1 MB Notification: Performance of pre-optimization done (n=253): time 4.058e-06/1.438, allocations: 0 / 0.6744 GB, free: 38.68 MB / 395.1 MB Notification: Performance of matching and sorting (n=259): time 0.0136/1.451, allocations: 8.04 MB / 0.6823 GB, free: 37.33 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/1.451, allocations: 79.36 kB / 0.6824 GB, free: 37.27 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/1.455, allocations: 2.34 MB / 0.6846 GB, free: 37.04 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002215/1.455, allocations: 27.89 kB / 0.6847 GB, free: 37 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001561/1.457, allocations: 3.045 MB / 0.6876 GB, free: 35.54 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006724/1.457, allocations: 0.8623 MB / 0.6885 GB, free: 34.97 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/1.457, allocations: 0 / 0.6885 GB, free: 34.97 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/1.458, allocations: 437.8 kB / 0.6889 GB, free: 34.66 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/1.459, allocations: 1.226 MB / 0.6901 GB, free: 34.65 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/1.462, allocations: 2.222 MB / 0.6923 GB, free: 33.47 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/1.465, allocations: 1.93 MB / 0.6942 GB, free: 33.42 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-05/1.465, allocations: 9.062 kB / 0.6942 GB, free: 33.42 MB / 395.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008088/1.473, allocations: 4.351 MB / 0.6984 GB, free: 32.98 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/1.473, allocations: 22.25 kB / 0.6984 GB, free: 32.98 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-05/1.473, allocations: 33.16 kB / 0.6985 GB, free: 32.98 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008802/1.474, allocations: 379.6 kB / 0.6988 GB, free: 32.93 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/1.477, allocations: 0.7814 MB / 0.6996 GB, free: 32.93 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/1.482, allocations: 7.025 MB / 0.7065 GB, free: 27.98 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/1.485, allocations: 99.64 kB / 0.7066 GB, free: 27.98 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003085/1.485, allocations: 147.1 kB / 0.7067 GB, free: 27.98 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (405): * Single equations (assignments): 399 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005373/1.486, allocations: 205.1 kB / 0.7069 GB, free: 27.85 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006151/1.486, allocations: 329.6 kB / 0.7072 GB, free: 27.68 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007555/1.494, allocations: 4.008 MB / 0.7111 GB, free: 27.21 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.494, allocations: 30.23 kB / 0.7111 GB, free: 27.21 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-05/1.494, allocations: 11.88 kB / 0.7112 GB, free: 27.21 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-05/1.494, allocations: 14.81 kB / 0.7112 GB, free: 27.21 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/1.508, allocations: 8.752 MB / 0.7197 GB, free: 40.48 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/1.508, allocations: 5.531 kB / 0.7197 GB, free: 40.48 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/1.509, allocations: 399 kB / 0.7201 GB, free: 40.47 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/1.511, allocations: 0.8312 MB / 0.7209 GB, free: 40.2 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001582/1.511, allocations: 32.48 kB / 0.7209 GB, free: 40.19 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/1.524, allocations: 15.42 MB / 0.736 GB, free: 28.03 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/1.524, allocations: 8.156 kB / 0.736 GB, free: 28.03 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007708/1.532, allocations: 6.051 MB / 0.7419 GB, free: 24.88 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.533, allocations: 0.6914 MB / 0.7426 GB, free: 24.43 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004058/1.534, allocations: 17.53 kB / 0.7426 GB, free: 24.42 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.535, allocations: 107.8 kB / 0.7427 GB, free: 24.41 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003404/1.536, allocations: 204.5 kB / 0.7429 GB, free: 24.37 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.536, allocations: 72.98 kB / 0.743 GB, free: 24.36 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.002212/1.538, allocations: 1.729 MB / 0.7447 GB, free: 23.62 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.538, allocations: 4 kB / 0.7447 GB, free: 23.62 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.003449/1.542, allocations: 1.048 MB / 0.7457 GB, free: 23.6 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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 (192): * Single equations (assignments): 185 * 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 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005979/1.542, allocations: 440.2 kB / 0.7461 GB, free: 23.44 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.004095/1.546, allocations: 3.693 MB / 0.7497 GB, free: 21.67 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.546, allocations: 3.609 kB / 0.7497 GB, free: 21.67 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002915/1.549, allocations: 2.607 MB / 0.7523 GB, free: 20.16 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/1.552, allocations: 0.6648 MB / 0.7529 GB, free: 19.99 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/1.566, allocations: 9.677 MB / 0.7624 GB, free: 15.91 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003446/1.57, allocations: 4.329 MB / 0.7666 GB, free: 14.35 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.002621/1.572, allocations: 0.7801 MB / 0.7674 GB, free: 14.25 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/1.573, allocations: 231.4 kB / 0.7676 GB, free: 14.24 MB / 411.1 MB Notification: Performance of SimCode: time 9.82e-07/1.573, allocations: 0 / 0.7676 GB, free: 14.24 MB / 411.1 MB Notification: Performance of Templates: time 0.06666/1.64, allocations: 42.59 MB / 0.8092 GB, free: 4.859 MB / 427.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1)