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.008495/0.008495, allocations: 103.4 kB / 15.74 MB, free: 6.008 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.00178/0.00178, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.489/1.489, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001222/0.001222, allocations: 55.92 kB / 326.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1206, allocations: 46.62 MB / 373.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2976/0.4183, allocations: 24.88 MB / 398.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01955/0.4379, allocations: 7.355 MB / 405.4 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008579/0.4465, allocations: 154.6 kB / 405.6 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02418/0.4708, allocations: 8.792 MB / 414.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01498/0.4858, allocations: 2.976 MB / 417.3 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007028/0.4928, allocations: 1.732 MB / 419.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01976/0.5126, allocations: 10.88 MB / 430 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03954/0.5522, allocations: 21.86 MB / 451.8 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01165/0.5639, allocations: 5.779 MB / 457.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01365/0.5776, allocations: 6.343 MB / 463.9 MB, free: 4.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005161/0.5828, allocations: 1.687 MB / 465.6 MB, free: 2.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009111/0.5919, allocations: 2.046 MB / 467.7 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006646/0.5987, allocations: 3.215 MB / 470.9 MB, free: 13.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01526/0.614, allocations: 6.172 MB / 477.1 MB, free: 7.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03058/0.6446, allocations: 22.38 MB / 499.4 MB, free: 1.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.6446, allocations: 0 / 499.4 MB, free: 1.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.6446, allocations: 0 / 499.4 MB, free: 1.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006632/0.6453, allocations: 0 / 499.4 MB, free: 1.059 MB / 414.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.05347/0.6988, allocations: 12.9 MB / 0.5003 GB, free: 4.066 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.6989, allocations: 8.031 kB / 0.5003 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0428/0.7417, allocations: 7.191 MB / 0.5074 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/0.759, allocations: 6.168 MB / 0.5134 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009436/0.76, allocations: 0.7183 MB / 0.5141 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005542/0.7655, allocations: 0.9335 MB / 0.515 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05104/0.8166, allocations: 16.2 MB / 0.5308 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004757/0.8171, allocations: 11.91 kB / 0.5308 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005749/0.8229, allocations: 400 kB / 0.5312 GB, free: 4.301 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006992/0.8236, allocations: 0.5825 MB / 0.5318 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04092/0.8645, allocations: 15.46 MB / 0.5469 GB, free: 4.227 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6527/1.517, allocations: 52.23 MB / 0.5979 GB, free: 105.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02346/1.541, allocations: 35.49 MB / 0.6325 GB, free: 70.55 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00515/1.546, allocations: 3.385 MB / 0.6358 GB, free: 68.76 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/1.562, allocations: 10.05 MB / 0.6457 GB, free: 60.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/1.562, allocations: 68.83 kB / 0.6457 GB, free: 60.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 5.029e-06/1.562, allocations: 3.219 kB / 0.6457 GB, free: 60.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.03345/1.595, allocations: 15.35 MB / 0.6607 GB, free: 45.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/1.595, allocations: 81.78 kB / 0.6608 GB, free: 44.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005136/1.601, allocations: 3.852 MB / 0.6646 GB, free: 41.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005718/1.601, allocations: 77.64 kB / 0.6646 GB, free: 41.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.603, allocations: 4.253 MB / 0.6688 GB, free: 36.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009108/1.604, allocations: 1.059 MB / 0.6698 GB, free: 35.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/1.605, allocations: 1.099 MB / 0.6709 GB, free: 34.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.544e-05/1.605, allocations: 301.1 kB / 0.6712 GB, free: 34.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00302/1.608, allocations: 2.552 MB / 0.6737 GB, free: 31.74 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003813/1.612, allocations: 4.905 MB / 0.6785 GB, free: 25.71 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007634/1.62, allocations: 7.95 MB / 0.6862 GB, free: 16.62 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.442e-05/1.62, allocations: 24 kB / 0.6863 GB, free: 16.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01434/1.634, allocations: 8.644 MB / 0.6947 GB, free: 7.914 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/1.634, allocations: 40 kB / 0.6947 GB, free: 7.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/1.635, allocations: 76 kB / 0.6948 GB, free: 7.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003026/1.638, allocations: 1.25 MB / 0.696 GB, free: 6.551 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/1.641, allocations: 1.221 MB / 0.6972 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/1.655, allocations: 9.956 MB / 0.7069 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004895/1.66, allocations: 335.4 kB / 0.7073 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009936/1.661, allocations: 288 kB / 0.7075 GB, free: 10.62 MB / 494.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 (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.007506/1.668, allocations: 3.728 MB / 0.7112 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.669, allocations: 383.3 kB / 0.7115 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/1.68, allocations: 5.811 MB / 0.7172 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007861/1.688, allocations: 4.766 MB / 0.7219 GB, free: 11.82 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/1.688, allocations: 8 kB / 0.7219 GB, free: 11.82 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/1.688, allocations: 15.94 kB / 0.7219 GB, free: 11.8 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02484/1.713, allocations: 13.69 MB / 0.7353 GB, free: 14.05 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.713, allocations: 4 kB / 0.7353 GB, free: 14.04 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/1.715, allocations: 0.5617 MB / 0.7358 GB, free: 13.48 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003288/1.719, allocations: 1.113 MB / 0.7369 GB, free: 12.36 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/1.719, allocations: 75.92 kB / 0.737 GB, free: 12.29 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/1.732, allocations: 8.843 MB / 0.7456 GB, free: 3.316 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.732, allocations: 7.938 kB / 0.7456 GB, free: 3.309 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2607/1.993, allocations: 8.493 MB / 0.7539 GB, free: 172.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/1.996, allocations: 0.8672 MB / 0.7548 GB, free: 172.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006527/1.996, allocations: 60.08 kB / 0.7548 GB, free: 172.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/1.998, allocations: 184.6 kB / 0.755 GB, free: 172.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006782/1.999, allocations: 224.3 kB / 0.7552 GB, free: 172.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.999, allocations: 95.95 kB / 0.7553 GB, free: 172.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004855/2.004, allocations: 2.586 MB / 0.7578 GB, free: 171.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.31e-07/2.004, allocations: 0 / 0.7578 GB, free: 171.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007002/2.011, allocations: 1.556 MB / 0.7593 GB, free: 171.6 MB / 0.5138 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.0008878/2.012, allocations: 244.7 kB / 0.7596 GB, free: 171.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01257/2.025, allocations: 6.521 MB / 0.7659 GB, free: 168.9 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/2.025, allocations: 1.219 kB / 0.7659 GB, free: 168.9 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00574/2.03, allocations: 2.972 MB / 0.7689 GB, free: 167.7 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004777/2.035, allocations: 0.9473 MB / 0.7698 GB, free: 167.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03712/2.072, allocations: 16.09 MB / 0.7855 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007694/2.08, allocations: 6.233 MB / 0.7916 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005214/2.085, allocations: 1.881 MB / 0.7934 GB, free: 156 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009298/2.086, allocations: 302.3 kB / 0.7937 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of SimCode: time 1.092e-06/2.086, allocations: 0 / 0.7937 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.09363/2.18, allocations: 60.76 MB / 0.853 GB, free: 96.88 MB / 0.5138 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)