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.001073/0.001073, allocations: 103.5 kB / 18.4 MB, free: 4.66 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.001017/0.001017, allocations: 187 kB / 19.34 MB, free: 3.734 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.244/1.244, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001168/0.001168, allocations: 55.94 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07172/0.07289, allocations: 46.62 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.1603/0.2332, allocations: 12.76 MB / 388.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006663/0.2399, allocations: 4.277 MB / 392.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009535/0.241, allocations: 70.16 kB / 392.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.2429, allocations: 0.9717 MB / 393.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.2453, allocations: 1.26 MB / 395.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.2468, allocations: 0.8659 MB / 396 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003261/0.25, allocations: 3.884 MB / 399.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003333/0.2534, allocations: 3.177 MB / 403.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.2557, allocations: 1.837 MB / 404.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.258, allocations: 2.064 MB / 407 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005746/0.2586, allocations: 0.4978 MB / 407.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.2598, allocations: 0.6912 MB / 408.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009199/0.2607, allocations: 1.106 MB / 409.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001962/0.2627, allocations: 2.074 MB / 411.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005522/0.2682, allocations: 6.59 MB / 418 MB, free: 4.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2682, allocations: 1.125 kB / 418 MB, free: 4.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2682, allocations: 4 kB / 418 MB, free: 4.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.487e-05/0.2683, allocations: 0 / 418 MB, free: 4.891 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.00904/0.2773, allocations: 4.299 MB / 422.3 MB, free: 1.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2774, allocations: 8.031 kB / 422.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004102/0.2815, allocations: 0.8008 MB / 423.1 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/0.2849, allocations: 2.243 MB / 425.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.285, allocations: 230.6 kB / 425.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004372/0.2855, allocations: 319.8 kB / 425.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006436/0.2919, allocations: 4.227 MB / 430.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.292, allocations: 7.906 kB / 430.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000295/0.2923, allocations: 128 kB / 430.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.2924, allocations: 146.3 kB / 430.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005646/0.2981, allocations: 3.601 MB / 434 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01679/0.3149, allocations: 13.01 MB / 447 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006548/0.3214, allocations: 6.903 MB / 453.9 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.3235, allocations: 1.344 MB / 455.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005267/0.3288, allocations: 3.703 MB / 458.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.3288, allocations: 51.56 kB / 459 MB, free: 10.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 2.675e-06/0.3288, allocations: 0 / 459 MB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.009559/0.3384, allocations: 5.364 MB / 464.3 MB, free: 5.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.3385, allocations: 68.41 kB / 464.4 MB, free: 5.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.3406, allocations: 1.709 MB / 466.1 MB, free: 3.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.3406, allocations: 45.7 kB / 466.2 MB, free: 3.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008817/0.3415, allocations: 1.395 MB / 467.6 MB, free: 2.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.3418, allocations: 425.8 kB / 468 MB, free: 1.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004117/0.3423, allocations: 283.3 kB / 468.3 MB, free: 1.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.3424, allocations: 305.1 kB / 468.5 MB, free: 1.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.3434, allocations: 0.6403 MB / 469.2 MB, free: 472 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.3448, allocations: 1.118 MB / 470.3 MB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.3473, allocations: 1.875 MB / 472.2 MB, free: 13.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.3474, allocations: 4 kB / 472.2 MB, free: 13.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003563/0.3509, allocations: 2.323 MB / 474.5 MB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.351, allocations: 12 kB / 474.5 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.351, allocations: 12 kB / 474.5 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006456/0.3516, allocations: 271.3 kB / 474.8 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.353, allocations: 359.4 kB / 475.1 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005455/0.3584, allocations: 6.198 MB / 481.3 MB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/0.3594, allocations: 75.86 kB / 481.4 MB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.3595, allocations: 68 kB / 481.5 MB, free: 3.285 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.001322/0.3608, allocations: 1.005 MB / 482.5 MB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.3611, allocations: 185.8 kB / 482.7 MB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003623/0.3647, allocations: 2.111 MB / 484.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.3647, allocations: 3.984 kB / 484.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3647, allocations: 4 kB / 484.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005703/0.3653, allocations: 402.7 kB / 485.2 MB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.3655, allocations: 28 kB / 485.2 MB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/0.3663, allocations: 67.94 kB / 485.3 MB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.3665, allocations: 108.8 kB / 485.4 MB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004183/0.3707, allocations: 2.008 MB / 487.4 MB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00334/0.3741, allocations: 2.365 MB / 489.8 MB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009743/0.3751, allocations: 0.6636 MB / 490.4 MB, free: 10.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.3766, allocations: 1.178 MB / 491.6 MB, free: 9.031 MB / 414.1 MB Notification: Performance of Backend: time 4.61e-07/0.3766, allocations: 0 / 491.6 MB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003/0.3796, allocations: 1.737 MB / 493.3 MB, free: 7.23 MB / 414.1 MB Notification: Performance of SimCode: time 0.008363/0.388, allocations: 6.109 MB / 499.4 MB, free: 1.059 MB / 414.1 MB Notification: Performance of Templates: time 0.04798/0.436, allocations: 31.72 MB / 0.5187 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)