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.001301/0.001301, allocations: 117.9 kB / 17.33 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 209.8 kB / 18.27 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.5 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003022/0.003022, allocations: 58.62 kB / 306.5 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1182, allocations: 50.54 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1638/0.282, allocations: 21.19 MB / 378.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.2923, allocations: 6.695 MB / 385 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.2955, allocations: 142.3 kB / 385.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01398/0.3095, allocations: 6.464 MB / 391.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00845/0.3179, allocations: 2.517 MB / 394.1 MB, free: 1.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.3216, allocations: 1.47 MB / 395.5 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01127/0.3328, allocations: 9.073 MB / 404.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02874/0.3616, allocations: 20.33 MB / 425 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007149/0.3688, allocations: 4.66 MB / 429.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00738/0.3762, allocations: 5.206 MB / 434.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002692/0.3789, allocations: 1.355 MB / 436.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004215/0.3831, allocations: 1.711 MB / 437.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002993/0.3861, allocations: 2.611 MB / 440.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007722/0.3939, allocations: 4.97 MB / 445.5 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02017/0.4141, allocations: 18.12 MB / 463.6 MB, free: 1.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.4141, allocations: 3.984 kB / 463.6 MB, free: 1.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4141, allocations: 4 kB / 463.6 MB, free: 1.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005135/0.4147, allocations: 0 / 463.6 MB, free: 1.934 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.03142/0.4461, allocations: 10.62 MB / 474.2 MB, free: 7.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4462, allocations: 12.03 kB / 474.2 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03401/0.4802, allocations: 5.801 MB / 480 MB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/0.4924, allocations: 5.604 MB / 485.6 MB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005657/0.493, allocations: 0.5619 MB / 486.2 MB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/0.4955, allocations: 0.7343 MB / 486.9 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02989/0.5254, allocations: 12.88 MB / 499.8 MB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002397/0.5257, allocations: 11.89 kB / 499.8 MB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002122/0.5278, allocations: 316 kB / 0.4884 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005837/0.5284, allocations: 496.1 kB / 0.4889 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/0.5553, allocations: 12.6 MB / 0.5012 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2707/0.826, allocations: 41.88 MB / 0.5421 GB, free: 113.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01805/0.8441, allocations: 26.24 MB / 0.5677 GB, free: 92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004746/0.8489, allocations: 3.223 MB / 0.5708 GB, free: 91.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/0.8492, allocations: 272 kB / 0.5711 GB, free: 91.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.8493, allocations: 82.38 kB / 0.5712 GB, free: 91.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.802e-06/0.8493, allocations: 0 / 0.5712 GB, free: 91.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03202/0.8813, allocations: 16.85 MB / 0.5876 GB, free: 85.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.8814, allocations: 97.08 kB / 0.5877 GB, free: 85.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/0.8848, allocations: 2.828 MB / 0.5905 GB, free: 84.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003913/0.8852, allocations: 96.23 kB / 0.5906 GB, free: 84.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.8865, allocations: 3.044 MB / 0.5936 GB, free: 82.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009701/0.8875, allocations: 1.401 MB / 0.5949 GB, free: 81.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/0.8887, allocations: 0.9463 MB / 0.5958 GB, free: 80.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.628e-05/0.8888, allocations: 308.8 kB / 0.5961 GB, free: 80.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/0.8918, allocations: 2.505 MB / 0.5986 GB, free: 78.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003535/0.8954, allocations: 4.106 MB / 0.6026 GB, free: 75.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007088/0.9025, allocations: 7.195 MB / 0.6096 GB, free: 70.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.703e-05/0.9025, allocations: 19.59 kB / 0.6096 GB, free: 70.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01095/0.9135, allocations: 8.008 MB / 0.6175 GB, free: 63.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.9136, allocations: 28 kB / 0.6175 GB, free: 63.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.86e-05/0.9136, allocations: 59.91 kB / 0.6175 GB, free: 63.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/0.9165, allocations: 1.204 MB / 0.6187 GB, free: 61.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003685/0.9202, allocations: 1.139 MB / 0.6198 GB, free: 60.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.9322, allocations: 11.1 MB / 0.6307 GB, free: 49.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/0.9356, allocations: 267.6 kB / 0.6309 GB, free: 49.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000418/0.9361, allocations: 232 kB / 0.6312 GB, free: 48.93 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.003936/0.94, allocations: 2.952 MB / 0.634 GB, free: 45.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007121/0.9407, allocations: 343.8 kB / 0.6344 GB, free: 45.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009832/0.9506, allocations: 6.682 MB / 0.6409 GB, free: 38.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/0.9506, allocations: 44 kB / 0.6409 GB, free: 38.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.9506, allocations: 12 kB / 0.6409 GB, free: 38.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-05/0.9507, allocations: 23.86 kB / 0.641 GB, free: 38.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/0.9736, allocations: 15.18 MB / 0.6558 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/0.9736, allocations: 4 kB / 0.6558 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004702/0.9784, allocations: 0.7489 MB / 0.6565 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004399/0.9828, allocations: 1.103 MB / 0.6576 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007653/0.9836, allocations: 95.97 kB / 0.6577 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/1.001, allocations: 10.04 MB / 0.6675 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/1.001, allocations: 11.94 kB / 0.6675 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0255/1.027, allocations: 9.999 MB / 0.6773 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004018/1.031, allocations: 0.9221 MB / 0.6782 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001496/1.032, allocations: 80 kB / 0.6782 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004533/1.037, allocations: 204.7 kB / 0.6784 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001357/1.038, allocations: 303.2 kB / 0.6787 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006933/1.039, allocations: 125.9 kB / 0.6789 GB, free: 15.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006375/1.046, allocations: 1.963 MB / 0.6808 GB, free: 13.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.21e-07/1.046, allocations: 0 / 0.6808 GB, free: 13.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009833/1.055, allocations: 1.389 MB / 0.6821 GB, free: 12.09 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.001433/1.057, allocations: 275.3 kB / 0.6824 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.04902/1.106, allocations: 13.55 MB / 0.6956 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.106, allocations: 3.938 kB / 0.6956 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006648/1.113, allocations: 3.552 MB / 0.6991 GB, free: 10.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/1.117, allocations: 0.8362 MB / 0.6999 GB, free: 9.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2377/1.354, allocations: 17.28 MB / 0.7168 GB, free: 148.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006852/1.361, allocations: 5.081 MB / 0.7217 GB, free: 147.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004791/1.366, allocations: 1.615 MB / 0.7233 GB, free: 147.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.367, allocations: 330.8 kB / 0.7236 GB, free: 147.7 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/1.367, allocations: 1.25 kB / 0.7236 GB, free: 147.7 MB / 478.1 MB Notification: Performance of Templates: time 0.09396/1.461, allocations: 61.29 MB / 0.7835 GB, free: 105.9 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)