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.008093/0.008093, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001936/0.001936, allocations: 195 kB / 16.67 MB, free: 5.977 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.454/1.454, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001242/0.001242, allocations: 49.39 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1263, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02641/0.1527, allocations: 24.89 MB / 398.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01845/0.1712, allocations: 7.353 MB / 405.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004937/0.1762, allocations: 155.5 kB / 405.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02077/0.1971, allocations: 8.794 MB / 414.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01271/0.2098, allocations: 2.973 MB / 417.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006087/0.2159, allocations: 1.742 MB / 419.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0172/0.2331, allocations: 10.86 MB / 430 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04301/0.2762, allocations: 21.88 MB / 451.8 MB, free: 2.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3257/0.6019, allocations: 5.775 MB / 457.6 MB, free: 22.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01376/0.6157, allocations: 6.349 MB / 464 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007644/0.6234, allocations: 1.68 MB / 465.6 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/0.6334, allocations: 2.04 MB / 467.7 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005512/0.639, allocations: 3.22 MB / 470.9 MB, free: 22.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01411/0.6531, allocations: 6.175 MB / 477.1 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02568/0.6788, allocations: 22.42 MB / 499.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6789, allocations: 1.562 kB / 499.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6789, allocations: 0 / 499.5 MB, free: 6.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007067/0.6796, allocations: 0 / 499.5 MB, free: 6.57 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.0451/0.7247, allocations: 13.14 MB / 0.5006 GB, free: 14.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.33e-05/0.7248, allocations: 8.031 kB / 0.5006 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04097/0.7658, allocations: 7.234 MB / 0.5077 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01554/0.7814, allocations: 6.17 MB / 0.5137 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006086/0.782, allocations: 0.7093 MB / 0.5144 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005239/0.7872, allocations: 0.9365 MB / 0.5153 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04255/0.8298, allocations: 16.21 MB / 0.5311 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005195/0.8304, allocations: 23.81 kB / 0.5312 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003499/0.8339, allocations: 397.4 kB / 0.5316 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007363/0.8347, allocations: 0.5786 MB / 0.5321 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03555/0.8703, allocations: 15.47 MB / 0.5472 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1065/0.9768, allocations: 52.34 MB / 0.5983 GB, free: 9.934 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0353/1.012, allocations: 35.51 MB / 0.633 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2909/1.303, allocations: 3.372 MB / 0.6363 GB, free: 178.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0212/1.324, allocations: 10.07 MB / 0.6461 GB, free: 175.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/1.324, allocations: 67.95 kB / 0.6462 GB, free: 175.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=297): time 6.732e-06/1.324, allocations: 1.078 kB / 0.6462 GB, free: 175.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=303): time 0.03386/1.358, allocations: 15.47 MB / 0.6613 GB, free: 169.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/1.358, allocations: 82.44 kB / 0.6614 GB, free: 169.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0058/1.364, allocations: 3.864 MB / 0.6652 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000289/1.365, allocations: 75.7 kB / 0.6652 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002231/1.367, allocations: 4.413 MB / 0.6695 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007454/1.368, allocations: 1.102 MB / 0.6706 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/1.369, allocations: 1.107 MB / 0.6717 GB, free: 163.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.605e-05/1.369, allocations: 305.1 kB / 0.672 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003189/1.372, allocations: 2.553 MB / 0.6745 GB, free: 161.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003994/1.376, allocations: 4.911 MB / 0.6793 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00802/1.384, allocations: 7.954 MB / 0.6871 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-05/1.384, allocations: 27.38 kB / 0.6871 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01254/1.397, allocations: 8.66 MB / 0.6955 GB, free: 147.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/1.397, allocations: 39.94 kB / 0.6956 GB, free: 147.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/1.397, allocations: 80 kB / 0.6957 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003015/1.4, allocations: 1.239 MB / 0.6969 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003521/1.404, allocations: 1.236 MB / 0.6981 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/1.416, allocations: 9.954 MB / 0.7078 GB, free: 135 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/1.42, allocations: 331.5 kB / 0.7081 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008311/1.421, allocations: 288 kB / 0.7084 GB, free: 134.4 MB / 0.5137 GB 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 (638): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 prepare postOptimizeDAE: time 0.006795/1.428, allocations: 3.732 MB / 0.712 GB, free: 130.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/1.429, allocations: 397.4 kB / 0.7124 GB, free: 130.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.44, allocations: 5.803 MB / 0.7181 GB, free: 124.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007159/1.447, allocations: 4.77 MB / 0.7227 GB, free: 119.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.411e-05/1.447, allocations: 12 kB / 0.7227 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.01e-05/1.447, allocations: 15.94 kB / 0.7228 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02828/1.475, allocations: 13.69 MB / 0.7361 GB, free: 105.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/1.475, allocations: 8.094 kB / 0.7361 GB, free: 105.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002385/1.478, allocations: 0.5578 MB / 0.7367 GB, free: 105.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003073/1.481, allocations: 1.106 MB / 0.7378 GB, free: 104.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004158/1.481, allocations: 75.97 kB / 0.7378 GB, free: 104.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/1.493, allocations: 8.851 MB / 0.7465 GB, free: 95.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.493, allocations: 11.94 kB / 0.7465 GB, free: 95.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/1.507, allocations: 8.517 MB / 0.7548 GB, free: 86.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002427/1.509, allocations: 0.8927 MB / 0.7557 GB, free: 85.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.511, allocations: 59.94 kB / 0.7557 GB, free: 85.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002668/1.513, allocations: 187.8 kB / 0.7559 GB, free: 85.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000667/1.514, allocations: 218.8 kB / 0.7561 GB, free: 85.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002758/1.514, allocations: 95.98 kB / 0.7562 GB, free: 85.01 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005453/1.52, allocations: 2.588 MB / 0.7587 GB, free: 82.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.11e-07/1.52, allocations: 2.719 kB / 0.7587 GB, free: 82.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00787/1.528, allocations: 1.555 MB / 0.7603 GB, free: 80.88 MB / 0.5137 GB 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 (282): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007945/1.528, allocations: 252.2 kB / 0.7605 GB, free: 80.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01092/1.539, allocations: 6.523 MB / 0.7669 GB, free: 74.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.539, allocations: 0 / 0.7669 GB, free: 74.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005148/1.545, allocations: 2.966 MB / 0.7698 GB, free: 71.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00625/1.551, allocations: 0.9413 MB / 0.7707 GB, free: 70.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0333/1.584, allocations: 16.35 MB / 0.7867 GB, free: 53.76 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01075/1.595, allocations: 6.223 MB / 0.7927 GB, free: 47.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006095/1.601, allocations: 1.871 MB / 0.7946 GB, free: 45.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.603, allocations: 311.4 kB / 0.7949 GB, free: 45.31 MB / 0.5137 GB Notification: Performance of SimCode: time 1.813e-06/1.603, allocations: 0 / 0.7949 GB, free: 45.31 MB / 0.5137 GB Notification: Performance of Templates: time 0.3604/1.963, allocations: 60.76 MB / 0.8542 GB, free: 156.8 MB / 0.5137 GB 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)