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.002056/0.002057, allocations: 118.5 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001835/0.001834, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.164/2.164, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002559/0.002559, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7586/0.7611, allocations: 50.55 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0307/0.7919, allocations: 21.55 MB / 431.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.8085, allocations: 6.784 MB / 438.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005047/0.8136, allocations: 143.6 kB / 438.4 MB, free: 5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01623/0.8298, allocations: 6.831 MB / 445.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009367/0.8392, allocations: 2.751 MB / 448 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004865/0.8441, allocations: 1.577 MB / 449.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01415/0.8583, allocations: 9.069 MB / 458.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02715/0.8855, allocations: 17.79 MB / 476.4 MB, free: 14.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007368/0.8929, allocations: 4.656 MB / 481.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008647/0.9015, allocations: 5.167 MB / 486.3 MB, free: 4.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003846/0.9054, allocations: 1.355 MB / 487.6 MB, free: 3.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005753/0.9112, allocations: 1.691 MB / 489.3 MB, free: 1.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00655/0.9178, allocations: 2.611 MB / 491.9 MB, free: 15.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01024/0.928, allocations: 4.962 MB / 496.9 MB, free: 10.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02217/0.9502, allocations: 18.21 MB / 0.503 GB, free: 8.016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.9503, allocations: 0 / 0.503 GB, free: 8.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.9503, allocations: 0 / 0.503 GB, free: 8.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005195/0.9508, allocations: 4 kB / 0.503 GB, free: 8.012 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.03755/0.9884, allocations: 10.56 MB / 0.5134 GB, free: 13.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.9885, allocations: 11.97 kB / 0.5134 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0376/1.026, allocations: 5.949 MB / 0.5192 GB, free: 7.387 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01551/1.042, allocations: 5.713 MB / 0.5248 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007009/1.042, allocations: 0.554 MB / 0.5253 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003792/1.046, allocations: 0.7342 MB / 0.526 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03815/1.084, allocations: 12.86 MB / 0.5386 GB, free: 3.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004591/1.085, allocations: 11.81 kB / 0.5386 GB, free: 3.387 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003377/1.088, allocations: 312 kB / 0.5389 GB, free: 3.082 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007198/1.089, allocations: 492.1 kB / 0.5393 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3317/1.421, allocations: 12.59 MB / 0.5516 GB, free: 109.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07574/1.497, allocations: 41.42 MB / 0.5921 GB, free: 74.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/1.515, allocations: 26.23 MB / 0.6177 GB, free: 45.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005267/1.52, allocations: 3.217 MB / 0.6208 GB, free: 42.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005842/1.52, allocations: 248.9 kB / 0.6211 GB, free: 41.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.222e-05/1.521, allocations: 81.77 kB / 0.6212 GB, free: 41.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=410): time 7.333e-06/1.521, allocations: 0 / 0.6212 GB, free: 41.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=415): time 0.03928/1.56, allocations: 16.99 MB / 0.6378 GB, free: 24.83 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/1.56, allocations: 94.67 kB / 0.6378 GB, free: 24.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00507/1.565, allocations: 2.843 MB / 0.6406 GB, free: 21.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000644/1.566, allocations: 93.7 kB / 0.6407 GB, free: 21.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001699/1.567, allocations: 3.039 MB / 0.6437 GB, free: 18.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001501/1.569, allocations: 1.396 MB / 0.645 GB, free: 17.33 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002553/1.572, allocations: 0.9422 MB / 0.646 GB, free: 16.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.054e-05/1.572, allocations: 308.8 kB / 0.6463 GB, free: 16.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003745/1.575, allocations: 2.505 MB / 0.6487 GB, free: 13.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004674/1.58, allocations: 4.105 MB / 0.6527 GB, free: 8.742 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00877/1.589, allocations: 7.195 MB / 0.6597 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.006e-05/1.589, allocations: 16 kB / 0.6598 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01636/1.605, allocations: 8.024 MB / 0.6676 GB, free: 8.754 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.35e-05/1.605, allocations: 28.81 kB / 0.6676 GB, free: 8.727 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.411e-05/1.605, allocations: 52 kB / 0.6677 GB, free: 8.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003608/1.609, allocations: 1.231 MB / 0.6689 GB, free: 7.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/1.614, allocations: 1.131 MB / 0.67 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/1.63, allocations: 11.23 MB / 0.6809 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/1.634, allocations: 271.7 kB / 0.6812 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000989/1.635, allocations: 232 kB / 0.6814 GB, free: 10.31 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.006373/1.641, allocations: 2.959 MB / 0.6843 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.643, allocations: 347.8 kB / 0.6846 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/1.658, allocations: 6.698 MB / 0.6912 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-05/1.658, allocations: 40 kB / 0.6912 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.27e-05/1.658, allocations: 12 kB / 0.6912 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.519e-05/1.658, allocations: 23.91 kB / 0.6913 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03058/1.688, allocations: 14.87 MB / 0.7058 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/1.689, allocations: 8 kB / 0.7058 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00319/1.692, allocations: 0.7489 MB / 0.7065 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003403/1.695, allocations: 1.122 MB / 0.7076 GB, free: 15.36 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004618/1.696, allocations: 99.97 kB / 0.7077 GB, free: 15.27 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/1.715, allocations: 10.16 MB / 0.7176 GB, free: 4.836 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.715, allocations: 11.94 kB / 0.7176 GB, free: 4.824 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01756/1.732, allocations: 10 MB / 0.7274 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/1.735, allocations: 0.9221 MB / 0.7283 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008858/1.736, allocations: 84 kB / 0.7284 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/1.739, allocations: 203.8 kB / 0.7286 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009527/1.74, allocations: 307.2 kB / 0.7289 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003709/1.74, allocations: 120 kB / 0.729 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006076/1.746, allocations: 1.963 MB / 0.7309 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.31e-07/1.746, allocations: 0 / 0.7309 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01125/1.757, allocations: 1.385 MB / 0.7323 GB, free: 5.695 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.001764/1.759, allocations: 271.6 kB / 0.7325 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02316/1.782, allocations: 6.745 MB / 0.7391 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.082e-05/1.782, allocations: 0 / 0.7391 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01472/1.797, allocations: 3.549 MB / 0.7426 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01237/1.81, allocations: 0.8382 MB / 0.7434 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.41/2.22, allocations: 13.84 MB / 0.7569 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004961/2.225, allocations: 4.944 MB / 0.7617 GB, free: 190 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/2.227, allocations: 344 kB / 0.7621 GB, free: 190 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/2.227, allocations: 0 / 0.7621 GB, free: 190 MB / 0.545 GB Notification: Performance of Templates: time 0.2862/2.513, allocations: 176.5 MB / 0.9344 GB, free: 30.18 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)