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.0008926/0.0008923, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.006436/0.006436, allocations: 173.7 kB / 16.27 MB, free: 6.676 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.435/1.435, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.0004613/0.0004612, allocations: 16 kB / 279.5 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2993, allocations: 47.58 MB / 327.1 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02426/0.3236, allocations: 23.36 MB / 350.4 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.3409, allocations: 7.206 MB / 357.6 MB, free: 4.711 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006243/0.3472, allocations: 151.5 kB / 357.8 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00731/0.3546, allocations: 1.794 MB / 359.6 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01255/0.3672, allocations: 2.699 MB / 362.3 MB, free: 52 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005751/0.3729, allocations: 1.525 MB / 363.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01606/0.389, allocations: 10.81 MB / 374.6 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04119/0.4302, allocations: 22.18 MB / 396.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008113/0.4384, allocations: 4.071 MB / 400.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01154/0.45, allocations: 4.875 MB / 405.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002916/0.453, allocations: 0.6484 MB / 406.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004903/0.4579, allocations: 1.011 MB / 407.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002942/0.4608, allocations: 1.985 MB / 409.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008957/0.4698, allocations: 4.842 MB / 414.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02626/0.4961, allocations: 21.03 MB / 435.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4962, allocations: 0 / 435.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.4962, allocations: 0 / 435.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000713/0.4969, allocations: 4 kB / 435.3 MB, free: 6.727 MB / 366.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.0348/0.5317, allocations: 10.81 MB / 446.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.5318, allocations: 8.031 kB / 446.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04216/0.5739, allocations: 7.168 MB / 453.2 MB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4329/1.007, allocations: 6.178 MB / 459.4 MB, free: 93.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001296/1.008, allocations: 0.7132 MB / 460.1 MB, free: 93.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00554/1.014, allocations: 0.9373 MB / 461.1 MB, free: 92.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04112/1.055, allocations: 16.23 MB / 477.3 MB, free: 85.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002488/1.055, allocations: 9.969 kB / 477.3 MB, free: 85.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001165/1.056, allocations: 404.1 kB / 477.7 MB, free: 85.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004994/1.057, allocations: 0.5779 MB / 478.3 MB, free: 85.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03126/1.088, allocations: 15.47 MB / 493.7 MB, free: 71.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08416/1.172, allocations: 52.99 MB / 0.5339 GB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02972/1.202, allocations: 35.49 MB / 0.5686 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006046/1.208, allocations: 3.438 MB / 0.5719 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01685/1.225, allocations: 10.16 MB / 0.5819 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/1.225, allocations: 60.92 kB / 0.5819 GB, free: 12.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=303): time 5.811e-06/1.225, allocations: 0 / 0.5819 GB, free: 12.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=309): time 0.03521/1.26, allocations: 15.22 MB / 0.5968 GB, free: 13.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/1.26, allocations: 81.81 kB / 0.5969 GB, free: 13.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006327/1.267, allocations: 3.856 MB / 0.6006 GB, free: 9.309 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003594/1.267, allocations: 77.7 kB / 0.6007 GB, free: 9.227 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003083/1.27, allocations: 4.242 MB / 0.6048 GB, free: 4.957 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001198/1.271, allocations: 1.081 MB / 0.6059 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005865/1.272, allocations: 437.8 kB / 0.6063 GB, free: 3.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/1.272, allocations: 309.1 kB / 0.6066 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/1.276, allocations: 2.591 MB / 0.6091 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005501/1.282, allocations: 4.968 MB / 0.614 GB, free: 10.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.293, allocations: 8.025 MB / 0.6218 GB, free: 1.289 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-05/1.293, allocations: 24 kB / 0.6219 GB, free: 1.266 MB / 462.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.2816/1.574, allocations: 8.716 MB / 0.6304 GB, free: 155.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.074e-05/1.574, allocations: 39.47 kB / 0.6304 GB, free: 155.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/1.575, allocations: 78.91 kB / 0.6305 GB, free: 155.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/1.578, allocations: 1.202 MB / 0.6317 GB, free: 155.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004748/1.583, allocations: 1.231 MB / 0.6329 GB, free: 155.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/1.596, allocations: 9.146 MB / 0.6418 GB, free: 150.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004869/1.601, allocations: 331.3 kB / 0.6421 GB, free: 150.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/1.602, allocations: 287.5 kB / 0.6424 GB, free: 150.3 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 (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.007304/1.609, allocations: 3.731 MB / 0.646 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.61, allocations: 383.8 kB / 0.6464 GB, free: 148.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.621, allocations: 5.871 MB / 0.6521 GB, free: 146.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00701/1.628, allocations: 4.843 MB / 0.6569 GB, free: 144.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/1.628, allocations: 12.06 kB / 0.6569 GB, free: 144.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.767e-05/1.628, allocations: 18.84 kB / 0.6569 GB, free: 144.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02355/1.651, allocations: 13.83 MB / 0.6704 GB, free: 133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.651, allocations: 4 kB / 0.6704 GB, free: 133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/1.654, allocations: 0.566 MB / 0.6709 GB, free: 132.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002727/1.656, allocations: 1.082 MB / 0.672 GB, free: 131.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002529/1.657, allocations: 67.98 kB / 0.6721 GB, free: 131.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/1.667, allocations: 8.07 MB / 0.6799 GB, free: 123.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.667, allocations: 4 kB / 0.6799 GB, free: 123.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.678, allocations: 8.628 MB / 0.6884 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.68, allocations: 0.8866 MB / 0.6892 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004639/1.681, allocations: 59.98 kB / 0.6893 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.683, allocations: 197.5 kB / 0.6895 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005468/1.683, allocations: 230.6 kB / 0.6897 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/1.684, allocations: 99.97 kB / 0.6898 GB, free: 113.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003381/1.687, allocations: 2.581 MB / 0.6923 GB, free: 110.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.687, allocations: 4 kB / 0.6923 GB, free: 110.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005276/1.692, allocations: 1.552 MB / 0.6938 GB, free: 109 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.0005413/1.693, allocations: 237 kB / 0.6941 GB, free: 108.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009815/1.703, allocations: 6.6 MB / 0.7005 GB, free: 102.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.703, allocations: 4.062 kB / 0.7005 GB, free: 102.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00459/1.707, allocations: 2.995 MB / 0.7034 GB, free: 99.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005905/1.713, allocations: 0.8982 MB / 0.7043 GB, free: 98.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02675/1.74, allocations: 20.38 MB / 0.7242 GB, free: 77.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006047/1.746, allocations: 6.224 MB / 0.7303 GB, free: 71.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00527/1.751, allocations: 1.941 MB / 0.7322 GB, free: 69.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008948/1.752, allocations: 307.4 kB / 0.7325 GB, free: 69.25 MB / 462.1 MB Notification: Performance of SimCode: time 1.914e-06/1.752, allocations: 0 / 0.7325 GB, free: 69.25 MB / 462.1 MB Notification: Performance of Templates: time 0.3011/2.053, allocations: 60.72 MB / 0.7918 GB, free: 147.7 MB / 462.1 MB 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)