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.0008624/0.0008624, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008383/0.0008384, allocations: 172.7 kB / 15.95 MB, free: 208 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.649/1.649, allocations: 205.4 MB / 222.1 MB, free: 5.484 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.0004634/0.0004634, allocations: 18.8 kB / 278.9 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2713, allocations: 47.58 MB / 326.5 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02315/0.2945, allocations: 21.64 MB / 348.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01694/0.3115, allocations: 6.748 MB / 354.9 MB, free: 7.004 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005935/0.3175, allocations: 143.6 kB / 355 MB, free: 6.863 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006793/0.3243, allocations: 1.348 MB / 356.4 MB, free: 5.508 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01302/0.3374, allocations: 2.45 MB / 358.8 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006191/0.3436, allocations: 1.177 MB / 360 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02235/0.3659, allocations: 13.35 MB / 373.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04235/0.4084, allocations: 18.02 MB / 391.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009832/0.4182, allocations: 4.249 MB / 395.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01051/0.4288, allocations: 4.674 MB / 400.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003491/0.4323, allocations: 0.6445 MB / 400.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005965/0.4383, allocations: 0.9918 MB / 401.9 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004335/0.4427, allocations: 1.95 MB / 403.9 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005855/0.4486, allocations: 2.063 MB / 406 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02474/0.4733, allocations: 18.99 MB / 424.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4734, allocations: 4 kB / 425 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4734, allocations: 0 / 425 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0007447/0.4741, allocations: 0 / 425 MB, free: 0.6797 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.03558/0.5097, allocations: 10.92 MB / 435.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5098, allocations: 8.031 kB / 435.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03949/0.5493, allocations: 7.159 MB / 443 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/0.5649, allocations: 6.1 MB / 449.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/0.566, allocations: 0.7145 MB / 449.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004581/0.5706, allocations: 0.9451 MB / 450.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4727/1.043, allocations: 16.15 MB / 466.9 MB, free: 87.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003468/1.044, allocations: 10.89 kB / 467 MB, free: 87.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004076/1.048, allocations: 393.3 kB / 467.3 MB, free: 87.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006002/1.048, allocations: 0.5821 MB / 467.9 MB, free: 87.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03457/1.083, allocations: 15.39 MB / 483.3 MB, free: 80.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1031/1.186, allocations: 52.95 MB / 0.5237 GB, free: 28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02881/1.215, allocations: 35.47 MB / 0.5583 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006533/1.222, allocations: 3.423 MB / 0.5617 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02172/1.243, allocations: 10.16 MB / 0.5716 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.805e-05/1.243, allocations: 60.92 kB / 0.5717 GB, free: 6.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=303): time 8.927e-06/1.243, allocations: 7.938 kB / 0.5717 GB, free: 6.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=309): time 0.04741/1.291, allocations: 17.19 MB / 0.5884 GB, free: 5.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/1.291, allocations: 89.77 kB / 0.5885 GB, free: 5.164 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007902/1.299, allocations: 3.828 MB / 0.5923 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006332/1.3, allocations: 81.64 kB / 0.5923 GB, free: 1.258 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003354/1.303, allocations: 4.246 MB / 0.5965 GB, free: 12.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/1.304, allocations: 1.07 MB / 0.5975 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007689/1.305, allocations: 108 kB / 0.5976 GB, free: 11.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000544/1.306, allocations: 0.5254 MB / 0.5982 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004896/1.311, allocations: 2.576 MB / 0.6007 GB, free: 8.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006757/1.317, allocations: 4.937 MB / 0.6055 GB, free: 2.637 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006576/1.324, allocations: 3.699 MB / 0.6091 GB, free: 14.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.787e-05/1.324, allocations: 24 kB / 0.6091 GB, free: 14.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01836/1.343, allocations: 8.673 MB / 0.6176 GB, free: 6.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/1.343, allocations: 40 kB / 0.6176 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/1.343, allocations: 80 kB / 0.6177 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003421/1.346, allocations: 1.219 MB / 0.6189 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005046/1.351, allocations: 1.228 MB / 0.6201 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2448/1.596, allocations: 9.12 MB / 0.629 GB, free: 152.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004685/1.601, allocations: 325.5 kB / 0.6293 GB, free: 152.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005812/1.601, allocations: 288.9 kB / 0.6296 GB, free: 152.2 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.00661/1.608, allocations: 3.739 MB / 0.6332 GB, free: 150.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009413/1.609, allocations: 383.2 kB / 0.6336 GB, free: 150.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008946/1.618, allocations: 5.869 MB / 0.6393 GB, free: 148.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006275/1.624, allocations: 4.811 MB / 0.644 GB, free: 146.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/1.624, allocations: 11.66 kB / 0.644 GB, free: 146.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/1.624, allocations: 15.75 kB / 0.6441 GB, free: 146.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02223/1.647, allocations: 13.79 MB / 0.6575 GB, free: 140.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/1.647, allocations: 4.688 kB / 0.6575 GB, free: 140.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/1.649, allocations: 0.5609 MB / 0.6581 GB, free: 140.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002579/1.651, allocations: 1.091 MB / 0.6591 GB, free: 140.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/1.652, allocations: 70.34 kB / 0.6592 GB, free: 140.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/1.662, allocations: 8.049 MB / 0.6671 GB, free: 135.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.662, allocations: 7.938 kB / 0.6671 GB, free: 135.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/1.675, allocations: 8.6 MB / 0.6755 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/1.677, allocations: 0.8898 MB / 0.6764 GB, free: 126.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.678, allocations: 55.98 kB / 0.6764 GB, free: 126.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/1.681, allocations: 191.3 kB / 0.6766 GB, free: 126.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005784/1.681, allocations: 222.7 kB / 0.6768 GB, free: 126.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/1.681, allocations: 99.97 kB / 0.6769 GB, free: 126.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004537/1.686, allocations: 2.556 MB / 0.6794 GB, free: 123.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.686, allocations: 0 / 0.6794 GB, free: 123.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007079/1.693, allocations: 1.552 MB / 0.6809 GB, free: 122.2 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.0007468/1.694, allocations: 239.8 kB / 0.6811 GB, free: 122 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01051/1.704, allocations: 6.564 MB / 0.6875 GB, free: 115.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.704, allocations: 0.9375 kB / 0.6875 GB, free: 115.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004602/1.709, allocations: 2.99 MB / 0.6905 GB, free: 112.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005145/1.714, allocations: 0.9174 MB / 0.6914 GB, free: 111.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0309/1.745, allocations: 19.47 MB / 0.7104 GB, free: 91.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009841/1.755, allocations: 6.235 MB / 0.7165 GB, free: 85.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006948/1.762, allocations: 1.937 MB / 0.7184 GB, free: 83.74 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/1.764, allocations: 307.4 kB / 0.7187 GB, free: 83.44 MB / 462.1 MB Notification: Performance of SimCode: time 1.703e-06/1.764, allocations: 0 / 0.7187 GB, free: 83.44 MB / 462.1 MB Notification: Performance of Templates: time 0.09622/1.86, allocations: 59.52 MB / 0.7768 GB, free: 23.88 MB / 462.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)