Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001103, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.00128, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 59.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2107, allocations: 50.55 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01326/0.224, allocations: 13.44 MB / 423.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007198/0.2312, allocations: 4.509 MB / 427.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.2328, allocations: 79.69 kB / 428 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.2353, allocations: 0.9863 MB / 429 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003246/0.2386, allocations: 1.258 MB / 430.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.2406, allocations: 0.8866 MB / 431.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00399/0.2446, allocations: 3.911 MB / 435 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003355/0.2479, allocations: 3.232 MB / 438.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.2501, allocations: 1.862 MB / 440.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.2525, allocations: 2.188 MB / 442.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005741/0.2531, allocations: 0.4961 MB / 442.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.2542, allocations: 0.7263 MB / 443.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008356/0.2551, allocations: 1.102 MB / 444.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.2569, allocations: 2.081 MB / 446.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005448/0.2623, allocations: 6.63 MB / 453.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2624, allocations: 0 / 453.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2624, allocations: 0 / 453.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.089e-05/0.2625, allocations: 0 / 453.3 MB, free: 5.988 MB / 366.1 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.009975/0.2724, allocations: 4.339 MB / 457.7 MB, free: 1.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2725, allocations: 8.031 kB / 457.7 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/0.2766, allocations: 0.8085 MB / 458.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/0.2805, allocations: 2.399 MB / 460.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.2807, allocations: 242.1 kB / 461.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004198/0.2811, allocations: 307.9 kB / 461.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006393/0.2875, allocations: 4.23 MB / 465.7 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.894e-05/0.2876, allocations: 8 kB / 465.7 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/0.2879, allocations: 124 kB / 465.8 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.2881, allocations: 150.3 kB / 465.9 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005833/0.2939, allocations: 3.605 MB / 469.5 MB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0175/0.3114, allocations: 13.09 MB / 482.6 MB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00643/0.3179, allocations: 7.184 MB / 489.8 MB, free: 12 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002791/0.3207, allocations: 1.616 MB / 491.4 MB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006012/0.3267, allocations: 4.194 MB / 495.6 MB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.3267, allocations: 51.55 kB / 495.7 MB, free: 9.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.776e-06/0.3268, allocations: 4 kB / 495.7 MB, free: 9.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01061/0.3374, allocations: 5.549 MB / 0.4895 GB, free: 4.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3374, allocations: 64.41 kB / 0.4895 GB, free: 4.164 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.3399, allocations: 1.718 MB / 0.4912 GB, free: 2.441 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.932e-05/0.34, allocations: 45.7 kB / 0.4913 GB, free: 2.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009351/0.3409, allocations: 1.422 MB / 0.4927 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.3413, allocations: 433.8 kB / 0.4931 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/0.3417, allocations: 287.3 kB / 0.4933 GB, free: 240 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.3418, allocations: 305.1 kB / 0.4936 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.3429, allocations: 0.6559 MB / 0.4943 GB, free: 15.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.3442, allocations: 1.125 MB / 0.4954 GB, free: 13.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/0.3467, allocations: 1.902 MB / 0.4972 GB, free: 11.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.3468, allocations: 4 kB / 0.4972 GB, free: 11.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003853/0.3506, allocations: 2.401 MB / 0.4996 GB, free: 9.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3507, allocations: 15.94 kB / 0.4996 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.3507, allocations: 12.28 kB / 0.4996 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007966/0.3515, allocations: 315.2 kB / 0.4999 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.3528, allocations: 351.4 kB / 0.5002 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005994/0.3588, allocations: 6.607 MB / 0.5067 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.36, allocations: 79.86 kB / 0.5068 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.3601, allocations: 71.88 kB / 0.5068 GB, free: 1.535 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00147/0.3616, allocations: 1.005 MB / 0.5078 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/0.3619, allocations: 185.8 kB / 0.508 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003805/0.3657, allocations: 2.213 MB / 0.5102 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.3657, allocations: 11.97 kB / 0.5102 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.3657, allocations: 0 / 0.5102 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007677/0.3665, allocations: 406.8 kB / 0.5106 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.3668, allocations: 28 kB / 0.5106 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/0.3676, allocations: 55.95 kB / 0.5106 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.3679, allocations: 116.8 kB / 0.5108 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004271/0.3721, allocations: 2.097 MB / 0.5128 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003321/0.3755, allocations: 2.396 MB / 0.5151 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009638/0.3764, allocations: 0.6753 MB / 0.5158 GB, free: 8.219 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001703/0.3782, allocations: 1.182 MB / 0.517 GB, free: 7.043 MB / 446.1 MB Notification: Performance of Backend: time 3.3e-07/0.3782, allocations: 0 / 0.517 GB, free: 7.043 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003274/0.3815, allocations: 1.803 MB / 0.5187 GB, free: 5.176 MB / 446.1 MB Notification: Performance of SimCode: time 0.008585/0.39, allocations: 6.155 MB / 0.5247 GB, free: 14.98 MB / 462.1 MB Notification: Performance of Templates: time 0.2185/0.6086, allocations: 31.98 MB / 0.556 GB, free: 118.7 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)