Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 110.5 kB / 18.4 MB, free: 4.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 190.1 kB / 19.34 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 51.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07169/0.07296, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.1637/0.2367, allocations: 12.76 MB / 388.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006963/0.2436, allocations: 4.28 MB / 392.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.2453, allocations: 65.69 kB / 393 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.2475, allocations: 1.009 MB / 394 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.2508, allocations: 1.304 MB / 395.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.2525, allocations: 0.8618 MB / 396.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004114/0.2567, allocations: 3.886 MB / 400 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003521/0.2602, allocations: 3.177 MB / 403.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.2631, allocations: 1.836 MB / 405 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003455/0.2665, allocations: 2.065 MB / 407.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007371/0.2673, allocations: 0.498 MB / 407.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.2689, allocations: 0.6975 MB / 408.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009511/0.2699, allocations: 1.099 MB / 409.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002304/0.2722, allocations: 2.075 MB / 411.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006864/0.2791, allocations: 6.602 MB / 418.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2791, allocations: 7.938 kB / 418.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2791, allocations: 0 / 418.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001348/0.2793, allocations: 0 / 418.1 MB, free: 4.832 MB / 334.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.01082/0.2901, allocations: 4.396 MB / 422.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2901, allocations: 8.031 kB / 422.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.2944, allocations: 0.8222 MB / 423.3 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004008/0.2985, allocations: 2.252 MB / 425.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.2986, allocations: 234.6 kB / 425.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004994/0.2991, allocations: 315.9 kB / 426.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007327/0.3065, allocations: 4.219 MB / 430.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.408e-05/0.3066, allocations: 4 kB / 430.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003184/0.3069, allocations: 127.9 kB / 430.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.3071, allocations: 154.3 kB / 430.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006354/0.3135, allocations: 3.597 MB / 434.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0191/0.3326, allocations: 13.05 MB / 447.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006409/0.339, allocations: 6.904 MB / 454.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.3412, allocations: 1.352 MB / 455.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006353/0.3476, allocations: 3.719 MB / 459.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.3477, allocations: 47.56 kB / 459.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.507e-06/0.3477, allocations: 0 / 459.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01076/0.3585, allocations: 5.412 MB / 464.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.3585, allocations: 68.34 kB / 464.7 MB, free: 5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/0.3613, allocations: 1.706 MB / 466.4 MB, free: 3.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-05/0.3614, allocations: 45.7 kB / 466.5 MB, free: 3.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009351/0.3623, allocations: 1.438 MB / 467.9 MB, free: 1.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.3627, allocations: 452.1 kB / 468.4 MB, free: 1.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004393/0.3631, allocations: 287.4 kB / 468.6 MB, free: 1.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.3632, allocations: 301.1 kB / 468.9 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.3643, allocations: 0.6481 MB / 469.6 MB, free: 112 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.3657, allocations: 1.106 MB / 470.7 MB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002717/0.3685, allocations: 1.883 MB / 472.6 MB, free: 12.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.3685, allocations: 4 kB / 472.6 MB, free: 12.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004006/0.3725, allocations: 2.32 MB / 474.9 MB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.3725, allocations: 12 kB / 474.9 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/0.3726, allocations: 19.98 kB / 474.9 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000761/0.3733, allocations: 275.4 kB / 475.2 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.3748, allocations: 351.5 kB / 475.5 MB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006005/0.3808, allocations: 6.202 MB / 481.7 MB, free: 3.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.3822, allocations: 75.91 kB / 481.8 MB, free: 3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.3824, allocations: 72.11 kB / 481.9 MB, free: 2.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (180): * Single equations (assignments): 176 * 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,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001787/0.3842, allocations: 1.001 MB / 482.9 MB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/0.3846, allocations: 186.8 kB / 483.1 MB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004061/0.3887, allocations: 2.115 MB / 485.2 MB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.3887, allocations: 7.969 kB / 485.2 MB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3888, allocations: 0 / 485.2 MB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008851/0.3896, allocations: 415.8 kB / 485.6 MB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/0.3901, allocations: 35.98 kB / 485.6 MB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009954/0.3911, allocations: 55.95 kB / 485.7 MB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.3913, allocations: 104.8 kB / 485.8 MB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004406/0.3957, allocations: 2.024 MB / 487.8 MB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003617/0.3993, allocations: 2.37 MB / 490.2 MB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001021/0.4004, allocations: 0.6637 MB / 490.8 MB, free: 9.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002036/0.4024, allocations: 1.181 MB / 492 MB, free: 8.645 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.4024, allocations: 0 / 492 MB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003772/0.4062, allocations: 1.74 MB / 493.8 MB, free: 6.844 MB / 414.1 MB Notification: Performance of SimCode: time 0.01035/0.4166, allocations: 6.191 MB / 500 MB, free: 0.582 MB / 414.1 MB Notification: Performance of Templates: time 0.05308/0.4697, allocations: 31.24 MB / 0.5188 GB, free: 1.281 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1)