Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0008344/0.0008348, allocations: 90.81 kB / 16.65 MB, free: 6.59 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.0009093/0.0009093, allocations: 182.6 kB / 17.57 MB, free: 6.199 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.47/1.47, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004828/0.0004829, allocations: 12.33 kB / 280.8 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.119, allocations: 47.59 MB / 328.3 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02435/0.1434, allocations: 23.35 MB / 351.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01892/0.1624, allocations: 7.214 MB / 358.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0059/0.1684, allocations: 143.6 kB / 359.1 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007494/0.1759, allocations: 1.805 MB / 360.9 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01316/0.1891, allocations: 2.699 MB / 363.6 MB, free: 372 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006072/0.1952, allocations: 1.524 MB / 365.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01687/0.2121, allocations: 10.82 MB / 375.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.292/0.5042, allocations: 22.16 MB / 398.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009275/0.5135, allocations: 4.074 MB / 402.1 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.5236, allocations: 4.879 MB / 407 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003771/0.5275, allocations: 0.6421 MB / 407.7 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006633/0.5341, allocations: 1.006 MB / 408.7 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004848/0.539, allocations: 1.99 MB / 410.7 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009656/0.5487, allocations: 4.848 MB / 415.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02592/0.5747, allocations: 21.03 MB / 436.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.5747, allocations: 0 / 436.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5748, allocations: 0 / 436.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000736/0.5755, allocations: 0 / 436.5 MB, free: 1.84 MB / 334.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.03407/0.6096, allocations: 10.83 MB / 447.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.6096, allocations: 8.031 kB / 447.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04098/0.6506, allocations: 7.162 MB / 454.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01369/0.6644, allocations: 6.187 MB / 460.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008587/0.6653, allocations: 0.709 MB / 461.4 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003961/0.6692, allocations: 0.95 MB / 462.4 MB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04901/0.7183, allocations: 16.21 MB / 478.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000356/0.7186, allocations: 19.27 kB / 478.6 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003207/0.7219, allocations: 397 kB / 479 MB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006623/0.7225, allocations: 0.5826 MB / 479.6 MB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03727/0.7598, allocations: 15.47 MB / 495 MB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09667/0.8565, allocations: 52.98 MB / 0.5352 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4184/1.275, allocations: 35.5 MB / 0.5698 GB, free: 81.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005663/1.281, allocations: 3.431 MB / 0.5732 GB, free: 81.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01515/1.296, allocations: 10.16 MB / 0.5831 GB, free: 79.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.41e-05/1.296, allocations: 67.84 kB / 0.5832 GB, free: 79.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=303): time 7.364e-06/1.296, allocations: 2.375 kB / 0.5832 GB, free: 79.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=309): time 0.03193/1.328, allocations: 15.21 MB / 0.598 GB, free: 73.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.328, allocations: 88.16 kB / 0.5981 GB, free: 73.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006107/1.334, allocations: 3.852 MB / 0.6019 GB, free: 71.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007247/1.335, allocations: 86.23 kB / 0.602 GB, free: 71.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002523/1.337, allocations: 4.248 MB / 0.6061 GB, free: 68.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001362/1.339, allocations: 1.072 MB / 0.6072 GB, free: 67.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006233/1.339, allocations: 437.7 kB / 0.6076 GB, free: 67.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/1.34, allocations: 301.1 kB / 0.6079 GB, free: 67.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003715/1.343, allocations: 2.595 MB / 0.6104 GB, free: 66.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004606/1.348, allocations: 4.953 MB / 0.6152 GB, free: 62.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008532/1.356, allocations: 8.032 MB / 0.6231 GB, free: 53.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.606e-05/1.357, allocations: 23.56 kB / 0.6231 GB, free: 53.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01463/1.371, allocations: 8.714 MB / 0.6316 GB, free: 45.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.136e-05/1.371, allocations: 40 kB / 0.6317 GB, free: 45.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001563/1.371, allocations: 76 kB / 0.6317 GB, free: 45.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/1.374, allocations: 1.212 MB / 0.6329 GB, free: 44.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004371/1.379, allocations: 1.227 MB / 0.6341 GB, free: 43.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/1.392, allocations: 9.145 MB / 0.643 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005361/1.397, allocations: 339.2 kB / 0.6434 GB, free: 33.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009871/1.398, allocations: 290.7 kB / 0.6436 GB, free: 33.48 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.00724/1.406, allocations: 3.732 MB / 0.6473 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.407, allocations: 379.3 kB / 0.6476 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009622/1.416, allocations: 5.883 MB / 0.6534 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007294/1.424, allocations: 4.844 MB / 0.6581 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-05/1.424, allocations: 12 kB / 0.6581 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-05/1.424, allocations: 15.94 kB / 0.6582 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02441/1.448, allocations: 13.81 MB / 0.6716 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/1.448, allocations: 4 kB / 0.6716 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/1.451, allocations: 0.5693 MB / 0.6722 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002723/1.453, allocations: 1.082 MB / 0.6733 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000297/1.454, allocations: 71.97 kB / 0.6733 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/1.465, allocations: 8.072 MB / 0.6812 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.465, allocations: 7.844 kB / 0.6812 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/1.479, allocations: 8.626 MB / 0.6896 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/1.481, allocations: 0.8905 MB / 0.6905 GB, free: 1.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006286/1.482, allocations: 63.94 kB / 0.6906 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/1.484, allocations: 187.9 kB / 0.6907 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000605/1.484, allocations: 222.4 kB / 0.691 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/1.485, allocations: 99.92 kB / 0.6911 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004704/1.489, allocations: 2.588 MB / 0.6936 GB, free: 14.21 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.81e-07/1.489, allocations: 4 kB / 0.6936 GB, free: 14.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007311/1.497, allocations: 1.546 MB / 0.6951 GB, free: 12.66 MB / 478.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.000865/1.498, allocations: 254.2 kB / 0.6953 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01142/1.509, allocations: 6.587 MB / 0.7018 GB, free: 6.074 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.509, allocations: 4 kB / 0.7018 GB, free: 6.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005674/1.515, allocations: 2.995 MB / 0.7047 GB, free: 3.125 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006165/1.521, allocations: 0.8809 MB / 0.7056 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2327/1.754, allocations: 20.37 MB / 0.7255 GB, free: 157.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01056/1.764, allocations: 6.235 MB / 0.7315 GB, free: 155.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00576/1.77, allocations: 1.944 MB / 0.7334 GB, free: 155.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009521/1.771, allocations: 304.6 kB / 0.7337 GB, free: 155.7 MB / 478.1 MB Notification: Performance of SimCode: time 3.266e-06/1.771, allocations: 0 / 0.7337 GB, free: 155.7 MB / 478.1 MB Notification: Performance of Templates: time 0.09788/1.869, allocations: 60.74 MB / 0.793 GB, free: 109.4 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1)