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.001032/0.001032, allocations: 97.11 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 206.6 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.7 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002063/0.0002064, allocations: 11.98 kB / 307.8 MB, free: 0.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/0.08389, allocations: 51.52 MB / 359.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1831/0.267, allocations: 20.23 MB / 379.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.28, allocations: 6.671 MB / 386.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004551/0.2845, allocations: 137.4 kB / 386.3 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005183/0.2897, allocations: 1.542 MB / 387.9 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008744/0.2985, allocations: 2.522 MB / 390.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003989/0.3025, allocations: 1.367 MB / 391.8 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.3145, allocations: 9.126 MB / 400.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02958/0.3441, allocations: 17.9 MB / 418.8 MB, free: 268 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006237/0.3504, allocations: 3.301 MB / 422.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006371/0.3568, allocations: 4 MB / 426.1 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001755/0.3586, allocations: 0.5195 MB / 426.6 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.3622, allocations: 0.8629 MB / 427.5 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002226/0.3644, allocations: 1.635 MB / 429.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006984/0.3714, allocations: 3.909 MB / 433 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01656/0.388, allocations: 17.13 MB / 450.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.388, allocations: 4 kB / 450.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.92e-06/0.3881, allocations: 4 kB / 450.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005548/0.3886, allocations: 0 / 450.2 MB, free: 0.7773 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.02524/0.4139, allocations: 8.928 MB / 459.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4139, allocations: 8.031 kB / 459.1 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03292/0.4468, allocations: 5.918 MB / 465 MB, free: 1.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.4576, allocations: 5.608 MB / 470.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005401/0.4582, allocations: 0.5656 MB / 471.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002413/0.4606, allocations: 0.7381 MB / 471.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0265/0.4871, allocations: 12.86 MB / 484.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002092/0.4873, allocations: 11.91 kB / 484.8 MB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/0.4887, allocations: 308 kB / 485.1 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004365/0.4892, allocations: 496.1 kB / 485.6 MB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02231/0.5115, allocations: 12.59 MB / 498.2 MB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0674/0.5789, allocations: 41.98 MB / 0.5275 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.209/0.788, allocations: 26.21 MB / 0.5531 GB, free: 106.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006042/0.7941, allocations: 3.231 MB / 0.5562 GB, free: 106 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005018/0.7946, allocations: 247.4 kB / 0.5565 GB, free: 105.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.929e-05/0.7947, allocations: 76.7 kB / 0.5565 GB, free: 105.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 7.203e-06/0.7947, allocations: 0 / 0.5565 GB, free: 105.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.0385/0.8332, allocations: 16.89 MB / 0.573 GB, free: 99.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.8333, allocations: 94.08 kB / 0.5731 GB, free: 99.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00491/0.8382, allocations: 2.839 MB / 0.5759 GB, free: 98.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.8385, allocations: 89.45 kB / 0.576 GB, free: 98.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.8399, allocations: 3.038 MB / 0.579 GB, free: 96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00092/0.8408, allocations: 1.393 MB / 0.5803 GB, free: 94.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005243/0.8414, allocations: 409.8 kB / 0.5807 GB, free: 94.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.8414, allocations: 308.9 kB / 0.581 GB, free: 94.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/0.8448, allocations: 2.504 MB / 0.5834 GB, free: 93.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003826/0.8486, allocations: 4.119 MB / 0.5875 GB, free: 90.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007519/0.8561, allocations: 7.188 MB / 0.5945 GB, free: 85.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.455e-05/0.8562, allocations: 14.62 kB / 0.5945 GB, free: 85.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01199/0.8682, allocations: 8.015 MB / 0.6023 GB, free: 80.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.8683, allocations: 28 kB / 0.6024 GB, free: 80.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.004e-05/0.8683, allocations: 50 kB / 0.6024 GB, free: 80.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/0.8715, allocations: 1.199 MB / 0.6036 GB, free: 79.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003724/0.8753, allocations: 1.131 MB / 0.6047 GB, free: 78.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.8874, allocations: 10.35 MB / 0.6148 GB, free: 67.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00339/0.8908, allocations: 271.5 kB / 0.615 GB, free: 67.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006561/0.8915, allocations: 236.1 kB / 0.6153 GB, free: 67.41 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.005093/0.8966, allocations: 2.959 MB / 0.6182 GB, free: 64.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009296/0.8975, allocations: 347.8 kB / 0.6185 GB, free: 64.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.9085, allocations: 6.686 MB / 0.625 GB, free: 57.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.9085, allocations: 40 kB / 0.6251 GB, free: 57.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.9086, allocations: 16 kB / 0.6251 GB, free: 57.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.331e-05/0.9086, allocations: 19.92 kB / 0.6251 GB, free: 57.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/0.9297, allocations: 15.19 MB / 0.6399 GB, free: 41.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.9298, allocations: 4 kB / 0.6399 GB, free: 41.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002772/0.9325, allocations: 0.7489 MB / 0.6407 GB, free: 41.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002771/0.9353, allocations: 1.091 MB / 0.6417 GB, free: 40.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002737/0.9356, allocations: 99.98 kB / 0.6418 GB, free: 40.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/0.9463, allocations: 9.296 MB / 0.6509 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.9463, allocations: 11.94 kB / 0.6509 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/0.9595, allocations: 9.982 MB / 0.6607 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001845/0.9614, allocations: 0.9298 MB / 0.6616 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007097/0.9621, allocations: 79.98 kB / 0.6616 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/0.9647, allocations: 211.8 kB / 0.6618 GB, free: 19.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007566/0.9655, allocations: 299.2 kB / 0.6621 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/0.9657, allocations: 124 kB / 0.6622 GB, free: 18.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003391/0.9691, allocations: 1.955 MB / 0.6642 GB, free: 16.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9691, allocations: 4 kB / 0.6642 GB, free: 16.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00439/0.9735, allocations: 1.392 MB / 0.6655 GB, free: 15.33 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.0005758/0.9741, allocations: 272.8 kB / 0.6658 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0094/0.9835, allocations: 6.719 MB / 0.6723 GB, free: 8.324 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.9836, allocations: 4 kB / 0.6723 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005242/0.9888, allocations: 3.549 MB / 0.6758 GB, free: 4.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00546/0.9943, allocations: 0.7967 MB / 0.6766 GB, free: 3.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02524/1.02, allocations: 17.46 MB / 0.6936 GB, free: 2.398 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006955/1.027, allocations: 5.084 MB / 0.6986 GB, free: 13.26 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005168/1.032, allocations: 1.606 MB / 0.7002 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/1.033, allocations: 315.4 kB / 0.7005 GB, free: 11.34 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/1.033, allocations: 0 / 0.7005 GB, free: 11.34 MB / 478.1 MB Notification: Performance of Templates: time 0.2795/1.312, allocations: 59.12 MB / 0.7582 GB, free: 127.7 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)