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.0009646/0.0009646, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009895/0.0009895, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004155/0.0004155, allocations: 10.81 kB / 278.9 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02144/0.2444, allocations: 21.64 MB / 348.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.2584, allocations: 6.756 MB / 354.9 MB, free: 7.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004094/0.2626, allocations: 147.6 kB / 355 MB, free: 6.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005132/0.2677, allocations: 1.352 MB / 356.4 MB, free: 5.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00977/0.2775, allocations: 2.442 MB / 358.8 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004613/0.2821, allocations: 1.165 MB / 360 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0177/0.2999, allocations: 13.35 MB / 373.4 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03546/0.3354, allocations: 18.03 MB / 391.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008802/0.3442, allocations: 4.256 MB / 395.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008248/0.3525, allocations: 4.666 MB / 400.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002452/0.355, allocations: 0.6406 MB / 400.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/0.3597, allocations: 1.003 MB / 401.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002809/0.3625, allocations: 1.95 MB / 403.9 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003648/0.3662, allocations: 2.067 MB / 406 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01944/0.3856, allocations: 18.99 MB / 424.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3857, allocations: 0 / 424.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3857, allocations: 0 / 424.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005174/0.3862, allocations: 0 / 424.9 MB, free: 0.6992 MB / 350.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.0305/0.4167, allocations: 10.92 MB / 435.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.4168, allocations: 16.02 kB / 435.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03887/0.4557, allocations: 7.159 MB / 443 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.4679, allocations: 6.092 MB / 449.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008378/0.4688, allocations: 0.7184 MB / 449.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004026/0.4728, allocations: 0.9451 MB / 450.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3675/0.8403, allocations: 16.14 MB / 466.9 MB, free: 87.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002821/0.8407, allocations: 8.625 kB / 466.9 MB, free: 87.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002091/0.8428, allocations: 402.4 kB / 467.3 MB, free: 87.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004984/0.8433, allocations: 0.5831 MB / 467.9 MB, free: 87.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02951/0.8728, allocations: 15.39 MB / 483.3 MB, free: 80.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07465/0.9475, allocations: 52.96 MB / 0.5237 GB, free: 28.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02361/0.9711, allocations: 35.46 MB / 0.5583 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005843/0.977, allocations: 3.422 MB / 0.5617 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.018/0.995, allocations: 10.17 MB / 0.5716 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/0.9951, allocations: 64.92 kB / 0.5717 GB, free: 6.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=303): time 4.218e-06/0.9951, allocations: 3.938 kB / 0.5717 GB, free: 6.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=309): time 0.04294/1.038, allocations: 17.18 MB / 0.5884 GB, free: 5.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/1.038, allocations: 89.75 kB / 0.5885 GB, free: 5.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009639/1.048, allocations: 3.828 MB / 0.5923 GB, free: 1.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007252/1.049, allocations: 69.7 kB / 0.5923 GB, free: 1.355 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004166/1.053, allocations: 4.258 MB / 0.5965 GB, free: 13.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001743/1.055, allocations: 1.077 MB / 0.5975 GB, free: 12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/1.055, allocations: 108 kB / 0.5976 GB, free: 11.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004795/1.056, allocations: 0.5254 MB / 0.5982 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006466/1.062, allocations: 2.568 MB / 0.6007 GB, free: 8.789 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008962/1.071, allocations: 4.944 MB / 0.6055 GB, free: 2.719 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00911/1.08, allocations: 3.699 MB / 0.6091 GB, free: 15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-05/1.08, allocations: 24 kB / 0.6091 GB, free: 14.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.02263/1.103, allocations: 8.673 MB / 0.6176 GB, free: 6.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.613e-05/1.103, allocations: 40 kB / 0.6176 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/1.103, allocations: 76 kB / 0.6177 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005076/1.108, allocations: 1.219 MB / 0.6189 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007238/1.116, allocations: 1.228 MB / 0.6201 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.237/1.353, allocations: 9.118 MB / 0.629 GB, free: 152.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004551/1.357, allocations: 329.8 kB / 0.6293 GB, free: 152.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009094/1.358, allocations: 292 kB / 0.6296 GB, free: 152.3 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006452/1.365, allocations: 3.731 MB / 0.6332 GB, free: 150.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008612/1.365, allocations: 387.2 kB / 0.6336 GB, free: 150.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009159/1.375, allocations: 5.872 MB / 0.6393 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006787/1.381, allocations: 4.814 MB / 0.6441 GB, free: 146.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/1.382, allocations: 11.62 kB / 0.6441 GB, free: 146.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.561e-05/1.382, allocations: 15.7 kB / 0.6441 GB, free: 146.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02286/1.404, allocations: 13.79 MB / 0.6575 GB, free: 140.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/1.404, allocations: 3.781 kB / 0.6575 GB, free: 140.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/1.407, allocations: 0.5631 MB / 0.6581 GB, free: 140.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002539/1.409, allocations: 1.087 MB / 0.6592 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/1.41, allocations: 70 kB / 0.6592 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009847/1.419, allocations: 8.05 MB / 0.6671 GB, free: 136 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.419, allocations: 7.938 kB / 0.6671 GB, free: 136 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/1.431, allocations: 8.605 MB / 0.6755 GB, free: 127.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/1.432, allocations: 0.882 MB / 0.6764 GB, free: 127 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005756/1.433, allocations: 60 kB / 0.6764 GB, free: 126.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.435, allocations: 195.8 kB / 0.6766 GB, free: 126.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004767/1.435, allocations: 223.7 kB / 0.6768 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/1.435, allocations: 91.98 kB / 0.6769 GB, free: 126.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00339/1.439, allocations: 2.555 MB / 0.6794 GB, free: 123.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.439, allocations: 4 kB / 0.6794 GB, free: 123.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005733/1.445, allocations: 1.548 MB / 0.6809 GB, free: 122.3 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007511/1.445, allocations: 245.1 kB / 0.6811 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009544/1.455, allocations: 6.567 MB / 0.6876 GB, free: 115.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.455, allocations: 0 / 0.6876 GB, free: 115.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004722/1.46, allocations: 2.984 MB / 0.6905 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00515/1.465, allocations: 0.9132 MB / 0.6914 GB, free: 111.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/1.492, allocations: 19.47 MB / 0.7104 GB, free: 92.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00598/1.498, allocations: 6.235 MB / 0.7165 GB, free: 85.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005096/1.503, allocations: 1.945 MB / 0.7184 GB, free: 83.87 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008616/1.504, allocations: 303.4 kB / 0.7187 GB, free: 83.57 MB / 462.1 MB Notification: Performance of SimCode: time 1.273e-06/1.504, allocations: 0 / 0.7187 GB, free: 83.57 MB / 462.1 MB Notification: Performance of Templates: time 0.08593/1.59, allocations: 59.52 MB / 0.7768 GB, free: 24.01 MB / 462.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)