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.001016/0.001016, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.0009718/0.0009722, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.422/1.422, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001236/0.001236, allocations: 47.92 kB / 279.4 MB, free: 3.555 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1151, allocations: 46.63 MB / 326 MB, free: 4.848 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02617/0.1413, allocations: 24.45 MB / 350.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01803/0.1595, allocations: 7.292 MB / 357.7 MB, free: 4.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006528/0.166, allocations: 147.5 kB / 357.9 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02028/0.1864, allocations: 8.317 MB / 366.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.1989, allocations: 2.742 MB / 368.9 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006683/0.2056, allocations: 1.617 MB / 370.6 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.263/0.4686, allocations: 10.81 MB / 381.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03224/0.5009, allocations: 18.17 MB / 399.5 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009762/0.5107, allocations: 4.974 MB / 404.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.5208, allocations: 6.042 MB / 410.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003104/0.5239, allocations: 1.081 MB / 411.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005559/0.5295, allocations: 1.448 MB / 413.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002579/0.5321, allocations: 2.612 MB / 415.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01182/0.5439, allocations: 5.614 MB / 421.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02576/0.5697, allocations: 21.89 MB / 443.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.5698, allocations: 0 / 443.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5698, allocations: 0 / 443.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000703/0.5705, allocations: 4 kB / 443.2 MB, free: 7.727 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.04686/0.6173, allocations: 12.98 MB / 456.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.6174, allocations: 12.03 kB / 456.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04051/0.6579, allocations: 7.136 MB / 463.3 MB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/0.6739, allocations: 6.149 MB / 469.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008918/0.6749, allocations: 0.7209 MB / 470.2 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005234/0.6801, allocations: 0.9347 MB / 471.1 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0496/0.7297, allocations: 16.22 MB / 487.3 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005368/0.7303, allocations: 19.16 kB / 487.4 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004366/0.7347, allocations: 400.6 kB / 487.8 MB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007388/0.7355, allocations: 0.5786 MB / 488.3 MB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03831/0.7738, allocations: 15.47 MB / 0.492 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5126/1.286, allocations: 52.83 MB / 0.5436 GB, free: 120.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02632/1.313, allocations: 35.52 MB / 0.5783 GB, free: 90.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004961/1.318, allocations: 3.427 MB / 0.5816 GB, free: 90.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01597/1.334, allocations: 10.16 MB / 0.5915 GB, free: 88.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/1.334, allocations: 71.88 kB / 0.5916 GB, free: 88.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=303): time 4.488e-06/1.334, allocations: 0 / 0.5916 GB, free: 88.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=309): time 0.02974/1.364, allocations: 15.1 MB / 0.6064 GB, free: 81.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/1.364, allocations: 81.88 kB / 0.6064 GB, free: 81.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005427/1.369, allocations: 3.852 MB / 0.6102 GB, free: 80.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003624/1.37, allocations: 76.14 kB / 0.6103 GB, free: 80.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001997/1.372, allocations: 4.256 MB / 0.6144 GB, free: 76.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008692/1.372, allocations: 1.079 MB / 0.6155 GB, free: 75.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/1.374, allocations: 1.1 MB / 0.6166 GB, free: 75.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/1.374, allocations: 305.1 kB / 0.6168 GB, free: 74.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/1.377, allocations: 2.582 MB / 0.6194 GB, free: 73.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004201/1.381, allocations: 4.949 MB / 0.6242 GB, free: 68.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008033/1.389, allocations: 8.012 MB / 0.632 GB, free: 62.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.153e-05/1.389, allocations: 23.16 kB / 0.632 GB, free: 62.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01202/1.401, allocations: 8.688 MB / 0.6405 GB, free: 53.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/1.402, allocations: 36.94 kB / 0.6406 GB, free: 53.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/1.402, allocations: 84.47 kB / 0.6406 GB, free: 53.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002953/1.405, allocations: 1.21 MB / 0.6418 GB, free: 52.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004146/1.409, allocations: 1.224 MB / 0.643 GB, free: 51.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/1.42, allocations: 9.132 MB / 0.6519 GB, free: 41.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004824/1.425, allocations: 327.4 kB / 0.6523 GB, free: 41.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/1.426, allocations: 292 kB / 0.6525 GB, free: 41.18 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.007835/1.434, allocations: 3.724 MB / 0.6562 GB, free: 37.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/1.435, allocations: 395.1 kB / 0.6565 GB, free: 37.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008916/1.444, allocations: 5.855 MB / 0.6623 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006351/1.451, allocations: 4.818 MB / 0.667 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.451, allocations: 8 kB / 0.667 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/1.451, allocations: 15.94 kB / 0.667 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/1.471, allocations: 13.79 MB / 0.6805 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.471, allocations: 4 kB / 0.6805 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/1.473, allocations: 0.5617 MB / 0.681 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002572/1.476, allocations: 1.083 MB / 0.6821 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/1.476, allocations: 71.97 kB / 0.6821 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009472/1.485, allocations: 8.057 MB / 0.69 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.485, allocations: 8 kB / 0.69 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.498, allocations: 8.591 MB / 0.6984 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002121/1.5, allocations: 0.871 MB / 0.6993 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004651/1.501, allocations: 60 kB / 0.6993 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/1.503, allocations: 183.8 kB / 0.6995 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006246/1.503, allocations: 230.7 kB / 0.6997 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/1.503, allocations: 91.98 kB / 0.6998 GB, free: 8.305 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004559/1.508, allocations: 2.585 MB / 0.7023 GB, free: 5.734 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.508, allocations: 0 / 0.7023 GB, free: 5.734 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006141/1.514, allocations: 1.548 MB / 0.7038 GB, free: 4.191 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 (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.0005842/1.515, allocations: 259.4 kB / 0.7041 GB, free: 3.938 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1815/1.696, allocations: 6.568 MB / 0.7105 GB, free: 151.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.696, allocations: 1.5 kB / 0.7105 GB, free: 151.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005741/1.702, allocations: 2.988 MB / 0.7134 GB, free: 150.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004438/1.706, allocations: 0.8884 MB / 0.7143 GB, free: 150.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02735/1.734, allocations: 20.31 MB / 0.7341 GB, free: 140.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005242/1.739, allocations: 6.231 MB / 0.7402 GB, free: 137.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004863/1.744, allocations: 1.949 MB / 0.7421 GB, free: 137.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007854/1.745, allocations: 304.5 kB / 0.7424 GB, free: 137.5 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/1.745, allocations: 0 / 0.7424 GB, free: 137.5 MB / 462.1 MB Notification: Performance of Templates: time 0.08775/1.833, allocations: 61.69 MB / 0.8026 GB, free: 84.7 MB / 462.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)