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.001681/0.001681, allocations: 112 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0021/0.0021, allocations: 215.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 60.14 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2882, allocations: 50.55 MB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02247/0.3107, allocations: 21.54 MB / 431.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.3253, allocations: 6.788 MB / 438.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00505/0.3304, allocations: 147.6 kB / 438.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01594/0.3464, allocations: 6.828 MB / 445.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009418/0.3558, allocations: 2.739 MB / 448 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004708/0.3605, allocations: 1.591 MB / 449.6 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01214/0.3727, allocations: 9.057 MB / 458.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03124/0.4039, allocations: 17.79 MB / 476.5 MB, free: 14.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008192/0.4122, allocations: 4.652 MB / 481.1 MB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009397/0.4216, allocations: 5.171 MB / 486.3 MB, free: 4.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004134/0.4258, allocations: 1.355 MB / 487.6 MB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006689/0.4325, allocations: 1.695 MB / 489.3 MB, free: 1.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00545/0.438, allocations: 2.607 MB / 491.9 MB, free: 15.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0116/0.4496, allocations: 4.958 MB / 496.9 MB, free: 10.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02865/0.4783, allocations: 18.22 MB / 0.503 GB, free: 7.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4784, allocations: 4 kB / 0.503 GB, free: 7.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4784, allocations: 3.938 kB / 0.503 GB, free: 7.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007195/0.4791, allocations: 0 / 0.503 GB, free: 7.988 MB / 430.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.03816/0.5173, allocations: 10.56 MB / 0.5134 GB, free: 13.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.5174, allocations: 8.031 kB / 0.5134 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03647/0.5538, allocations: 5.941 MB / 0.5192 GB, free: 7.371 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/0.5699, allocations: 5.721 MB / 0.5248 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006256/0.5706, allocations: 0.554 MB / 0.5253 GB, free: 1.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00353/0.5742, allocations: 0.7342 MB / 0.526 GB, free: 308 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03562/0.6098, allocations: 12.85 MB / 0.5386 GB, free: 3.383 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001911/0.61, allocations: 19.8 kB / 0.5386 GB, free: 3.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001262/0.6113, allocations: 304 kB / 0.5389 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005103/0.6118, allocations: 496.1 kB / 0.5393 GB, free: 2.578 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3348/0.9466, allocations: 12.58 MB / 0.5516 GB, free: 109.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06074/1.007, allocations: 41.42 MB / 0.5921 GB, free: 74.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/1.022, allocations: 26.23 MB / 0.6177 GB, free: 45.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004473/1.027, allocations: 3.219 MB / 0.6208 GB, free: 42.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/1.027, allocations: 248.9 kB / 0.6211 GB, free: 41.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/1.027, allocations: 81.16 kB / 0.6212 GB, free: 41.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 5.46e-06/1.027, allocations: 0 / 0.6212 GB, free: 41.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=415): time 0.03351/1.061, allocations: 16.99 MB / 0.6378 GB, free: 24.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/1.061, allocations: 90.67 kB / 0.6378 GB, free: 24.72 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003461/1.064, allocations: 2.843 MB / 0.6406 GB, free: 21.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005369/1.065, allocations: 89.7 kB / 0.6407 GB, free: 21.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001222/1.066, allocations: 3.043 MB / 0.6437 GB, free: 18.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.067, allocations: 1.396 MB / 0.645 GB, free: 17.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/1.068, allocations: 0.9461 MB / 0.646 GB, free: 16.37 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.151e-05/1.068, allocations: 312.7 kB / 0.6463 GB, free: 16.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003022/1.071, allocations: 2.505 MB / 0.6487 GB, free: 13.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003577/1.075, allocations: 4.109 MB / 0.6527 GB, free: 8.719 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00706/1.082, allocations: 7.187 MB / 0.6597 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.791e-05/1.082, allocations: 16 kB / 0.6598 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01417/1.096, allocations: 8.02 MB / 0.6676 GB, free: 8.738 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.87e-05/1.096, allocations: 27.94 kB / 0.6676 GB, free: 8.711 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/1.097, allocations: 52 kB / 0.6677 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003784/1.1, allocations: 1.24 MB / 0.6689 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004541/1.105, allocations: 1.123 MB / 0.67 GB, free: 6.293 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01692/1.122, allocations: 11.23 MB / 0.6809 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/1.126, allocations: 275.6 kB / 0.6812 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009596/1.127, allocations: 232 kB / 0.6814 GB, free: 10.3 MB / 494.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.006168/1.133, allocations: 2.956 MB / 0.6843 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/1.134, allocations: 347.8 kB / 0.6846 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/1.148, allocations: 6.706 MB / 0.6912 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.875e-05/1.148, allocations: 44 kB / 0.6912 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.872e-05/1.148, allocations: 8 kB / 0.6912 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.948e-05/1.148, allocations: 23.92 kB / 0.6913 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03016/1.178, allocations: 14.86 MB / 0.7058 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/1.179, allocations: 4 kB / 0.7058 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003152/1.182, allocations: 0.7528 MB / 0.7065 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003419/1.185, allocations: 1.126 MB / 0.7076 GB, free: 15.35 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004032/1.186, allocations: 99.97 kB / 0.7077 GB, free: 15.25 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01573/1.201, allocations: 10.16 MB / 0.7176 GB, free: 4.82 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/1.201, allocations: 4 kB / 0.7176 GB, free: 4.816 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/1.219, allocations: 10.01 MB / 0.7274 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00246/1.222, allocations: 0.9221 MB / 0.7283 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.223, allocations: 80 kB / 0.7284 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/1.225, allocations: 207.8 kB / 0.7286 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007886/1.226, allocations: 303.2 kB / 0.7289 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003697/1.226, allocations: 120 kB / 0.729 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003902/1.23, allocations: 1.955 MB / 0.7309 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/1.23, allocations: 0 / 0.7309 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005624/1.236, allocations: 1.397 MB / 0.7323 GB, free: 5.68 MB / 0.5294 GB 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.000855/1.237, allocations: 272.4 kB / 0.7325 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01339/1.25, allocations: 6.743 MB / 0.7391 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.25, allocations: 0 / 0.7391 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007918/1.258, allocations: 3.547 MB / 0.7426 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007057/1.265, allocations: 0.8407 MB / 0.7434 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2742/1.54, allocations: 13.84 MB / 0.7569 GB, free: 191 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004869/1.545, allocations: 4.944 MB / 0.7617 GB, free: 190.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/1.546, allocations: 343.7 kB / 0.7621 GB, free: 190.1 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/1.546, allocations: 0 / 0.7621 GB, free: 190.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1851/1.731, allocations: 175.5 MB / 0.9335 GB, free: 31.11 MB / 0.545 GB 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)