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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009972/0.0009972, allocations: 103.1 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000908/0.0009081, allocations: 51.92 kB / 356.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1904, allocations: 50.44 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01524/0.2057, allocations: 21.18 MB / 428.3 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.2169, allocations: 6.741 MB / 435 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004096/0.2211, allocations: 139.6 kB / 435.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01468/0.2358, allocations: 6.451 MB / 441.6 MB, free: 9.195 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.2464, allocations: 2.547 MB / 444.1 MB, free: 6.645 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004439/0.2509, allocations: 1.475 MB / 445.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01166/0.2626, allocations: 9.252 MB / 454.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02094/0.2835, allocations: 15 MB / 469.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005194/0.2888, allocations: 3.98 MB / 473.8 MB, free: 8.738 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007296/0.2961, allocations: 4.854 MB / 478.7 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003071/0.2992, allocations: 0.8477 MB / 479.5 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/0.3034, allocations: 1.191 MB / 480.7 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002925/0.3064, allocations: 2.091 MB / 482.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006589/0.313, allocations: 4.427 MB / 487.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01832/0.3314, allocations: 17.79 MB / 0.4932 GB, free: 9.441 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.3314, allocations: 0 / 0.4932 GB, free: 9.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3314, allocations: 0 / 0.4932 GB, free: 9.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004849/0.3319, allocations: 4 kB / 0.4932 GB, free: 9.438 MB / 378.7 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.3299/0.6618, allocations: 10.61 MB / 0.5036 GB, free: 79.44 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.6619, allocations: 8.938 kB / 0.5036 GB, free: 79.44 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03117/0.6931, allocations: 5.893 MB / 0.5093 GB, free: 78.38 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.7043, allocations: 5.577 MB / 0.5148 GB, free: 74.49 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006144/0.7049, allocations: 0.5607 MB / 0.5153 GB, free: 74.24 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002904/0.7078, allocations: 0.7388 MB / 0.5161 GB, free: 74 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02988/0.7377, allocations: 12.85 MB / 0.5286 GB, free: 62.96 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003333/0.7381, allocations: 15.83 kB / 0.5286 GB, free: 62.95 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002255/0.7404, allocations: 315.4 kB / 0.5289 GB, free: 62.65 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000442/0.7408, allocations: 493.2 kB / 0.5294 GB, free: 62.16 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/0.7641, allocations: 12.57 MB / 0.5417 GB, free: 49.58 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06436/0.8285, allocations: 41.85 MB / 0.5825 GB, free: 7.07 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01963/0.8482, allocations: 26.21 MB / 0.6081 GB, free: 9.75 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005283/0.8535, allocations: 3.214 MB / 0.6113 GB, free: 6.531 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005261/0.854, allocations: 258.6 kB / 0.6115 GB, free: 6.254 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.438e-05/0.8542, allocations: 73.78 kB / 0.6116 GB, free: 6.172 MB / 410.8 MB Notification: Performance of pre-optimization done (n=410): time 1.053e-05/0.8542, allocations: 3.984 kB / 0.6116 GB, free: 6.168 MB / 410.8 MB Notification: Performance of matching and sorting (n=415): time 0.03568/0.8899, allocations: 16.8 MB / 0.628 GB, free: 5.27 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.89, allocations: 94.67 kB / 0.6281 GB, free: 5.164 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003753/0.8937, allocations: 2.831 MB / 0.6309 GB, free: 2.32 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004427/0.8942, allocations: 93.7 kB / 0.631 GB, free: 2.223 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001686/0.8959, allocations: 3.042 MB / 0.6339 GB, free: 15.14 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001203/0.8971, allocations: 1.394 MB / 0.6353 GB, free: 13.73 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.8984, allocations: 0.9461 MB / 0.6362 GB, free: 12.77 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.8985, allocations: 301.1 kB / 0.6365 GB, free: 12.48 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003475/0.902, allocations: 2.501 MB / 0.6389 GB, free: 9.969 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004379/0.9064, allocations: 4.103 MB / 0.6429 GB, free: 5.152 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008561/0.915, allocations: 7.175 MB / 0.65 GB, free: 13.25 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.671e-05/0.915, allocations: 12 kB / 0.65 GB, free: 13.24 MB / 458.8 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01397/0.929, allocations: 7.989 MB / 0.6578 GB, free: 5.219 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.9291, allocations: 31.98 kB / 0.6578 GB, free: 5.188 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.771e-05/0.9292, allocations: 56 kB / 0.6578 GB, free: 5.133 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003221/0.9324, allocations: 1.193 MB / 0.659 GB, free: 3.934 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004264/0.9367, allocations: 1.131 MB / 0.6601 GB, free: 2.801 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/0.9505, allocations: 10.34 MB / 0.6702 GB, free: 8.176 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004128/0.9547, allocations: 267.8 kB / 0.6705 GB, free: 7.914 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005579/0.9553, allocations: 232 kB / 0.6707 GB, free: 7.688 MB / 474.8 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.004495/0.9598, allocations: 2.953 MB / 0.6736 GB, free: 4.723 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007536/0.9605, allocations: 351.7 kB / 0.6739 GB, free: 4.375 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2082/1.169, allocations: 6.669 MB / 0.6804 GB, free: 159.2 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/1.169, allocations: 41.94 kB / 0.6805 GB, free: 159.2 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/1.169, allocations: 11.44 kB / 0.6805 GB, free: 159.2 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.63e-05/1.169, allocations: 21.33 kB / 0.6805 GB, free: 159.2 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02346/1.192, allocations: 15.15 MB / 0.6953 GB, free: 153.6 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/1.192, allocations: 3.688 kB / 0.6953 GB, free: 153.6 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/1.195, allocations: 0.7495 MB / 0.696 GB, free: 153.5 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003015/1.199, allocations: 1.1 MB / 0.6971 GB, free: 153.3 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005823/1.199, allocations: 87.12 kB / 0.6972 GB, free: 153.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/1.21, allocations: 9.289 MB / 0.7063 GB, free: 147.6 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.21, allocations: 14.94 kB / 0.7063 GB, free: 147.6 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05183/1.262, allocations: 36.07 MB / 0.7415 GB, free: 115.8 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/1.264, allocations: 0.9184 MB / 0.7424 GB, free: 114.9 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006452/1.265, allocations: 80.84 kB / 0.7425 GB, free: 114.8 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/1.267, allocations: 207.9 kB / 0.7427 GB, free: 114.6 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006744/1.268, allocations: 299.2 kB / 0.7429 GB, free: 114.3 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/1.268, allocations: 120 kB / 0.7431 GB, free: 114.2 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002504/1.27, allocations: 1.955 MB / 0.745 GB, free: 112.2 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.91e-07/1.27, allocations: 4 kB / 0.745 GB, free: 112.2 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005516/1.276, allocations: 1.672 MB / 0.7466 GB, free: 110.5 MB / 474.8 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.0006925/1.277, allocations: 274.4 kB / 0.7469 GB, free: 110.3 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.009763/1.286, allocations: 6.69 MB / 0.7534 GB, free: 103.6 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.286, allocations: 4.812 kB / 0.7534 GB, free: 103.6 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00501/1.291, allocations: 3.541 MB / 0.7569 GB, free: 100 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/1.295, allocations: 0.7947 MB / 0.7576 GB, free: 99.23 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02608/1.321, allocations: 20.74 MB / 0.7779 GB, free: 78.36 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005878/1.327, allocations: 5.218 MB / 0.783 GB, free: 73.09 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.004524/1.332, allocations: 1.61 MB / 0.7846 GB, free: 71.48 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.333, allocations: 323.4 kB / 0.7849 GB, free: 71.16 MB / 474.8 MB Notification: Performance of SimCode: time 1.493e-06/1.333, allocations: 0 / 0.7849 GB, free: 71.16 MB / 474.8 MB Notification: Performance of Templates: time 0.2944/1.627, allocations: 68.46 MB / 0.8517 GB, free: 146.6 MB / 474.8 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)