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.0009266/0.0009266, allocations: 91.02 kB / 16.31 MB, free: 5.66 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.001009/0.001009, allocations: 179.3 kB / 17.21 MB, free: 5.578 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.512/1.512, allocations: 205.4 MB / 223.4 MB, free: 5.691 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.0004984/0.0004985, allocations: 12 kB / 280.2 MB, free: 13.03 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3126, allocations: 47.58 MB / 327.8 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0239/0.3365, allocations: 21.64 MB / 349.4 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01956/0.3562, allocations: 6.76 MB / 356.2 MB, free: 7.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006735/0.3629, allocations: 147.5 kB / 356.3 MB, free: 6.926 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006733/0.3697, allocations: 1.352 MB / 357.6 MB, free: 5.566 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.3809, allocations: 2.446 MB / 360.1 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005937/0.3869, allocations: 1.162 MB / 361.3 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02177/0.4087, allocations: 13.36 MB / 374.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04256/0.4513, allocations: 18.01 MB / 392.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008915/0.4602, allocations: 4.252 MB / 396.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009259/0.4695, allocations: 4.67 MB / 401.6 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002893/0.4725, allocations: 0.6445 MB / 402.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005143/0.4776, allocations: 0.9996 MB / 403.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003872/0.4815, allocations: 1.947 MB / 405.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005435/0.487, allocations: 2.071 MB / 407.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0243/0.5113, allocations: 18.99 MB / 426.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.5114, allocations: 4 kB / 426.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5114, allocations: 0 / 426.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0008221/0.5122, allocations: 0 / 426.2 MB, free: 0.7539 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.03717/0.5494, allocations: 10.92 MB / 437.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.5495, allocations: 8.031 kB / 437.1 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03999/0.5895, allocations: 7.163 MB / 444.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/0.6048, allocations: 6.096 MB / 450.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009292/0.6058, allocations: 0.7184 MB / 451.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004266/0.6101, allocations: 0.9412 MB / 452 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4726/1.083, allocations: 16.14 MB / 468.2 MB, free: 87.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003178/1.083, allocations: 10.34 kB / 468.2 MB, free: 87.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003678/1.087, allocations: 400.8 kB / 468.6 MB, free: 87.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000588/1.087, allocations: 0.5787 MB / 469.2 MB, free: 87.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03372/1.121, allocations: 15.4 MB / 484.6 MB, free: 80.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09228/1.213, allocations: 52.95 MB / 0.5249 GB, free: 28.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02607/1.24, allocations: 35.47 MB / 0.5596 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006659/1.246, allocations: 3.419 MB / 0.5629 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02123/1.268, allocations: 10.16 MB / 0.5728 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.269e-05/1.268, allocations: 68.92 kB / 0.5729 GB, free: 6.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=303): time 6.222e-06/1.268, allocations: 0 / 0.5729 GB, free: 6.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=309): time 0.0467/1.314, allocations: 17.19 MB / 0.5897 GB, free: 5.391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/1.314, allocations: 93.75 kB / 0.5898 GB, free: 5.285 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007996/1.322, allocations: 3.82 MB / 0.5935 GB, free: 1.473 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007099/1.323, allocations: 77.7 kB / 0.5936 GB, free: 1.391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003313/1.327, allocations: 4.257 MB / 0.5977 GB, free: 13.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001518/1.328, allocations: 1.069 MB / 0.5988 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006976/1.329, allocations: 112 kB / 0.5989 GB, free: 11.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005175/1.329, allocations: 0.5254 MB / 0.5994 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0048/1.334, allocations: 2.575 MB / 0.6019 GB, free: 8.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006357/1.341, allocations: 4.937 MB / 0.6067 GB, free: 2.758 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006274/1.347, allocations: 3.702 MB / 0.6103 GB, free: 15.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-05/1.347, allocations: 20 kB / 0.6104 GB, free: 15.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01696/1.364, allocations: 8.665 MB / 0.6188 GB, free: 6.312 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.912e-05/1.364, allocations: 40 kB / 0.6189 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001589/1.364, allocations: 80.53 kB / 0.6189 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/1.368, allocations: 1.223 MB / 0.6201 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004894/1.373, allocations: 1.224 MB / 0.6213 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2519/1.624, allocations: 9.119 MB / 0.6302 GB, free: 152.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004491/1.629, allocations: 333.4 kB / 0.6305 GB, free: 152.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007964/1.63, allocations: 285.8 kB / 0.6308 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.006469/1.636, allocations: 3.738 MB / 0.6345 GB, free: 150.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008746/1.637, allocations: 378.2 kB / 0.6348 GB, free: 150.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009148/1.646, allocations: 5.872 MB / 0.6406 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007024/1.653, allocations: 4.809 MB / 0.6453 GB, free: 146.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/1.653, allocations: 15.22 kB / 0.6453 GB, free: 146.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/1.653, allocations: 15.75 kB / 0.6453 GB, free: 146.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/1.676, allocations: 13.8 MB / 0.6588 GB, free: 140.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.676, allocations: 0 / 0.6588 GB, free: 140.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/1.678, allocations: 0.5678 MB / 0.6593 GB, free: 140.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/1.68, allocations: 1.075 MB / 0.6604 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002335/1.681, allocations: 77.38 kB / 0.6604 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009994/1.691, allocations: 8.056 MB / 0.6683 GB, free: 136 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.691, allocations: 7.938 kB / 0.6683 GB, free: 136 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/1.702, allocations: 8.59 MB / 0.6767 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/1.704, allocations: 0.8912 MB / 0.6776 GB, free: 127 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009895/1.705, allocations: 60 kB / 0.6776 GB, free: 126.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/1.707, allocations: 190.7 kB / 0.6778 GB, free: 126.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005237/1.708, allocations: 226.7 kB / 0.678 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/1.708, allocations: 91.92 kB / 0.6781 GB, free: 126.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003853/1.712, allocations: 2.557 MB / 0.6806 GB, free: 123.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.712, allocations: 1.562 kB / 0.6806 GB, free: 123.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007266/1.719, allocations: 1.552 MB / 0.6821 GB, free: 122.4 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.0006948/1.72, allocations: 251.2 kB / 0.6824 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01054/1.73, allocations: 6.56 MB / 0.6888 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.731, allocations: 8.188 kB / 0.6888 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004852/1.735, allocations: 2.984 MB / 0.6917 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00559/1.741, allocations: 0.8995 MB / 0.6926 GB, free: 111.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03138/1.772, allocations: 19.48 MB / 0.7116 GB, free: 92.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006076/1.779, allocations: 6.231 MB / 0.7177 GB, free: 85.85 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005683/1.784, allocations: 1.941 MB / 0.7196 GB, free: 83.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009642/1.785, allocations: 311.3 kB / 0.7199 GB, free: 83.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.573e-06/1.785, allocations: 0 / 0.7199 GB, free: 83.6 MB / 462.1 MB Notification: Performance of Templates: time 0.0948/1.88, allocations: 59.53 MB / 0.778 GB, free: 24.04 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)