Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009296/0.0009297, allocations: 91.53 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.005626/0.005627, allocations: 174.7 kB / 16.27 MB, free: 6.613 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.492/1.492, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.000509/0.000509, allocations: 12 kB / 279.5 MB, free: 12.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2894, allocations: 47.58 MB / 327.1 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02621/0.3157, allocations: 23.36 MB / 350.4 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01932/0.3351, allocations: 7.214 MB / 357.6 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007072/0.3422, allocations: 147.5 kB / 357.8 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007442/0.3497, allocations: 1.79 MB / 359.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01233/0.362, allocations: 2.703 MB / 362.3 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005925/0.368, allocations: 1.528 MB / 363.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01774/0.3857, allocations: 10.82 MB / 374.6 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03951/0.4253, allocations: 22.17 MB / 396.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009429/0.4348, allocations: 4.068 MB / 400.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0101/0.445, allocations: 4.886 MB / 405.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00342/0.4484, allocations: 0.6406 MB / 406.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005954/0.4544, allocations: 1.011 MB / 407.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003697/0.4581, allocations: 1.989 MB / 409.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01125/0.4694, allocations: 4.846 MB / 414.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02937/0.4988, allocations: 21.03 MB / 435.2 MB, free: 6.719 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4988, allocations: 0 / 435.2 MB, free: 6.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4988, allocations: 4 kB / 435.3 MB, free: 6.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0007478/0.4996, allocations: 0 / 435.3 MB, free: 6.715 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.03687/0.5365, allocations: 10.82 MB / 446.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.5365, allocations: 12.03 kB / 446.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04085/0.5774, allocations: 7.168 MB / 453.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4533/1.031, allocations: 6.17 MB / 459.4 MB, free: 93.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00117/1.032, allocations: 0.715 MB / 460.1 MB, free: 93.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005265/1.037, allocations: 0.9413 MB / 461.1 MB, free: 92.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04598/1.083, allocations: 16.22 MB / 477.3 MB, free: 85.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005823/1.084, allocations: 20.73 kB / 477.3 MB, free: 85.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00425/1.088, allocations: 398.8 kB / 477.7 MB, free: 85.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000685/1.089, allocations: 0.5745 MB / 478.3 MB, free: 85.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03895/1.128, allocations: 15.48 MB / 493.8 MB, free: 71.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0981/1.226, allocations: 52.98 MB / 0.5339 GB, free: 18.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03226/1.258, allocations: 35.49 MB / 0.5686 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007267/1.266, allocations: 3.434 MB / 0.5719 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02317/1.289, allocations: 10.16 MB / 0.5819 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.481e-05/1.289, allocations: 68.92 kB / 0.5819 GB, free: 12.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=303): time 9.958e-06/1.289, allocations: 0 / 0.5819 GB, free: 12.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=309): time 0.04/1.329, allocations: 15.22 MB / 0.5968 GB, free: 13.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.069e-05/1.329, allocations: 85.81 kB / 0.5969 GB, free: 13.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009617/1.339, allocations: 3.852 MB / 0.6006 GB, free: 9.289 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008256/1.34, allocations: 81.7 kB / 0.6007 GB, free: 9.203 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003971/1.344, allocations: 4.25 MB / 0.6049 GB, free: 4.926 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001938/1.346, allocations: 1.076 MB / 0.6059 GB, free: 3.855 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/1.347, allocations: 433.8 kB / 0.6063 GB, free: 3.426 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/1.347, allocations: 309.1 kB / 0.6066 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004934/1.352, allocations: 2.595 MB / 0.6091 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006438/1.358, allocations: 4.957 MB / 0.614 GB, free: 10.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/1.37, allocations: 8.032 MB / 0.6218 GB, free: 1.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/1.37, allocations: 24 kB / 0.6219 GB, free: 1.246 MB / 462.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.2555/1.626, allocations: 8.709 MB / 0.6304 GB, free: 155.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.366e-05/1.626, allocations: 39.62 kB / 0.6304 GB, free: 155.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/1.626, allocations: 79.03 kB / 0.6305 GB, free: 155.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002982/1.629, allocations: 1.207 MB / 0.6317 GB, free: 155.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003753/1.633, allocations: 1.23 MB / 0.6329 GB, free: 155.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/1.645, allocations: 9.137 MB / 0.6418 GB, free: 150.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004571/1.649, allocations: 334.7 kB / 0.6421 GB, free: 150.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007209/1.65, allocations: 285.6 kB / 0.6424 GB, free: 150.4 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.005958/1.656, allocations: 3.734 MB / 0.646 GB, free: 148.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007654/1.657, allocations: 379.9 kB / 0.6464 GB, free: 148.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009289/1.666, allocations: 5.884 MB / 0.6521 GB, free: 146.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006656/1.673, allocations: 4.838 MB / 0.6568 GB, free: 144.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/1.673, allocations: 12.62 kB / 0.6569 GB, free: 144.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.596e-05/1.673, allocations: 19.03 kB / 0.6569 GB, free: 144.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/1.692, allocations: 13.82 MB / 0.6704 GB, free: 133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.692, allocations: 7.844 kB / 0.6704 GB, free: 133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/1.694, allocations: 0.5578 MB / 0.6709 GB, free: 132.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/1.697, allocations: 1.086 MB / 0.672 GB, free: 131.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/1.697, allocations: 71.98 kB / 0.6721 GB, free: 131.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/1.707, allocations: 8.065 MB / 0.6799 GB, free: 123.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.707, allocations: 7.938 kB / 0.6799 GB, free: 123.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/1.718, allocations: 8.629 MB / 0.6884 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/1.72, allocations: 0.8866 MB / 0.6892 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000491/1.72, allocations: 60 kB / 0.6893 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/1.722, allocations: 191.9 kB / 0.6895 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006287/1.723, allocations: 226.6 kB / 0.6897 GB, free: 113.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/1.723, allocations: 88.86 kB / 0.6898 GB, free: 113.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003678/1.727, allocations: 2.588 MB / 0.6923 GB, free: 110.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.727, allocations: 3.938 kB / 0.6923 GB, free: 110.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00548/1.732, allocations: 1.548 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.0005568/1.733, allocations: 245.5 kB / 0.6941 GB, free: 108.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00965/1.743, allocations: 6.601 MB / 0.7005 GB, free: 102.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.743, allocations: 0 / 0.7005 GB, free: 102.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004328/1.747, allocations: 3.016 MB / 0.7034 GB, free: 99.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005443/1.752, allocations: 0.8901 MB / 0.7043 GB, free: 98.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/1.779, allocations: 20.37 MB / 0.7242 GB, free: 77.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005557/1.785, allocations: 6.231 MB / 0.7303 GB, free: 71.53 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005131/1.79, allocations: 1.941 MB / 0.7322 GB, free: 69.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000837/1.791, allocations: 299.4 kB / 0.7325 GB, free: 69.29 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/1.791, allocations: 0 / 0.7325 GB, free: 69.29 MB / 462.1 MB Notification: Performance of Templates: time 0.3086/2.099, allocations: 60.74 MB / 0.7918 GB, free: 147.8 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1)