Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001042/0.001042, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001175/0.001175, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0005124/0.0005126, allocations: 16 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2557, allocations: 47.58 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01295/0.2687, allocations: 10.26 MB / 336.7 MB, free: 9.242 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009791/0.2786, allocations: 4.074 MB / 340.8 MB, free: 5.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.2817, allocations: 59.75 kB / 340.8 MB, free: 5.102 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00331/0.285, allocations: 0.7462 MB / 341.6 MB, free: 4.352 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005228/0.2903, allocations: 1.11 MB / 342.7 MB, free: 3.238 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.2928, allocations: 0.5769 MB / 343.3 MB, free: 2.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007257/0.3001, allocations: 2.679 MB / 346 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004601/0.3047, allocations: 2.17 MB / 348.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.3072, allocations: 1.21 MB / 349.3 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/0.3102, allocations: 1.436 MB / 350.8 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009216/0.3112, allocations: 200 kB / 351 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.3131, allocations: 371.7 kB / 351.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.3142, allocations: 0.7125 MB / 352 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.3155, allocations: 0.7188 MB / 352.8 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005518/0.3211, allocations: 5.349 MB / 358.1 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3211, allocations: 0 / 358.1 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3211, allocations: 0 / 358.1 MB, free: 3.746 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000172/0.3213, allocations: 0 / 358.1 MB, free: 3.746 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.0102/0.3315, allocations: 3.669 MB / 361.8 MB, free: 8 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.768e-05/0.3316, allocations: 12.08 kB / 361.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004489/0.3361, allocations: 0.8038 MB / 362.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004331/0.3404, allocations: 2.142 MB / 364.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.3406, allocations: 234.2 kB / 365 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004812/0.3411, allocations: 319.8 kB / 365.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007513/0.3486, allocations: 4.176 MB / 369.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.604e-05/0.3487, allocations: 3.953 kB / 369.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003045/0.349, allocations: 135.9 kB / 369.6 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/0.3492, allocations: 146.3 kB / 369.7 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007284/0.3565, allocations: 3.593 MB / 373.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02702/0.3836, allocations: 13.19 MB / 386.5 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00691/0.3905, allocations: 6.908 MB / 393.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005924/0.3965, allocations: 3.179 MB / 396.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.3965, allocations: 51.88 kB / 396.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=131): time 3.206e-06/0.3966, allocations: 3.938 kB / 396.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=135): time 0.01295/0.4095, allocations: 5.783 MB / 402.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.4096, allocations: 68.7 kB / 402.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003193/0.4128, allocations: 1.642 MB / 404.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.413, allocations: 45.7 kB / 404.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.4141, allocations: 1.376 MB / 405.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/0.4146, allocations: 477.1 kB / 406 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.276e-05/0.4148, allocations: 32 kB / 406.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.415, allocations: 373.9 kB / 406.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.4163, allocations: 0.6871 MB / 407.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.418, allocations: 1.133 MB / 408.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.4195, allocations: 0.8926 MB / 409.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/0.4196, allocations: 4 kB / 409.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004319/0.4239, allocations: 2.417 MB / 411.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.4239, allocations: 12 kB / 411.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.424, allocations: 12 kB / 411.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007559/0.4247, allocations: 275.3 kB / 411.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.4261, allocations: 375.5 kB / 412.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005729/0.4319, allocations: 5.753 MB / 418 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.4333, allocations: 71.88 kB / 418.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.4335, allocations: 71.98 kB / 418.1 MB, free: 5.344 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (188): * Single equations (assignments): 184 * 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%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001983/0.4355, allocations: 1.005 MB / 419.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/0.4359, allocations: 177.8 kB / 419.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/0.44, allocations: 2.268 MB / 421.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.44, allocations: 19.95 kB / 421.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/0.4401, allocations: 4 kB / 421.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.4401, allocations: 7.969 kB / 421.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009114/0.4492, allocations: 5.097 MB / 426.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4492, allocations: 0 / 426.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008513/0.4501, allocations: 208.1 kB / 426.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.4512, allocations: 456 kB / 427.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.4514, allocations: 35.98 kB / 427.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.4619, allocations: 10.18 MB / 437.6 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.4619, allocations: 7.969 kB / 437.6 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/0.4673, allocations: 3.337 MB / 440.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.4684, allocations: 414.7 kB / 441.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004898/0.4689, allocations: 32 kB / 441.4 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.47, allocations: 79.94 kB / 441.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/0.4703, allocations: 105.6 kB / 441.5 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.864e-05/0.4704, allocations: 43.98 kB / 441.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002327/0.4728, allocations: 1.119 MB / 442.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4728, allocations: 0 / 442.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002899/0.4757, allocations: 0.543 MB / 443.2 MB, free: 11.15 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (98): * Single equations (assignments): 93 * 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%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004521/0.4762, allocations: 174.9 kB / 443.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003662/0.4798, allocations: 2.195 MB / 445.6 MB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.4799, allocations: 0 / 445.6 MB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00239/0.4822, allocations: 1.596 MB / 447.2 MB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.4844, allocations: 478.8 kB / 447.7 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2/0.6844, allocations: 6.731 MB / 454.4 MB, free: 108.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003543/0.688, allocations: 2.346 MB / 456.7 MB, free: 107.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001575/0.6896, allocations: 394.2 kB / 457.1 MB, free: 107.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.69, allocations: 125.9 kB / 457.3 MB, free: 107.5 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.69, allocations: 1.625 kB / 457.3 MB, free: 107.5 MB / 382.1 MB Notification: Performance of Templates: time 0.04443/0.7344, allocations: 25.39 MB / 482.6 MB, free: 90.39 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) Environment - environmentSimulation: