Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 240.3 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009449/0.0009449, allocations: 92.62 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.000296, allocations: 11.94 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2157, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.3425, allocations: 109 MB / 0.4985 GB, free: 3.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.3428, allocations: 96.47 kB / 0.4986 GB, free: 3.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.332/0.6749, allocations: 79.66 MB / 0.5764 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6749, allocations: 0 / 0.5764 GB, free: 37.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001688/0.6751, allocations: 75.92 kB / 0.5765 GB, free: 37.05 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.007302/0.6824, allocations: 3.474 MB / 0.5798 GB, free: 33.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.6825, allocations: 12.02 kB / 0.5799 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003391/0.6859, allocations: 0.718 MB / 0.5806 GB, free: 32.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006505/0.6924, allocations: 3.311 MB / 0.5838 GB, free: 29.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.6925, allocations: 230.3 kB / 0.584 GB, free: 29.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003749/0.6929, allocations: 319.9 kB / 0.5843 GB, free: 28.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005494/0.6984, allocations: 4.13 MB / 0.5884 GB, free: 24.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.605e-05/0.6985, allocations: 7.859 kB / 0.5884 GB, free: 24.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.6987, allocations: 132 kB / 0.5885 GB, free: 24.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.622e-05/0.6988, allocations: 146.3 kB / 0.5886 GB, free: 24.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004581/0.7034, allocations: 3.41 MB / 0.592 GB, free: 20.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.7184, allocations: 13.23 MB / 0.6049 GB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004796/0.7233, allocations: 6.906 MB / 0.6116 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004771/0.7281, allocations: 3.207 MB / 0.6147 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.7281, allocations: 51.86 kB / 0.6148 GB, free: 12.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=131): time 2.404e-06/0.7281, allocations: 0 / 0.6148 GB, free: 12.2 MB / 394.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : (-aimc.is[1]) - aimc.is[3] - aimc.is[2] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ aimc.is[1] ; aimc.is[2] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; aimc.is[3] ] might be structurally or numerically singular for variable aimc.is[2] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=161): time 0.01352/0.7417, allocations: 7.343 MB / 0.622 GB, free: 4.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.7417, allocations: 68.72 kB / 0.622 GB, free: 4.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.7437, allocations: 1.478 MB / 0.6235 GB, free: 3.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.384e-05/0.7438, allocations: 49.7 kB / 0.6235 GB, free: 3.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008408/0.7447, allocations: 1.4 MB / 0.6249 GB, free: 1.633 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003737/0.7451, allocations: 0.5468 MB / 0.6254 GB, free: 1.078 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/0.7452, allocations: 36 kB / 0.6255 GB, free: 1.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7453, allocations: 377.9 kB / 0.6258 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.7466, allocations: 0.8043 MB / 0.6266 GB, free: 15.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.748, allocations: 1.274 MB / 0.6279 GB, free: 14.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.7495, allocations: 1.051 MB / 0.6289 GB, free: 13.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.7495, allocations: 4 kB / 0.6289 GB, free: 13.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.004504/0.754, allocations: 2.877 MB / 0.6317 GB, free: 10.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.7541, allocations: 14.81 kB / 0.6317 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.7541, allocations: 12 kB / 0.6317 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.7555, allocations: 0.5878 MB / 0.6323 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.7569, allocations: 371.4 kB / 0.6326 GB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009178/0.7661, allocations: 8.801 MB / 0.6412 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.7676, allocations: 83.86 kB / 0.6413 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.7678, allocations: 76 kB / 0.6414 GB, free: 112 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (186): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,93.8%) 30,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001937/0.7697, allocations: 1.032 MB / 0.6424 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.77, allocations: 189.7 kB / 0.6426 GB, free: 14.88 MB / 426.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : (-aimc.is[1]) - aimc.is[3] - aimc.is[2] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; aimc.is[3] ] might be structurally or numerically singular for variable aimc.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/0.7743, allocations: 2.69 MB / 0.6452 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.7743, allocations: 16 kB / 0.6452 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.7744, allocations: 8 kB / 0.6452 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.7744, allocations: 15.92 kB / 0.6452 GB, free: 12.08 MB / 426.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : (-aimc.is[1]) - aimc.is[3] - aimc.is[2] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; aimc.is[3] ] might be structurally or numerically singular for variable aimc.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009044/0.7834, allocations: 5.824 MB / 0.6509 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.7835, allocations: 4 kB / 0.6509 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.7846, allocations: 247.6 kB / 0.6512 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.786, allocations: 0.5578 MB / 0.6517 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.7862, allocations: 39.98 kB / 0.6518 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2199/1.006, allocations: 11.5 MB / 0.663 GB, free: 86.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.006, allocations: 6.75 kB / 0.663 GB, free: 86.33 MB / 426.7 MB Warning: The linear system: 1 : 3.0 * aimc.stator.zeroInductor.i0 = aimc.is[1] + aimc.is[2] + aimc.is[3] 2 : (-aimc.is[1]) - aimc.is[3] - aimc.is[2] = 0.0 [ -1.0 , -1.0 ; -1.0 , -1.0 ] * [ aimc.is[2] ; aimc.is[1] ] = [ aimc.is[3] + (-3.0) * aimc.stator.zeroInductor.i0 ; aimc.is[3] ] might be structurally or numerically singular for variable aimc.is[1] since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006034/1.012, allocations: 3.915 MB / 0.6668 GB, free: 85.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.013, allocations: 461.8 kB / 0.6673 GB, free: 85.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/1.013, allocations: 32.44 kB / 0.6673 GB, free: 85.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009214/1.014, allocations: 90.45 kB / 0.6674 GB, free: 85.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/1.015, allocations: 122.2 kB / 0.6675 GB, free: 85.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.161e-05/1.015, allocations: 42.94 kB / 0.6675 GB, free: 85.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001599/1.016, allocations: 1.138 MB / 0.6686 GB, free: 85.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.016, allocations: 0 / 0.6686 GB, free: 85.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002115/1.018, allocations: 0.6418 MB / 0.6693 GB, free: 85.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.is[3],aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,vfController.x,loadInertia.w) * 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 (117): * Single equations (assignments): 113 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,72.0%) 29,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005044/1.019, allocations: 373.8 kB / 0.6696 GB, free: 85.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003576/1.023, allocations: 2.724 MB / 0.6723 GB, free: 84.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.023, allocations: 3.781 kB / 0.6723 GB, free: 84.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002216/1.025, allocations: 1.727 MB / 0.674 GB, free: 84.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.027, allocations: 474.2 kB / 0.6744 GB, free: 84.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009157/1.036, allocations: 7.091 MB / 0.6814 GB, free: 81.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/1.038, allocations: 2.392 MB / 0.6837 GB, free: 80.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001438/1.039, allocations: 419.3 kB / 0.6841 GB, free: 80.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/1.039, allocations: 134.3 kB / 0.6842 GB, free: 80.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.163e-06/1.039, allocations: 0 / 0.6842 GB, free: 80.7 MB / 426.7 MB Notification: Performance of Templates: time 0.04542/1.085, allocations: 31.6 MB / 0.7151 GB, free: 77.63 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)