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.001149/0.001149, allocations: 100.5 kB / 17.85 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 209.7 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 60.17 kB / 306.9 MB, free: 1.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1041, allocations: 50.53 MB / 357.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2157/0.3199, allocations: 21.2 MB / 378.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.3334, allocations: 6.739 MB / 385.4 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005167/0.3386, allocations: 142.6 kB / 385.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01447/0.3531, allocations: 6.455 MB / 392 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009654/0.3628, allocations: 2.55 MB / 394.5 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004392/0.3672, allocations: 1.482 MB / 396 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01479/0.382, allocations: 9.127 MB / 405.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02163/0.4036, allocations: 15.01 MB / 420.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006474/0.4101, allocations: 3.961 MB / 424.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009/0.4192, allocations: 4.858 MB / 429 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002941/0.4221, allocations: 0.8438 MB / 429.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00517/0.4273, allocations: 1.195 MB / 431 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002444/0.4298, allocations: 2.091 MB / 433.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007604/0.4374, allocations: 4.423 MB / 437.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.4534, allocations: 15.92 MB / 453.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.4534, allocations: 4 kB / 453.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4534, allocations: 0 / 453.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004935/0.4539, allocations: 0 / 453.5 MB, free: 12.69 MB / 366.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.03497/0.4889, allocations: 10.62 MB / 464.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.489, allocations: 11.97 kB / 464.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03399/0.523, allocations: 5.891 MB / 470 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01394/0.537, allocations: 5.581 MB / 475.6 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007179/0.5377, allocations: 0.558 MB / 476.1 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003887/0.5416, allocations: 0.7381 MB / 476.9 MB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03753/0.5792, allocations: 12.85 MB / 489.7 MB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004215/0.5796, allocations: 11.81 kB / 489.7 MB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003419/0.5831, allocations: 320 kB / 490 MB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000596/0.5837, allocations: 496.1 kB / 490.5 MB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02977/0.6135, allocations: 12.56 MB / 0.4913 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2907/0.9042, allocations: 41.85 MB / 0.5322 GB, free: 119.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/0.9218, allocations: 26.22 MB / 0.5578 GB, free: 97.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005245/0.927, allocations: 3.212 MB / 0.5609 GB, free: 97.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003709/0.9274, allocations: 252 kB / 0.5611 GB, free: 97.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.9275, allocations: 80.02 kB / 0.5612 GB, free: 97.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.27e-06/0.9275, allocations: 0 / 0.5612 GB, free: 97.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03392/0.9614, allocations: 16.81 MB / 0.5776 GB, free: 93.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.9615, allocations: 94.02 kB / 0.5777 GB, free: 93.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/0.9649, allocations: 2.836 MB / 0.5805 GB, free: 92.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003518/0.9653, allocations: 92.52 kB / 0.5806 GB, free: 92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.9665, allocations: 3.038 MB / 0.5835 GB, free: 89.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008469/0.9673, allocations: 1.393 MB / 0.5849 GB, free: 88.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/0.9685, allocations: 0.9408 MB / 0.5858 GB, free: 88.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.9686, allocations: 309 kB / 0.5861 GB, free: 87.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003002/0.9716, allocations: 2.5 MB / 0.5886 GB, free: 86.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003499/0.9751, allocations: 4.104 MB / 0.5926 GB, free: 83.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006963/0.9821, allocations: 7.182 MB / 0.5996 GB, free: 79.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-05/0.9821, allocations: 11.81 kB / 0.5996 GB, free: 79.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01082/0.9929, allocations: 7.994 MB / 0.6074 GB, free: 74.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.993, allocations: 24 kB / 0.6074 GB, free: 74.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.562e-05/0.9931, allocations: 52 kB / 0.6075 GB, free: 74.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002847/0.9959, allocations: 1.196 MB / 0.6086 GB, free: 73.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/0.9998, allocations: 1.143 MB / 0.6098 GB, free: 72.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/1.012, allocations: 10.33 MB / 0.6198 GB, free: 61.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/1.015, allocations: 267.8 kB / 0.6201 GB, free: 61.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009046/1.016, allocations: 228 kB / 0.6203 GB, free: 61.14 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004808/1.021, allocations: 2.948 MB / 0.6232 GB, free: 58.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.022, allocations: 351.8 kB / 0.6235 GB, free: 57.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/1.033, allocations: 6.674 MB / 0.63 GB, free: 51.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/1.033, allocations: 40 kB / 0.6301 GB, free: 51.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/1.033, allocations: 18.25 kB / 0.6301 GB, free: 51.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.145e-05/1.033, allocations: 23.92 kB / 0.6301 GB, free: 51.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01971/1.052, allocations: 15.15 MB / 0.6449 GB, free: 35.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.052, allocations: 8 kB / 0.6449 GB, free: 35.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/1.055, allocations: 0.7449 MB / 0.6457 GB, free: 35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/1.058, allocations: 1.091 MB / 0.6467 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003052/1.058, allocations: 99.97 kB / 0.6468 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/1.068, allocations: 9.276 MB / 0.6559 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.068, allocations: 12.16 kB / 0.6559 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/1.081, allocations: 9.963 MB / 0.6656 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001846/1.083, allocations: 0.9182 MB / 0.6665 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005458/1.083, allocations: 80 kB / 0.6666 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/1.085, allocations: 201.2 kB / 0.6668 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006267/1.086, allocations: 299.4 kB / 0.6671 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/1.086, allocations: 124 kB / 0.6672 GB, free: 12.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002431/1.089, allocations: 1.951 MB / 0.6691 GB, free: 10.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.089, allocations: 4 kB / 0.6691 GB, free: 10.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004519/1.093, allocations: 1.392 MB / 0.6705 GB, free: 9.188 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006423/1.094, allocations: 283 kB / 0.6707 GB, free: 8.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009747/1.104, allocations: 6.7 MB / 0.6773 GB, free: 2.195 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.104, allocations: 4 kB / 0.6773 GB, free: 2.191 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006025/1.11, allocations: 3.536 MB / 0.6807 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005235/1.115, allocations: 0.7888 MB / 0.6815 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03521/1.15, allocations: 17.18 MB / 0.6983 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01045/1.161, allocations: 4.947 MB / 0.7031 GB, free: 7.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002505/1.163, allocations: 350.1 kB / 0.7034 GB, free: 7.23 MB / 478.1 MB Notification: Performance of SimCode: time 1.263e-06/1.163, allocations: 4 kB / 0.7034 GB, free: 7.227 MB / 478.1 MB Notification: Performance of Templates: time 0.3812/1.544, allocations: 174.8 MB / 0.8742 GB, free: 9.055 MB / 478.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)