Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_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.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001398/0.001398, allocations: 183.7 kB / 8.354 MB, free: 0.7305 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.438/1.438, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.001774/0.001774, allocations: 120.6 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.508e-05, allocations: 4 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07858/0.07861, allocations: 44.5 MB / 342.6 MB, free: 6.98 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4333, allocations: 110.6 MB / 453.2 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4335, allocations: 86.52 kB / 453.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6132/1.047, allocations: 166.9 MB / 0.6057 GB, free: 62.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.047, allocations: 0 / 0.6057 GB, free: 62.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006407/1.047, allocations: 174.8 kB / 0.6059 GB, free: 62.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1927 * Number of variables: 1927 Notification: Performance of Generate backend data structure: time 0.02325/1.071, allocations: 6.661 MB / 0.6124 GB, free: 59.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/1.071, allocations: 10.34 kB / 0.6124 GB, free: 59.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009905/1.081, allocations: 1.593 MB / 0.6139 GB, free: 59.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01639/1.097, allocations: 5.901 MB / 0.6197 GB, free: 56.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005676/1.098, allocations: 238.9 kB / 0.6199 GB, free: 56.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003411/1.101, allocations: 434.3 kB / 0.6203 GB, free: 56.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01914/1.12, allocations: 7.089 MB / 0.6273 GB, free: 52.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.029/1.149, allocations: 8.292 MB / 0.6353 GB, free: 45.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004974/1.15, allocations: 11.86 kB / 0.6354 GB, free: 45.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002963/1.153, allocations: 8 kB / 0.6354 GB, free: 45.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003719/1.153, allocations: 333 kB / 0.6357 GB, free: 44.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05933/1.213, allocations: 29.18 MB / 0.6642 GB, free: 16.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/1.227, allocations: 15.81 MB / 0.6796 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006144/1.233, allocations: 2.917 MB / 0.6825 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01953/1.252, allocations: 7.89 MB / 0.6902 GB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.992e-05/1.253, allocations: 64.8 kB / 0.6902 GB, free: 3.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 5.38e-06/1.253, allocations: 3.938 kB / 0.6902 GB, free: 3.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=291): time 0.3111/1.564, allocations: 8.74 MB / 0.6988 GB, free: 71.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/1.564, allocations: 85.25 kB / 0.6989 GB, free: 71.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007931/1.572, allocations: 2.506 MB / 0.7013 GB, free: 71.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006046/1.572, allocations: 26.8 kB / 0.7013 GB, free: 71.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002919/1.575, allocations: 3.191 MB / 0.7044 GB, free: 70.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.577, allocations: 0.9622 MB / 0.7054 GB, free: 69.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005549/1.577, allocations: 0 / 0.7054 GB, free: 69.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002604/1.577, allocations: 452.5 kB / 0.7058 GB, free: 69.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/1.58, allocations: 1.324 MB / 0.7071 GB, free: 69.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/1.583, allocations: 2.426 MB / 0.7095 GB, free: 67.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004052/1.587, allocations: 2.13 MB / 0.7116 GB, free: 67.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-05/1.587, allocations: 11.53 kB / 0.7116 GB, free: 67.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.008193/1.595, allocations: 4.734 MB / 0.7162 GB, free: 67.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/1.595, allocations: 26.23 kB / 0.7162 GB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.045e-05/1.595, allocations: 33.56 kB / 0.7162 GB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008742/1.596, allocations: 385 kB / 0.7166 GB, free: 67.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/1.599, allocations: 0.8705 MB / 0.7175 GB, free: 67.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004998/1.604, allocations: 7.035 MB / 0.7243 GB, free: 62.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003856/1.608, allocations: 105.5 kB / 0.7244 GB, free: 62.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005608/1.609, allocations: 163.4 kB / 0.7246 GB, free: 62.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 160 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (451): * Single equations (assignments): 445 * 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.0006967/1.61, allocations: 219.5 kB / 0.7248 GB, free: 62.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000778/1.61, allocations: 353.4 kB / 0.7251 GB, free: 62.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007543/1.618, allocations: 4.35 MB / 0.7294 GB, free: 61.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/1.618, allocations: 34.05 kB / 0.7294 GB, free: 61.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.618, allocations: 10.38 kB / 0.7294 GB, free: 61.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.493e-05/1.618, allocations: 13.83 kB / 0.7294 GB, free: 61.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/1.636, allocations: 9.458 MB / 0.7387 GB, free: 60.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.636, allocations: 4.219 kB / 0.7387 GB, free: 60.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.638, allocations: 452.3 kB / 0.7391 GB, free: 60.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002014/1.64, allocations: 0.863 MB / 0.74 GB, free: 60.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001988/1.64, allocations: 38.75 kB / 0.74 GB, free: 60.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/1.654, allocations: 15.67 MB / 0.7553 GB, free: 48.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/1.654, allocations: 12.17 kB / 0.7553 GB, free: 48.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.666, allocations: 6.685 MB / 0.7618 GB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002594/1.668, allocations: 0.7506 MB / 0.7626 GB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00153/1.67, allocations: 17.81 kB / 0.7626 GB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002948/1.673, allocations: 116 kB / 0.7627 GB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007395/1.674, allocations: 222.5 kB / 0.7629 GB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003446/1.674, allocations: 88.05 kB / 0.763 GB, free: 44.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004425/1.678, allocations: 1.851 MB / 0.7648 GB, free: 44.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.678, allocations: 0 / 0.7648 GB, free: 44.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006591/1.685, allocations: 1.113 MB / 0.7659 GB, free: 44.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.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 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009987/1.686, allocations: 0.5009 MB / 0.7664 GB, free: 43.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006084/1.692, allocations: 3.959 MB / 0.7702 GB, free: 42.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.692, allocations: 4.188 kB / 0.7702 GB, free: 42.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003901/1.696, allocations: 2.786 MB / 0.773 GB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005609/1.702, allocations: 0.7477 MB / 0.7737 GB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03051/1.732, allocations: 10.06 MB / 0.7835 GB, free: 35.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008283/1.741, allocations: 4.459 MB / 0.7879 GB, free: 34.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004482/1.745, allocations: 0.8367 MB / 0.7887 GB, free: 34.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.746, allocations: 254.3 kB / 0.7889 GB, free: 34.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.203e-06/1.746, allocations: 0 / 0.7889 GB, free: 34.21 MB / 410.7 MB Notification: Performance of Templates: time 0.08091/1.827, allocations: 46.89 MB / 0.8347 GB, free: 3.082 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase.pipe 2>&1)