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.0008974/0.0008974, allocations: 97.22 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.7 MB / 247.5 MB, free: 9.473 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.000291, allocations: 8 kB / 308.4 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1109, allocations: 51.52 MB / 359.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2151/0.3261, allocations: 20.23 MB / 380.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.34, allocations: 6.666 MB / 386.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00538/0.3454, allocations: 134.1 kB / 387 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005523/0.351, allocations: 1.55 MB / 388.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.3614, allocations: 2.524 MB / 391 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004983/0.3664, allocations: 1.382 MB / 392.4 MB, free: 3.883 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01465/0.381, allocations: 9.122 MB / 401.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03079/0.4119, allocations: 17.91 MB / 419.4 MB, free: 152 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007032/0.4189, allocations: 3.297 MB / 422.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007648/0.4266, allocations: 4 MB / 426.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002569/0.4292, allocations: 0.5195 MB / 427.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/0.4338, allocations: 0.859 MB / 428.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003366/0.4372, allocations: 1.642 MB / 429.8 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009813/0.447, allocations: 3.905 MB / 433.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01761/0.4646, allocations: 15.47 MB / 449.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4647, allocations: 0 / 449.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4647, allocations: 0 / 449.1 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005166/0.4652, allocations: 0 / 449.1 MB, free: 2.348 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.02746/0.4927, allocations: 8.925 MB / 458.1 MB, free: 9.332 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.4928, allocations: 8.031 kB / 458.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03386/0.5266, allocations: 5.918 MB / 464 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01278/0.5395, allocations: 5.608 MB / 469.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007152/0.5402, allocations: 0.5619 MB / 470.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003125/0.5434, allocations: 0.7381 MB / 470.9 MB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/0.5752, allocations: 12.86 MB / 483.8 MB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003623/0.5756, allocations: 15.84 kB / 483.8 MB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00233/0.578, allocations: 312 kB / 484.1 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000612/0.5786, allocations: 492.1 kB / 484.6 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02717/0.6058, allocations: 12.58 MB / 497.1 MB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07469/0.6805, allocations: 41.97 MB / 0.5265 GB, free: 7.125 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2225/0.9031, allocations: 26.22 MB / 0.5521 GB, free: 105.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007058/0.9102, allocations: 3.235 MB / 0.5552 GB, free: 105.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005391/0.9108, allocations: 250.3 kB / 0.5555 GB, free: 104.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.047e-05/0.9108, allocations: 74.56 kB / 0.5555 GB, free: 104.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.672e-06/0.9109, allocations: 1.375 kB / 0.5555 GB, free: 104.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.04248/0.9533, allocations: 16.88 MB / 0.572 GB, free: 98.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.9534, allocations: 94.23 kB / 0.5721 GB, free: 98.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00421/0.9577, allocations: 2.838 MB / 0.5749 GB, free: 97.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005875/0.9583, allocations: 93.89 kB / 0.575 GB, free: 97.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001662/0.9599, allocations: 3.037 MB / 0.578 GB, free: 95.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001162/0.9611, allocations: 1.405 MB / 0.5793 GB, free: 94.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004754/0.9616, allocations: 405.4 kB / 0.5797 GB, free: 93.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.9616, allocations: 305.1 kB / 0.58 GB, free: 93.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003435/0.9651, allocations: 2.502 MB / 0.5824 GB, free: 92.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003887/0.969, allocations: 4.117 MB / 0.5865 GB, free: 89.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007481/0.9765, allocations: 7.191 MB / 0.5935 GB, free: 85.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.511e-05/0.9765, allocations: 15.69 kB / 0.5935 GB, free: 85.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01206/0.9886, allocations: 8.013 MB / 0.6013 GB, free: 81.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.9887, allocations: 26.41 kB / 0.6014 GB, free: 81.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.217e-05/0.9888, allocations: 50.06 kB / 0.6014 GB, free: 81.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/0.9918, allocations: 1.193 MB / 0.6026 GB, free: 80.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003887/0.9957, allocations: 1.136 MB / 0.6037 GB, free: 80.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/1.008, allocations: 10.36 MB / 0.6138 GB, free: 69.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/1.011, allocations: 267.7 kB / 0.614 GB, free: 69.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004752/1.012, allocations: 228 kB / 0.6143 GB, free: 68.96 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.004449/1.016, allocations: 2.963 MB / 0.6172 GB, free: 65.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000747/1.017, allocations: 347.8 kB / 0.6175 GB, free: 65.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.027, allocations: 6.691 MB / 0.624 GB, free: 58.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/1.027, allocations: 48 kB / 0.6241 GB, free: 58.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.027, allocations: 8 kB / 0.6241 GB, free: 58.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.485e-05/1.027, allocations: 23.77 kB / 0.6241 GB, free: 58.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02064/1.048, allocations: 15.18 MB / 0.6389 GB, free: 43.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/1.048, allocations: 4 kB / 0.6389 GB, free: 43.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/1.051, allocations: 0.7527 MB / 0.6397 GB, free: 42.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/1.054, allocations: 1.095 MB / 0.6407 GB, free: 41.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/1.054, allocations: 91.98 kB / 0.6408 GB, free: 41.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/1.065, allocations: 9.295 MB / 0.6499 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.065, allocations: 8 kB / 0.6499 GB, free: 32.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/1.078, allocations: 9.991 MB / 0.6597 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/1.08, allocations: 0.9298 MB / 0.6606 GB, free: 20.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/1.081, allocations: 80 kB / 0.6606 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/1.083, allocations: 215.8 kB / 0.6608 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006247/1.083, allocations: 295.3 kB / 0.6611 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002166/1.084, allocations: 120 kB / 0.6612 GB, free: 20.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002594/1.086, allocations: 1.955 MB / 0.6632 GB, free: 18.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.086, allocations: 0 / 0.6632 GB, free: 18.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004579/1.091, allocations: 1.393 MB / 0.6645 GB, free: 16.89 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.000603/1.091, allocations: 274.4 kB / 0.6648 GB, free: 16.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009778/1.101, allocations: 6.721 MB / 0.6713 GB, free: 9.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.101, allocations: 0 / 0.6713 GB, free: 9.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005199/1.106, allocations: 3.547 MB / 0.6748 GB, free: 6.305 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005812/1.112, allocations: 0.8015 MB / 0.6756 GB, free: 5.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/1.138, allocations: 17.27 MB / 0.6925 GB, free: 4.141 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005276/1.143, allocations: 4.942 MB / 0.6973 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00168/1.145, allocations: 351.4 kB / 0.6976 GB, free: 14.82 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/1.145, allocations: 0 / 0.6976 GB, free: 14.82 MB / 478.1 MB Notification: Performance of Templates: time 0.4265/1.571, allocations: 173.8 MB / 0.8673 GB, free: 14.5 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)