Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001101/0.001101, 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.001073/0.001074, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.442/1.442, allocations: 205.1 MB / 222 MB, free: 4.984 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.001158/0.001158, allocations: 55.92 kB / 278.1 MB, free: 12.97 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2725, allocations: 46.62 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02569/0.2983, allocations: 24.45 MB / 349.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.3137, allocations: 7.284 MB / 356.4 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005055/0.3188, allocations: 151.5 kB / 356.6 MB, free: 4.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01803/0.3369, allocations: 8.333 MB / 364.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.3472, allocations: 2.722 MB / 367.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005765/0.353, allocations: 1.622 MB / 369.3 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01575/0.3687, allocations: 10.82 MB / 380.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03275/0.4015, allocations: 18.17 MB / 398.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009116/0.4107, allocations: 4.981 MB / 403.2 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01045/0.4212, allocations: 6.038 MB / 409.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004505/0.4257, allocations: 1.086 MB / 410.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00657/0.4323, allocations: 1.449 MB / 411.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005395/0.4377, allocations: 2.61 MB / 414.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01398/0.4517, allocations: 5.547 MB / 420 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0257/0.4775, allocations: 21.87 MB / 441.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.4775, allocations: 4 kB / 441.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4775, allocations: 0 / 441.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006969/0.4783, 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.04271/0.521, allocations: 12.99 MB / 454.8 MB, free: 1.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.5211, allocations: 11.97 kB / 454.8 MB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4273/0.9483, allocations: 7.131 MB / 462 MB, free: 97.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.9622, allocations: 6.154 MB / 468.1 MB, free: 93.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006307/0.9629, allocations: 0.7161 MB / 468.8 MB, free: 93.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004742/0.9676, allocations: 0.9421 MB / 469.8 MB, free: 93.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03645/1.004, allocations: 16.22 MB / 486 MB, free: 79.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004112/1.005, allocations: 7.906 kB / 486 MB, free: 79.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003097/1.008, allocations: 403.3 kB / 486.4 MB, free: 78.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005379/1.008, allocations: 0.5786 MB / 487 MB, free: 78.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02958/1.038, allocations: 15.47 MB / 0.4907 GB, free: 62.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08377/1.122, allocations: 52.85 MB / 0.5423 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02805/1.15, allocations: 35.5 MB / 0.577 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006297/1.156, allocations: 3.426 MB / 0.5803 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01683/1.173, allocations: 10.16 MB / 0.5902 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/1.173, allocations: 64.92 kB / 0.5903 GB, free: 3.387 MB / 430.1 MB Notification: Performance of pre-optimization done (n=303): time 4.418e-06/1.173, allocations: 0 / 0.5903 GB, free: 3.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=309): time 0.03183/1.205, allocations: 15.09 MB / 0.605 GB, free: 4.137 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/1.205, allocations: 81.81 kB / 0.6051 GB, free: 4.043 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005911/1.211, allocations: 3.859 MB / 0.6089 GB, free: 196 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004073/1.211, allocations: 73.7 kB / 0.609 GB, free: 116 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.227/1.438, allocations: 4.25 MB / 0.6131 GB, free: 147.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001619/1.44, allocations: 1.072 MB / 0.6141 GB, free: 146.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002054/1.442, allocations: 1.103 MB / 0.6152 GB, free: 146.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.667e-05/1.442, allocations: 305.1 kB / 0.6155 GB, free: 145.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004179/1.446, allocations: 2.58 MB / 0.618 GB, free: 144.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004922/1.451, allocations: 4.952 MB / 0.6229 GB, free: 140.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008958/1.46, allocations: 8.011 MB / 0.6307 GB, free: 135 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.655e-05/1.46, allocations: 22.62 kB / 0.6307 GB, free: 135 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01574/1.476, allocations: 8.693 MB / 0.6392 GB, free: 131.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-05/1.476, allocations: 39.31 kB / 0.6392 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002258/1.476, allocations: 79.91 kB / 0.6393 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/1.48, allocations: 1.207 MB / 0.6405 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/1.484, allocations: 1.227 MB / 0.6417 GB, free: 131.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/1.496, allocations: 9.135 MB / 0.6506 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/1.501, allocations: 331.5 kB / 0.6509 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/1.503, allocations: 287.1 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.007407/1.51, allocations: 3.737 MB / 0.6549 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009924/1.511, allocations: 379.3 kB / 0.6552 GB, free: 120.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009098/1.52, allocations: 5.863 MB / 0.6609 GB, free: 114.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006537/1.527, allocations: 4.814 MB / 0.6656 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.527, allocations: 15.94 kB / 0.6657 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/1.527, allocations: 15.94 kB / 0.6657 GB, free: 109.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/1.547, allocations: 13.79 MB / 0.6791 GB, free: 95.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/1.547, allocations: 4 kB / 0.6791 GB, free: 95.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/1.549, allocations: 0.5543 MB / 0.6797 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002644/1.552, allocations: 1.086 MB / 0.6807 GB, free: 93.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/1.552, allocations: 71.98 kB / 0.6808 GB, free: 93.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/1.562, allocations: 8.067 MB / 0.6887 GB, free: 85.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.669e-05/1.562, allocations: 4 kB / 0.6887 GB, free: 85.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/1.573, allocations: 8.597 MB / 0.6971 GB, free: 76.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/1.575, allocations: 0.8749 MB / 0.6979 GB, free: 75.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005244/1.576, allocations: 56 kB / 0.698 GB, free: 75.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/1.578, allocations: 179.8 kB / 0.6982 GB, free: 75.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005662/1.578, allocations: 238.6 kB / 0.6984 GB, free: 75.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.578, allocations: 95.98 kB / 0.6985 GB, free: 75.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003186/1.582, allocations: 2.581 MB / 0.701 GB, free: 72.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.582, allocations: 0 / 0.701 GB, free: 72.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005012/1.587, allocations: 1.557 MB / 0.7025 GB, free: 71.21 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.0005583/1.587, allocations: 248.5 kB / 0.7028 GB, free: 70.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009681/1.597, allocations: 6.572 MB / 0.7092 GB, free: 64.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.597, allocations: 0 / 0.7092 GB, free: 64.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004875/1.602, allocations: 2.989 MB / 0.7121 GB, free: 61.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/1.606, allocations: 0.8844 MB / 0.713 GB, free: 60.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02743/1.634, allocations: 20.32 MB / 0.7328 GB, free: 40.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005288/1.639, allocations: 6.228 MB / 0.7389 GB, free: 33.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005069/1.644, allocations: 1.937 MB / 0.7408 GB, free: 31.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00088/1.645, allocations: 303.4 kB / 0.7411 GB, free: 31.61 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/1.645, allocations: 4 kB / 0.7411 GB, free: 31.61 MB / 446.1 MB Notification: Performance of Templates: time 0.2776/1.923, allocations: 61.69 MB / 0.8013 GB, free: 123.9 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1)