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.001211/0.001211, allocations: 117.3 kB / 17.98 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 201.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 60.22 kB / 307.1 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.121, allocations: 50.53 MB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1975/0.3185, allocations: 21.2 MB / 378.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.332, allocations: 6.693 MB / 385.6 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005223/0.3373, allocations: 142.2 kB / 385.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01506/0.3524, allocations: 6.463 MB / 392.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008922/0.3613, allocations: 2.506 MB / 394.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004471/0.3658, allocations: 1.468 MB / 396.1 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01389/0.3797, allocations: 9.088 MB / 405.2 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03498/0.4147, allocations: 20.32 MB / 425.5 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007967/0.4227, allocations: 4.664 MB / 430.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008057/0.4308, allocations: 5.206 MB / 435.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003751/0.4346, allocations: 1.359 MB / 436.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005986/0.4406, allocations: 1.695 MB / 438.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004232/0.4449, allocations: 2.623 MB / 441.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01148/0.4564, allocations: 4.962 MB / 446.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01709/0.4735, allocations: 16 MB / 462.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4735, allocations: 0 / 462.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4736, allocations: 0 / 462.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004686/0.474, allocations: 0 / 462.1 MB, free: 4.219 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.03304/0.5071, allocations: 10.63 MB / 472.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.5072, allocations: 8.031 kB / 472.7 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03287/0.5401, allocations: 5.891 MB / 478.6 MB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.5516, allocations: 5.581 MB / 484.2 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005993/0.5522, allocations: 0.558 MB / 484.7 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003116/0.5554, allocations: 0.7419 MB / 485.5 MB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03188/0.5873, allocations: 12.85 MB / 498.3 MB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003816/0.5877, allocations: 15.89 kB / 498.3 MB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002716/0.5904, allocations: 316 kB / 498.6 MB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005798/0.591, allocations: 492.1 kB / 499.1 MB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0285/0.6195, allocations: 12.57 MB / 0.4997 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4178/1.037, allocations: 41.85 MB / 0.5406 GB, free: 114.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/1.056, allocations: 26.22 MB / 0.5662 GB, free: 92.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005631/1.062, allocations: 3.21 MB / 0.5693 GB, free: 92.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005275/1.063, allocations: 249.9 kB / 0.5695 GB, free: 92.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.147e-05/1.063, allocations: 77.31 kB / 0.5696 GB, free: 92.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.903e-06/1.063, allocations: 0 / 0.5696 GB, free: 92.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03892/1.102, allocations: 16.8 MB / 0.586 GB, free: 87.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/1.102, allocations: 99.48 kB / 0.5861 GB, free: 87.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004962/1.107, allocations: 2.839 MB / 0.5889 GB, free: 86.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005564/1.107, allocations: 94.88 kB / 0.589 GB, free: 86.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/1.109, allocations: 3.041 MB / 0.5919 GB, free: 83.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001427/1.111, allocations: 1.391 MB / 0.5933 GB, free: 82.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002123/1.113, allocations: 0.9376 MB / 0.5942 GB, free: 82.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.26e-05/1.113, allocations: 305.1 kB / 0.5945 GB, free: 81.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00364/1.116, allocations: 2.505 MB / 0.597 GB, free: 80.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00445/1.121, allocations: 4.103 MB / 0.601 GB, free: 77.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008391/1.129, allocations: 7.181 MB / 0.608 GB, free: 72.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.383e-05/1.129, allocations: 11.78 kB / 0.608 GB, free: 72.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01357/1.143, allocations: 7.994 MB / 0.6158 GB, free: 65.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/1.143, allocations: 28 kB / 0.6158 GB, free: 65.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.799e-05/1.143, allocations: 48 kB / 0.6159 GB, free: 65.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00307/1.146, allocations: 1.204 MB / 0.617 GB, free: 64.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004107/1.15, allocations: 1.135 MB / 0.6181 GB, free: 63.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/1.164, allocations: 11.12 MB / 0.629 GB, free: 51.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/1.168, allocations: 263.6 kB / 0.6293 GB, free: 51.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/1.169, allocations: 236 kB / 0.6295 GB, free: 51.47 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.005671/1.175, allocations: 2.944 MB / 0.6324 GB, free: 48.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/1.176, allocations: 347.8 kB / 0.6327 GB, free: 48.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/1.189, allocations: 6.678 MB / 0.6392 GB, free: 41.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/1.189, allocations: 44 kB / 0.6393 GB, free: 41.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.283e-05/1.189, allocations: 12 kB / 0.6393 GB, free: 41.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.869e-05/1.189, allocations: 19.92 kB / 0.6393 GB, free: 41.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02914/1.219, allocations: 15.14 MB / 0.6541 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-05/1.219, allocations: 11.88 kB / 0.6541 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/1.222, allocations: 0.7568 MB / 0.6548 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/1.225, allocations: 1.099 MB / 0.6559 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006128/1.225, allocations: 91.97 kB / 0.656 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/1.237, allocations: 10.06 MB / 0.6658 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.237, allocations: 4 kB / 0.6658 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/1.255, allocations: 9.967 MB / 0.6755 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0033/1.259, allocations: 0.9143 MB / 0.6764 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001658/1.26, allocations: 87.94 kB / 0.6765 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002835/1.263, allocations: 207.8 kB / 0.6767 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/1.264, allocations: 291.3 kB / 0.677 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005198/1.265, allocations: 124 kB / 0.6771 GB, free: 2.078 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004345/1.269, allocations: 1.955 MB / 0.679 GB, free: 120 kB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/1.269, allocations: 0 / 0.679 GB, free: 120 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.006845/1.276, allocations: 1.397 MB / 0.6804 GB, free: 14.71 MB / 462.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.0009548/1.277, allocations: 269.7 kB / 0.6806 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.03345/1.311, allocations: 13.54 MB / 0.6939 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/1.311, allocations: 4.062 kB / 0.6939 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007584/1.318, allocations: 3.532 MB / 0.6973 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006329/1.325, allocations: 0.8434 MB / 0.6981 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2665/1.591, allocations: 17.18 MB / 0.7149 GB, free: 148.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009708/1.601, allocations: 4.944 MB / 0.7197 GB, free: 147.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003102/1.604, allocations: 347.1 kB / 0.7201 GB, free: 147.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.974e-06/1.604, allocations: 3.375 kB / 0.7201 GB, free: 147.4 MB / 478.1 MB Notification: Performance of Templates: time 0.4458/2.05, allocations: 174.8 MB / 0.8908 GB, free: 145.3 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)