Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001305/0.001305, allocations: 80.5 kB / 16.31 MB, free: 6.449 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.001732/0.001732, allocations: 181.8 kB / 17.21 MB, free: 6.316 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.453/1.453, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.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.0004825/0.0004826, allocations: 8 kB / 280.2 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2374, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01401/0.2515, allocations: 11.21 MB / 338.9 MB, free: 8.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008867/0.2604, allocations: 3.968 MB / 342.9 MB, free: 4.293 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.2629, allocations: 71.69 kB / 343 MB, free: 4.223 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002656/0.2656, allocations: 0.7186 MB / 343.7 MB, free: 3.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.2696, allocations: 1.033 MB / 344.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.2717, allocations: 0.5847 MB / 345.3 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005735/0.2774, allocations: 3.884 MB / 349.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003702/0.2812, allocations: 2.174 MB / 351.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.2833, allocations: 1.249 MB / 352.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002957/0.2863, allocations: 1.591 MB / 354.2 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008699/0.2872, allocations: 204 kB / 354.4 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.2889, allocations: 395.7 kB / 354.8 MB, free: 8.324 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.29, allocations: 0.7395 MB / 355.5 MB, free: 7.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.2912, allocations: 0.7226 MB / 356.3 MB, free: 6.852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006281/0.2975, allocations: 5.388 MB / 361.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2975, allocations: 7.938 kB / 361.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.2975, allocations: 0 / 361.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001978/0.2977, allocations: 3.938 kB / 361.7 MB, free: 1.438 MB / 286.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.01066/0.3084, allocations: 3.676 MB / 365.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.3085, allocations: 8.031 kB / 365.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004958/0.3134, allocations: 0.8038 MB / 366.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004746/0.3182, allocations: 2.122 MB / 368.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.3185, allocations: 234.2 kB / 368.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/0.3197, allocations: 315.9 kB / 368.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.3313, allocations: 4.195 MB / 373 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001153/0.3314, allocations: 15.89 kB / 373 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000667/0.3321, allocations: 132 kB / 373.2 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001814/0.3323, allocations: 154.3 kB / 373.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007779/0.3401, allocations: 3.593 MB / 376.9 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02309/0.3632, allocations: 13.25 MB / 390.1 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00695/0.3702, allocations: 6.888 MB / 397 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002339/0.3726, allocations: 1.383 MB / 398.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006556/0.3792, allocations: 3.734 MB / 402.2 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/0.3793, allocations: 51.56 kB / 402.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=119): time 3.296e-06/0.3793, allocations: 0 / 402.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=122): time 0.01153/0.3908, allocations: 5.466 MB / 407.7 MB, free: 1.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.3909, allocations: 64.41 kB / 407.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/0.3946, allocations: 1.694 MB / 409.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002184/0.3948, allocations: 49.7 kB / 409.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.3961, allocations: 1.395 MB / 410.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/0.3967, allocations: 433.8 kB / 411.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3968, allocations: 32 kB / 411.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.397, allocations: 365.9 kB / 411.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.3984, allocations: 0.6442 MB / 412.3 MB, free: 13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.4, allocations: 1.118 MB / 413.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.4016, allocations: 0.8496 MB / 414.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.4016, allocations: 8 kB / 414.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004488/0.4061, allocations: 2.331 MB / 416.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.4062, allocations: 12 kB / 416.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.4062, allocations: 16 kB / 416.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008715/0.4071, allocations: 267.5 kB / 416.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.4085, allocations: 363.4 kB / 417.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/0.4141, allocations: 5.683 MB / 423 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.4155, allocations: 75.88 kB / 423 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/0.4157, allocations: 67.98 kB / 423.1 MB, free: 1.566 MB / 350.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 (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 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002017/0.4178, allocations: 1.009 MB / 424.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/0.4182, allocations: 177.8 kB / 424.3 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/0.4222, allocations: 2.127 MB / 426.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.4222, allocations: 15.98 kB / 426.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/0.4223, allocations: 15.88 kB / 426.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.4223, allocations: 3.984 kB / 426.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008701/0.431, allocations: 4.839 MB / 431.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.431, allocations: 0 / 431.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007883/0.4318, allocations: 175.8 kB / 431.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.433, allocations: 452 kB / 431.9 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.776e-05/0.4331, allocations: 35.98 kB / 431.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/0.4436, allocations: 10.07 MB / 442 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4436, allocations: 0 / 442 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00536/0.449, allocations: 3.011 MB / 445 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.4501, allocations: 406.8 kB / 445.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000475/0.4506, allocations: 31.98 kB / 445.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.4516, allocations: 71.95 kB / 445.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.4519, allocations: 100.8 kB / 445.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.172e-05/0.452, allocations: 35.98 kB / 445.6 MB, free: 10 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002232/0.4542, allocations: 1.158 MB / 446.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4542, allocations: 192 / 446.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002376/0.4566, allocations: 0.5352 MB / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * 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 (86): * Single equations (assignments): 81 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003924/0.457, allocations: 183 kB / 447.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004337/0.4614, allocations: 2.077 MB / 449.6 MB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.4614, allocations: 4 kB / 449.6 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002669/0.4641, allocations: 1.524 MB / 451.1 MB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/0.4672, allocations: 497.8 kB / 451.6 MB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.186/0.6533, allocations: 6.64 MB / 458.2 MB, free: 107.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/0.6552, allocations: 2.279 MB / 460.5 MB, free: 107 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001443/0.6567, allocations: 388.5 kB / 460.9 MB, free: 106.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.657, allocations: 124 kB / 461 MB, free: 106.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.657, allocations: 4.375 kB / 461 MB, free: 106.9 MB / 382.1 MB Notification: Performance of Templates: time 0.03824/0.6953, allocations: 25.5 MB / 486.5 MB, free: 88 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1)