Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_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.001571/0.001572, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.501/1.501, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.52 kB / 307.9 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1087, allocations: 50.54 MB / 358.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.2012/0.31, allocations: 21.55 MB / 380 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.3245, allocations: 6.8 MB / 386.8 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005635/0.3302, allocations: 144 kB / 386.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01542/0.3457, allocations: 6.822 MB / 393.8 MB, free: 2.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009933/0.3557, allocations: 2.753 MB / 396.5 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004751/0.3604, allocations: 1.566 MB / 398.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01351/0.374, allocations: 9.01 MB / 407.1 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02622/0.4002, allocations: 17.93 MB / 425 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008176/0.4084, allocations: 4.625 MB / 429.6 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009183/0.4176, allocations: 5.206 MB / 434.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004433/0.4221, allocations: 1.355 MB / 436.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006228/0.4284, allocations: 1.711 MB / 437.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005556/0.4339, allocations: 2.615 MB / 440.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01292/0.4469, allocations: 4.958 MB / 445.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0234/0.4703, allocations: 18.14 MB / 463.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4704, allocations: 0 / 463.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4704, allocations: 0 / 463.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005225/0.4709, allocations: 0 / 463.6 MB, free: 2.816 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.03491/0.5058, allocations: 10.63 MB / 474.3 MB, free: 8.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5059, allocations: 8.031 kB / 474.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03409/0.54, allocations: 5.891 MB / 480.2 MB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/0.5523, allocations: 5.585 MB / 485.7 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006188/0.553, allocations: 0.5541 MB / 486.3 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004231/0.5572, allocations: 0.7459 MB / 487 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03703/0.5943, allocations: 12.86 MB / 499.9 MB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000211/0.5945, allocations: 7.906 kB / 499.9 MB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001356/0.5959, allocations: 320 kB / 0.4885 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005823/0.5965, allocations: 492.1 kB / 0.489 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02967/0.6262, allocations: 12.58 MB / 0.5012 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2963/0.9225, allocations: 41.89 MB / 0.5422 GB, free: 114.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/0.9416, allocations: 26.24 MB / 0.5678 GB, free: 92.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004918/0.9466, allocations: 3.216 MB / 0.5709 GB, free: 92.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/0.947, allocations: 249.2 kB / 0.5712 GB, free: 92.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.9471, allocations: 80.66 kB / 0.5712 GB, free: 92.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.022e-06/0.9471, allocations: 0 / 0.5712 GB, free: 92.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03679/0.9839, allocations: 16.99 MB / 0.5878 GB, free: 86.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.984, allocations: 95.73 kB / 0.5879 GB, free: 86.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/0.9875, allocations: 2.84 MB / 0.5907 GB, free: 85.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006368/0.9882, allocations: 89.3 kB / 0.5908 GB, free: 85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.9896, allocations: 3.038 MB / 0.5937 GB, free: 82.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001205/0.9908, allocations: 1.398 MB / 0.5951 GB, free: 81.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/0.992, allocations: 0.9413 MB / 0.596 GB, free: 81.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.9921, allocations: 308.6 kB / 0.5963 GB, free: 80.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/0.9954, allocations: 2.503 MB / 0.5988 GB, free: 79.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004062/0.9994, allocations: 4.113 MB / 0.6028 GB, free: 75.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0082/1.008, allocations: 7.187 MB / 0.6098 GB, free: 70.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.467e-05/1.008, allocations: 13.88 kB / 0.6098 GB, free: 70.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01354/1.021, allocations: 8.031 MB / 0.6177 GB, free: 63.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/1.021, allocations: 31.92 kB / 0.6177 GB, free: 63.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.878e-05/1.021, allocations: 52 kB / 0.6177 GB, free: 63.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/1.025, allocations: 1.239 MB / 0.6189 GB, free: 62.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004259/1.029, allocations: 1.127 MB / 0.62 GB, free: 61.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.042, allocations: 11.25 MB / 0.631 GB, free: 49.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/1.045, allocations: 267.7 kB / 0.6313 GB, free: 49.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008129/1.046, allocations: 232 kB / 0.6315 GB, free: 49.26 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.004568/1.051, allocations: 2.952 MB / 0.6344 GB, free: 46.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008647/1.051, allocations: 355 kB / 0.6347 GB, free: 45.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.062, allocations: 6.706 MB / 0.6413 GB, free: 39.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/1.062, allocations: 47.98 kB / 0.6413 GB, free: 39.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.062, allocations: 8 kB / 0.6413 GB, free: 39.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.336e-05/1.062, allocations: 27.84 kB / 0.6414 GB, free: 39.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0268/1.089, allocations: 15.2 MB / 0.6562 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/1.089, allocations: 7.984 kB / 0.6562 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003125/1.092, allocations: 0.7528 MB / 0.6569 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/1.096, allocations: 1.13 MB / 0.658 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006784/1.096, allocations: 99.91 kB / 0.6581 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/1.108, allocations: 10.17 MB / 0.6681 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.108, allocations: 11.94 kB / 0.6681 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/1.124, allocations: 10 MB / 0.6779 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/1.126, allocations: 0.9182 MB / 0.6787 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008194/1.127, allocations: 83.94 kB / 0.6788 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/1.129, allocations: 208.7 kB / 0.679 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006727/1.13, allocations: 291.3 kB / 0.6793 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002625/1.13, allocations: 120 kB / 0.6794 GB, free: 15.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003422/1.134, allocations: 1.963 MB / 0.6813 GB, free: 13.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.134, allocations: 0 / 0.6813 GB, free: 13.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005653/1.139, allocations: 1.397 MB / 0.6827 GB, free: 12.2 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.0008708/1.14, allocations: 281.1 kB / 0.683 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0338/1.174, allocations: 13.56 MB / 0.6962 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.174, allocations: 4.312 kB / 0.6962 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007996/1.182, allocations: 3.552 MB / 0.6997 GB, free: 10.81 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005482/1.187, allocations: 0.8309 MB / 0.7005 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2129/1.4, allocations: 14 MB / 0.7142 GB, free: 150.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007688/1.408, allocations: 4.937 MB / 0.719 GB, free: 149.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002002/1.41, allocations: 346.4 kB / 0.7193 GB, free: 149.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.473e-06/1.41, allocations: 0 / 0.7193 GB, free: 149.4 MB / 478.1 MB Notification: Performance of Templates: time 0.4275/1.838, allocations: 174.9 MB / 0.8901 GB, free: 144.3 MB / 478.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1)