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.001383/0.001383, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001607/0.001607, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 59.69 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.09192, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1802/0.2721, allocations: 21.54 MB / 380.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.2842, allocations: 6.791 MB / 387.3 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003774/0.288, allocations: 147.9 kB / 387.4 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01427/0.3023, allocations: 6.833 MB / 394.2 MB, free: 2.148 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00841/0.3107, allocations: 2.748 MB / 397 MB, free: 452 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003944/0.3147, allocations: 1.575 MB / 398.6 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01176/0.3265, allocations: 9.061 MB / 407.6 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02121/0.3477, allocations: 17.81 MB / 425.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007032/0.3548, allocations: 4.641 MB / 430.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008799/0.3636, allocations: 5.167 MB / 435.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00335/0.367, allocations: 1.359 MB / 436.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006722/0.3737, allocations: 1.691 MB / 438.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005042/0.3788, allocations: 2.603 MB / 440.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01164/0.3905, allocations: 4.958 MB / 445.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02993/0.4205, allocations: 18.21 MB / 464.1 MB, free: 2.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4205, allocations: 0 / 464.1 MB, free: 2.512 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4205, allocations: 4 kB / 464.1 MB, free: 2.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003566/0.4209, allocations: 0 / 464.1 MB, free: 2.508 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.05013/0.4711, allocations: 10.57 MB / 474.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4711, allocations: 8.031 kB / 474.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03347/0.5046, allocations: 5.937 MB / 480.6 MB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/0.5188, allocations: 5.713 MB / 486.3 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/0.5193, allocations: 0.554 MB / 486.9 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002477/0.5218, allocations: 0.7303 MB / 487.6 MB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02557/0.5474, allocations: 12.86 MB / 0.4887 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002262/0.5476, allocations: 11.91 kB / 0.4887 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001657/0.5493, allocations: 304 kB / 0.489 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004853/0.5498, allocations: 496.1 kB / 0.4895 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02346/0.5733, allocations: 12.59 MB / 0.5018 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2457/0.819, allocations: 41.41 MB / 0.5422 GB, free: 114.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/0.8357, allocations: 26.25 MB / 0.5679 GB, free: 92.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00461/0.8404, allocations: 3.22 MB / 0.571 GB, free: 92.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/0.8407, allocations: 247.1 kB / 0.5712 GB, free: 92.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.8408, allocations: 77.5 kB / 0.5713 GB, free: 92.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.242e-06/0.8408, allocations: 3.938 kB / 0.5713 GB, free: 92.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.0306/0.8714, allocations: 16.98 MB / 0.5879 GB, free: 86.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.8715, allocations: 95.38 kB / 0.588 GB, free: 86.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/0.8746, allocations: 2.832 MB / 0.5908 GB, free: 85.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002202/0.8749, allocations: 100.3 kB / 0.5909 GB, free: 85.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.876, allocations: 3.037 MB / 0.5938 GB, free: 82.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006713/0.8766, allocations: 1.397 MB / 0.5952 GB, free: 81.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.8778, allocations: 0.9448 MB / 0.5961 GB, free: 81.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.551e-05/0.8778, allocations: 316.3 kB / 0.5964 GB, free: 81.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/0.8807, allocations: 2.504 MB / 0.5989 GB, free: 79.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003437/0.8842, allocations: 4.111 MB / 0.6029 GB, free: 76.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006701/0.8909, allocations: 7.189 MB / 0.6099 GB, free: 70.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-05/0.8909, allocations: 12.47 kB / 0.6099 GB, free: 70.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01063/0.9016, allocations: 8.02 MB / 0.6177 GB, free: 63.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.9016, allocations: 28 kB / 0.6178 GB, free: 63.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-05/0.9017, allocations: 51.98 kB / 0.6178 GB, free: 63.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002965/0.9046, allocations: 1.236 MB / 0.619 GB, free: 62.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00345/0.9081, allocations: 1.131 MB / 0.6201 GB, free: 61.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/0.9205, allocations: 11.24 MB / 0.6311 GB, free: 49.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/0.9238, allocations: 275.7 kB / 0.6314 GB, free: 49.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/0.9242, allocations: 228 kB / 0.6316 GB, free: 49.39 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.003597/0.9278, allocations: 2.951 MB / 0.6345 GB, free: 46.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005918/0.9284, allocations: 351.7 kB / 0.6348 GB, free: 46.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009573/0.938, allocations: 6.706 MB / 0.6413 GB, free: 39.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.938, allocations: 44 kB / 0.6414 GB, free: 39.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.938, allocations: 8 kB / 0.6414 GB, free: 39.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.158e-05/0.9381, allocations: 19.92 kB / 0.6414 GB, free: 39.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/0.9582, allocations: 14.88 MB / 0.6559 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.9583, allocations: 4 kB / 0.6559 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/0.961, allocations: 0.7529 MB / 0.6567 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002809/0.9639, allocations: 1.122 MB / 0.6578 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002937/0.9642, allocations: 95.95 kB / 0.6579 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.975, allocations: 10.16 MB / 0.6678 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.975, allocations: 11.94 kB / 0.6678 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/0.9874, allocations: 10 MB / 0.6776 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/0.9895, allocations: 0.9259 MB / 0.6785 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004527/0.99, allocations: 87.94 kB / 0.6786 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/0.9918, allocations: 207.8 kB / 0.6788 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005415/0.9923, allocations: 299.2 kB / 0.679 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/0.9926, allocations: 124 kB / 0.6792 GB, free: 128 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00276/0.9953, allocations: 1.954 MB / 0.6811 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9953, allocations: 0 / 0.6811 GB, free: 14.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004065/0.9994, allocations: 1.393 MB / 0.6824 GB, free: 12.77 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.0005202/0.9999, allocations: 261.1 kB / 0.6827 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01121/1.011, allocations: 6.74 MB / 0.6893 GB, free: 5.758 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.011, allocations: 8.25 kB / 0.6893 GB, free: 5.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006039/1.017, allocations: 3.556 MB / 0.6927 GB, free: 2.172 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003645/1.021, allocations: 0.8314 MB / 0.6936 GB, free: 1.367 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/1.044, allocations: 14.03 MB / 0.7073 GB, free: 3.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1704/1.214, allocations: 5.078 MB / 0.7122 GB, free: 148.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00459/1.219, allocations: 1.613 MB / 0.7138 GB, free: 148.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009466/1.22, allocations: 311.3 kB / 0.7141 GB, free: 148.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/1.22, allocations: 0 / 0.7141 GB, free: 148.1 MB / 478.1 MB Notification: Performance of Templates: time 0.08144/1.301, allocations: 58.14 MB / 0.7709 GB, free: 116 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 -s gbode -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)