Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 56.38 kB / 278.1 MB, free: 12.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2769, allocations: 46.63 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02752/0.3045, allocations: 24.46 MB / 349.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0186/0.3231, allocations: 7.284 MB / 356.4 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007498/0.3307, allocations: 147.5 kB / 356.6 MB, free: 4.188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02008/0.3508, allocations: 8.326 MB / 364.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.3636, allocations: 2.734 MB / 367.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006152/0.3698, allocations: 1.614 MB / 369.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01789/0.3877, allocations: 10.82 MB / 380.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03266/0.4204, allocations: 18.18 MB / 398.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009558/0.4301, allocations: 4.981 MB / 403.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01274/0.4428, allocations: 6.038 MB / 409.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004597/0.4475, allocations: 1.086 MB / 410.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007331/0.4548, allocations: 1.449 MB / 411.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005656/0.4605, allocations: 2.606 MB / 414.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01304/0.4736, allocations: 5.555 MB / 420 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0295/0.5031, allocations: 21.87 MB / 441.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.5032, allocations: 4 kB / 441.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.5032, allocations: 0 / 441.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008059/0.504, allocations: 0 / 441.8 MB, free: 14.56 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.051/0.555, allocations: 12.99 MB / 454.8 MB, free: 1.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.5551, allocations: 12.03 kB / 454.8 MB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4719/1.027, allocations: 7.131 MB / 462 MB, free: 97.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01552/1.043, allocations: 6.156 MB / 468.1 MB, free: 93.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006243/1.043, allocations: 0.7164 MB / 468.8 MB, free: 93.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005199/1.048, allocations: 0.9382 MB / 469.8 MB, free: 93.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04504/1.094, allocations: 16.22 MB / 486 MB, free: 79.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003614/1.094, allocations: 15.89 kB / 486 MB, free: 79.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004036/1.098, allocations: 398.9 kB / 486.4 MB, free: 78.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005257/1.099, allocations: 0.5747 MB / 487 MB, free: 78.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03421/1.133, allocations: 15.47 MB / 0.4907 GB, free: 62.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09618/1.229, allocations: 52.85 MB / 0.5423 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03216/1.261, allocations: 35.51 MB / 0.577 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007047/1.268, allocations: 3.419 MB / 0.5803 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02257/1.291, allocations: 10.18 MB / 0.5902 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.894e-05/1.291, allocations: 64.92 kB / 0.5903 GB, free: 3.406 MB / 430.1 MB Notification: Performance of pre-optimization done (n=303): time 4.849e-06/1.291, allocations: 0 / 0.5903 GB, free: 3.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=309): time 0.03941/1.33, allocations: 15.09 MB / 0.605 GB, free: 4.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/1.331, allocations: 81.81 kB / 0.6051 GB, free: 4.066 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008398/1.339, allocations: 3.859 MB / 0.6089 GB, free: 220 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006532/1.34, allocations: 73.7 kB / 0.609 GB, free: 140 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2539/1.594, allocations: 4.249 MB / 0.6131 GB, free: 147.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001573/1.595, allocations: 1.073 MB / 0.6142 GB, free: 146.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00212/1.597, allocations: 1.099 MB / 0.6152 GB, free: 146.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.073e-05/1.597, allocations: 308.7 kB / 0.6155 GB, free: 145.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004129/1.602, allocations: 2.578 MB / 0.618 GB, free: 144.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004904/1.606, allocations: 4.952 MB / 0.6229 GB, free: 140.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008047/1.615, allocations: 8.011 MB / 0.6307 GB, free: 135 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.388e-05/1.615, allocations: 22.69 kB / 0.6307 GB, free: 135 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01367/1.628, allocations: 8.692 MB / 0.6392 GB, free: 131.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/1.628, allocations: 39.62 kB / 0.6392 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/1.629, allocations: 81.69 kB / 0.6393 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003383/1.632, allocations: 1.208 MB / 0.6405 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004312/1.636, allocations: 1.224 MB / 0.6417 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/1.648, allocations: 9.134 MB / 0.6506 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/1.653, allocations: 327.4 kB / 0.6509 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008594/1.654, allocations: 291.2 kB / 0.6512 GB, free: 123.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (641): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006228/1.66, allocations: 3.731 MB / 0.6549 GB, free: 120.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000994/1.661, allocations: 384.1 kB / 0.6552 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008777/1.67, allocations: 5.868 MB / 0.661 GB, free: 114.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007/1.677, allocations: 4.814 MB / 0.6657 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-05/1.677, allocations: 8 kB / 0.6657 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/1.677, allocations: 15.94 kB / 0.6657 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02806/1.705, allocations: 13.79 MB / 0.6791 GB, free: 95.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-05/1.705, allocations: 7.984 kB / 0.6791 GB, free: 95.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/1.707, allocations: 0.5617 MB / 0.6797 GB, free: 94.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002895/1.71, allocations: 1.079 MB / 0.6807 GB, free: 93.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006756/1.711, allocations: 75.97 kB / 0.6808 GB, free: 93.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/1.722, allocations: 8.054 MB / 0.6887 GB, free: 85.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.722, allocations: 8 kB / 0.6887 GB, free: 85.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01409/1.736, allocations: 8.59 MB / 0.6971 GB, free: 76.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/1.739, allocations: 0.8748 MB / 0.6979 GB, free: 75.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/1.74, allocations: 56 kB / 0.698 GB, free: 75.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002526/1.742, allocations: 188.3 kB / 0.6982 GB, free: 75.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000736/1.743, allocations: 234.6 kB / 0.6984 GB, free: 75.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003313/1.743, allocations: 87.98 kB / 0.6985 GB, free: 75.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004954/1.748, allocations: 2.588 MB / 0.701 GB, free: 72.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.748, allocations: 0 / 0.701 GB, free: 72.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00733/1.756, allocations: 1.552 MB / 0.7025 GB, free: 71.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (285): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001126/1.757, allocations: 257.8 kB / 0.7028 GB, free: 71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01161/1.768, allocations: 6.565 MB / 0.7092 GB, free: 64.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.768, allocations: 7.938 kB / 0.7092 GB, free: 64.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005597/1.774, allocations: 2.985 MB / 0.7121 GB, free: 61.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006017/1.78, allocations: 0.8935 MB / 0.713 GB, free: 60.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03567/1.816, allocations: 20.3 MB / 0.7328 GB, free: 40.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009999/1.826, allocations: 6.235 MB / 0.7389 GB, free: 33.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005243/1.831, allocations: 1.933 MB / 0.7408 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008707/1.832, allocations: 303.4 kB / 0.7411 GB, free: 31.65 MB / 446.1 MB Notification: Performance of SimCode: time 1.432e-06/1.832, allocations: 4 kB / 0.7411 GB, free: 31.64 MB / 446.1 MB Notification: Performance of Templates: time 0.3004/2.132, allocations: 61.69 MB / 0.8013 GB, free: 124 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1)