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.001071/0.001071, allocations: 115.2 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2164, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0141/0.2305, allocations: 13.43 MB / 423.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007471/0.238, allocations: 4.501 MB / 427.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.2398, allocations: 79.69 kB / 428 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002761/0.2426, allocations: 1.033 MB / 429 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00352/0.2461, allocations: 1.297 MB / 430.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.2483, allocations: 0.8938 MB / 431.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004375/0.2527, allocations: 3.919 MB / 435.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003952/0.2566, allocations: 3.228 MB / 438.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/0.259, allocations: 1.862 MB / 440.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.2621, allocations: 2.184 MB / 442.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009765/0.2631, allocations: 0.5 MB / 442.9 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.2645, allocations: 0.7224 MB / 443.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008637/0.2654, allocations: 1.106 MB / 444.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.2673, allocations: 2.077 MB / 446.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005768/0.273, allocations: 6.65 MB / 453.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2731, allocations: 0 / 453.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2731, allocations: 0 / 453.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.98e-05/0.2731, allocations: 0 / 453.4 MB, free: 5.879 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.008916/0.282, allocations: 4.428 MB / 457.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2821, allocations: 8.031 kB / 457.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004091/0.2862, allocations: 0.8222 MB / 458.7 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.2897, allocations: 2.413 MB / 461.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.2899, allocations: 242.2 kB / 461.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004381/0.2904, allocations: 315.9 kB / 461.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006234/0.2966, allocations: 4.215 MB / 465.9 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.694e-05/0.2967, allocations: 8 kB / 465.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002751/0.297, allocations: 120 kB / 466 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.2971, allocations: 154.3 kB / 466.2 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005671/0.3028, allocations: 3.605 MB / 469.8 MB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.3205, allocations: 13.14 MB / 482.9 MB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006596/0.3272, allocations: 7.179 MB / 490.1 MB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002804/0.33, allocations: 1.617 MB / 491.7 MB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006432/0.3364, allocations: 4.206 MB / 495.9 MB, free: 9.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3365, allocations: 43.56 kB / 495.9 MB, free: 9.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 2.715e-06/0.3365, allocations: 0 / 495.9 MB, free: 9.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01081/0.3473, allocations: 5.608 MB / 0.4898 GB, free: 3.922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3473, allocations: 64.41 kB / 0.4899 GB, free: 3.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/0.3501, allocations: 1.719 MB / 0.4915 GB, free: 2.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.338e-05/0.3502, allocations: 49.7 kB / 0.4916 GB, free: 2.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.3512, allocations: 1.446 MB / 0.493 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003662/0.3516, allocations: 456.1 kB / 0.4934 GB, free: 164 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004346/0.352, allocations: 287.5 kB / 0.4937 GB, free: 15.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3522, allocations: 309 kB / 0.494 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.3533, allocations: 0.652 MB / 0.4946 GB, free: 14.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.3547, allocations: 1.129 MB / 0.4957 GB, free: 13.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002639/0.3574, allocations: 1.902 MB / 0.4976 GB, free: 11.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.3574, allocations: 4 kB / 0.4976 GB, free: 11.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003857/0.3613, allocations: 2.406 MB / 0.4999 GB, free: 9.039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3613, allocations: 20.22 kB / 0.5 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.3613, allocations: 16 kB / 0.5 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007614/0.3621, allocations: 314.8 kB / 0.5003 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.3634, allocations: 343.5 kB / 0.5006 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/0.3693, allocations: 6.626 MB / 0.5071 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.3704, allocations: 79.86 kB / 0.5072 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.3706, allocations: 75.91 kB / 0.5072 GB, free: 1.148 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.001438/0.372, allocations: 0.9971 MB / 0.5082 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003021/0.3723, allocations: 190.8 kB / 0.5084 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/0.3761, allocations: 2.213 MB / 0.5105 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.3761, allocations: 3.984 kB / 0.5106 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3761, allocations: 0 / 0.5106 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000639/0.3768, allocations: 419.7 kB / 0.511 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/0.377, allocations: 28 kB / 0.511 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008315/0.3779, allocations: 63.94 kB / 0.511 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.3781, allocations: 116.8 kB / 0.5112 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004319/0.3824, allocations: 2.098 MB / 0.5132 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003388/0.3858, allocations: 2.413 MB / 0.5156 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009678/0.3868, allocations: 0.6714 MB / 0.5162 GB, free: 7.812 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.3884, allocations: 1.182 MB / 0.5174 GB, free: 6.637 MB / 446.1 MB Notification: Performance of Backend: time 4.1e-07/0.3885, allocations: 0 / 0.5174 GB, free: 6.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003162/0.3916, allocations: 1.807 MB / 0.5191 GB, free: 4.766 MB / 446.1 MB Notification: Performance of SimCode: time 0.009129/0.4008, allocations: 6.261 MB / 0.5252 GB, free: 14.45 MB / 462.1 MB Notification: Performance of Templates: time 0.2175/0.6183, allocations: 31.98 MB / 0.5565 GB, free: 117.9 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)