Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008933/0.0008934, allocations: 96.34 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 207.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002429/0.000243, allocations: 8 kB / 306.6 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09917/0.09943, allocations: 51.48 MB / 358.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1655/0.265, allocations: 17.25 MB / 375.3 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.2765, allocations: 6.41 MB / 381.7 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.279, allocations: 125.9 kB / 381.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003472/0.2825, allocations: 1.305 MB / 383.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006698/0.2892, allocations: 2.338 MB / 385.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.2922, allocations: 1.066 MB / 386.6 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01272/0.3049, allocations: 8.787 MB / 395.4 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.021/0.326, allocations: 14.02 MB / 409.4 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005488/0.3315, allocations: 3.174 MB / 412.6 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005782/0.3373, allocations: 3.456 MB / 416 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001731/0.339, allocations: 0.5156 MB / 416.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/0.3426, allocations: 0.8004 MB / 417.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002253/0.3449, allocations: 1.554 MB / 418.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002751/0.3477, allocations: 1.662 MB / 420.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01487/0.3625, allocations: 15.4 MB / 436 MB, free: 14.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3626, allocations: 4 kB / 436 MB, free: 14.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3626, allocations: 4 kB / 436 MB, free: 14.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003918/0.363, allocations: 0 / 436 MB, free: 14.73 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.02423/0.3872, allocations: 8.928 MB / 444.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3873, allocations: 8.031 kB / 444.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03242/0.4197, allocations: 5.839 MB / 450.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.4313, allocations: 5.543 MB / 456.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004728/0.4318, allocations: 0.5579 MB / 456.8 MB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002338/0.4342, allocations: 0.7264 MB / 457.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02667/0.4609, allocations: 12.74 MB / 470.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003388/0.4612, allocations: 11.91 kB / 470.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002276/0.4635, allocations: 311.9 kB / 470.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006441/0.4642, allocations: 0.4883 MB / 471.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02821/0.4924, allocations: 12.52 MB / 483.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06972/0.5622, allocations: 41.93 MB / 0.5132 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4028/0.965, allocations: 26.17 MB / 0.5388 GB, free: 105.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009621/0.966, allocations: 248.6 kB / 0.539 GB, free: 105.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.9662, allocations: 77.81 kB / 0.5391 GB, free: 105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 8.296e-06/0.9662, allocations: 0.7188 kB / 0.5391 GB, free: 105 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.0383/1.004, allocations: 16.82 MB / 0.5555 GB, free: 100.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/1.005, allocations: 93.83 kB / 0.5556 GB, free: 100.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003697/1.008, allocations: 2.781 MB / 0.5583 GB, free: 99.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003271/1.009, allocations: 93.55 kB / 0.5584 GB, free: 99.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/1.01, allocations: 3.038 MB / 0.5614 GB, free: 96.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008475/1.011, allocations: 1.39 MB / 0.5627 GB, free: 95.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/1.011, allocations: 111.9 kB / 0.5629 GB, free: 95.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/1.011, allocations: 0.5016 MB / 0.5633 GB, free: 95.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003039/1.014, allocations: 2.497 MB / 0.5658 GB, free: 94.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/1.018, allocations: 4.089 MB / 0.5698 GB, free: 91.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003716/1.022, allocations: 3.413 MB / 0.5731 GB, free: 89.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.006e-05/1.022, allocations: 15.75 kB / 0.5731 GB, free: 89.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01061/1.032, allocations: 7.994 MB / 0.5809 GB, free: 86.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/1.032, allocations: 27.34 kB / 0.581 GB, free: 86.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.875e-05/1.032, allocations: 51.42 kB / 0.581 GB, free: 86.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/1.035, allocations: 1.192 MB / 0.5822 GB, free: 86.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00383/1.039, allocations: 1.133 MB / 0.5833 GB, free: 86.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/1.051, allocations: 10.6 MB / 0.5936 GB, free: 78.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/1.055, allocations: 271.8 kB / 0.5939 GB, free: 77.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004578/1.055, allocations: 236 kB / 0.5941 GB, free: 77.58 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004142/1.06, allocations: 2.952 MB / 0.597 GB, free: 74.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007445/1.06, allocations: 347.8 kB / 0.5973 GB, free: 74.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009502/1.07, allocations: 6.715 MB / 0.6039 GB, free: 67.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/1.07, allocations: 43.94 kB / 0.6039 GB, free: 67.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.07, allocations: 15.95 kB / 0.6039 GB, free: 67.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.067e-05/1.07, allocations: 19.92 kB / 0.604 GB, free: 67.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02137/1.091, allocations: 15.13 MB / 0.6187 GB, free: 52.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/1.091, allocations: 4 kB / 0.6187 GB, free: 52.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/1.094, allocations: 0.7528 MB / 0.6195 GB, free: 51.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002654/1.097, allocations: 1.098 MB / 0.6206 GB, free: 50.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/1.097, allocations: 95.97 kB / 0.6206 GB, free: 50.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/1.107, allocations: 9.533 MB / 0.63 GB, free: 40.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.107, allocations: 11.94 kB / 0.63 GB, free: 40.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/1.12, allocations: 10.48 MB / 0.6402 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/1.122, allocations: 0.9221 MB / 0.6411 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004797/1.123, allocations: 80 kB / 0.6412 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/1.125, allocations: 214.7 kB / 0.6414 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004951/1.125, allocations: 307.3 kB / 0.6417 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.125, allocations: 124 kB / 0.6418 GB, free: 28.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002316/1.128, allocations: 1.904 MB / 0.6437 GB, free: 26.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.128, allocations: 0 / 0.6437 GB, free: 26.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004406/1.132, allocations: 1.389 MB / 0.645 GB, free: 24.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000525/1.133, allocations: 282.7 kB / 0.6453 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009556/1.142, allocations: 6.714 MB / 0.6518 GB, free: 17.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.142, allocations: 4.188 kB / 0.6518 GB, free: 17.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005514/1.148, allocations: 3.543 MB / 0.6553 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/1.151, allocations: 0.7388 MB / 0.656 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/1.173, allocations: 16.67 MB / 0.6723 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005435/1.178, allocations: 5.205 MB / 0.6774 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004729/1.183, allocations: 1.626 MB / 0.679 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009285/1.184, allocations: 311.4 kB / 0.6793 GB, free: 5.449 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/1.184, allocations: 0 / 0.6793 GB, free: 5.449 MB / 462.1 MB Notification: Performance of Templates: time 0.2668/1.451, allocations: 57.22 MB / 0.7351 GB, free: 151.9 MB / 494.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)