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.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009299/0.009299, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.628/1.628, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.0004907/0.0004909, allocations: 11.98 kB / 279.5 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3206, allocations: 47.58 MB / 327.1 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03857/0.3592, allocations: 25.45 MB / 352.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02799/0.3873, allocations: 7.85 MB / 360.4 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007998/0.3953, allocations: 163.4 kB / 360.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.4055, allocations: 1.95 MB / 362.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01977/0.4253, allocations: 3.061 MB / 365.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.4365, allocations: 1.626 MB / 367.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01991/0.4564, allocations: 12.43 MB / 379.6 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04324/0.4997, allocations: 24.1 MB / 403.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008524/0.5083, allocations: 4.636 MB / 408.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01068/0.519, allocations: 5.637 MB / 414 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003438/0.5225, allocations: 0.7226 MB / 414.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005442/0.5279, allocations: 1.081 MB / 415.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004145/0.5321, allocations: 2.316 MB / 418.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01132/0.5435, allocations: 5.534 MB / 423.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02753/0.571, allocations: 23.28 MB / 446.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.5711, allocations: 4 kB / 446.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.5711, allocations: 4 kB / 446.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006805/0.5718, allocations: 0 / 446.9 MB, free: 11.06 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.3778/0.9496, allocations: 12.27 MB / 459.2 MB, free: 94.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.9497, allocations: 12.78 kB / 459.2 MB, free: 94.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05074/1, allocations: 9.468 MB / 468.7 MB, free: 91.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/1.015, allocations: 6.906 MB / 475.6 MB, free: 87.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008847/1.016, allocations: 0.8201 MB / 476.4 MB, free: 86.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005017/1.021, allocations: 1.073 MB / 477.5 MB, free: 85.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04668/1.068, allocations: 18.77 MB / 496.2 MB, free: 66.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004673/1.068, allocations: 15.81 kB / 496.2 MB, free: 66.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003867/1.072, allocations: 463.6 kB / 496.7 MB, free: 66.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006703/1.073, allocations: 0.695 MB / 497.4 MB, free: 65.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03763/1.111, allocations: 18.24 MB / 0.5035 GB, free: 47.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1002/1.211, allocations: 60.17 MB / 0.5623 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03893/1.25, allocations: 46.7 MB / 0.6079 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007359/1.257, allocations: 4.345 MB / 0.6121 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2275/1.485, allocations: 12.48 MB / 0.6243 GB, free: 158 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/1.485, allocations: 73.67 kB / 0.6244 GB, free: 158 MB / 462.1 MB Notification: Performance of pre-optimization done (n=391): time 5.47e-06/1.485, allocations: 0 / 0.6244 GB, free: 158 MB / 462.1 MB Notification: Performance of matching and sorting (n=397): time 0.04378/1.529, allocations: 19.55 MB / 0.6435 GB, free: 152 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/1.529, allocations: 92.72 kB / 0.6436 GB, free: 151.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007613/1.537, allocations: 4.336 MB / 0.6478 GB, free: 150.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007956/1.537, allocations: 87.42 kB / 0.6479 GB, free: 150.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002375/1.54, allocations: 4.817 MB / 0.6526 GB, free: 146.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001359/1.541, allocations: 1.371 MB / 0.6539 GB, free: 145.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006088/1.542, allocations: 0.5074 MB / 0.6544 GB, free: 145.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.693e-05/1.542, allocations: 301.1 kB / 0.6547 GB, free: 145 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004115/1.546, allocations: 3.162 MB / 0.6578 GB, free: 143.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004821/1.551, allocations: 5.785 MB / 0.6635 GB, free: 139.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009894/1.561, allocations: 9.532 MB / 0.6728 GB, free: 129.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/1.561, allocations: 24 kB / 0.6728 GB, free: 129.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01751/1.578, allocations: 10.34 MB / 0.6829 GB, free: 118.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.56e-05/1.578, allocations: 45.31 kB / 0.6829 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001605/1.579, allocations: 84 kB / 0.683 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003587/1.582, allocations: 1.413 MB / 0.6844 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005324/1.588, allocations: 1.458 MB / 0.6858 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/1.602, allocations: 10.58 MB / 0.6962 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007328/1.609, allocations: 403.3 kB / 0.6965 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/1.611, allocations: 331.9 kB / 0.6969 GB, free: 104.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (755): * Single equations (assignments): 750 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008456/1.619, allocations: 4.18 MB / 0.7009 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/1.621, allocations: 450.2 kB / 0.7014 GB, free: 99.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/1.634, allocations: 7.419 MB / 0.7086 GB, free: 92.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008007/1.642, allocations: 6.102 MB / 0.7146 GB, free: 86.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/1.642, allocations: 15.56 kB / 0.7146 GB, free: 86.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-05/1.642, allocations: 23.91 kB / 0.7146 GB, free: 86.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02394/1.666, allocations: 16.49 MB / 0.7307 GB, free: 69.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.666, allocations: 0 / 0.7307 GB, free: 69.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/1.669, allocations: 0.7255 MB / 0.7314 GB, free: 69.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003013/1.672, allocations: 1.25 MB / 0.7326 GB, free: 67.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000299/1.672, allocations: 87.98 kB / 0.7327 GB, free: 67.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/1.684, allocations: 9.32 MB / 0.7418 GB, free: 58.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.684, allocations: 0 / 0.7418 GB, free: 58.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/1.698, allocations: 10.67 MB / 0.7522 GB, free: 47.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002558/1.7, allocations: 1.054 MB / 0.7533 GB, free: 46.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009015/1.701, allocations: 75.84 kB / 0.7533 GB, free: 46.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.704, allocations: 259.8 kB / 0.7536 GB, free: 46.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006465/1.704, allocations: 275.5 kB / 0.7539 GB, free: 45.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002309/1.705, allocations: 116 kB / 0.754 GB, free: 45.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003817/1.708, allocations: 2.901 MB / 0.7568 GB, free: 42.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.709, allocations: 0 / 0.7568 GB, free: 42.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006381/1.715, allocations: 1.846 MB / 0.7586 GB, free: 40.97 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (363): * Single equations (assignments): 358 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007053/1.716, allocations: 259.2 kB / 0.7588 GB, free: 40.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01149/1.727, allocations: 8.016 MB / 0.7667 GB, free: 32.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.727, allocations: 3.938 kB / 0.7667 GB, free: 32.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005876/1.733, allocations: 3.699 MB / 0.7703 GB, free: 28.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006787/1.74, allocations: 1.027 MB / 0.7713 GB, free: 27.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.237/1.977, allocations: 23.64 MB / 0.7944 GB, free: 138.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009126/1.986, allocations: 7.032 MB / 0.8012 GB, free: 137.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006297/1.992, allocations: 2.242 MB / 0.8034 GB, free: 137.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.994, allocations: 369.3 kB / 0.8038 GB, free: 137.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/1.994, allocations: 0 / 0.8038 GB, free: 137.8 MB / 462.1 MB Notification: Performance of Templates: time 0.1047/2.098, allocations: 71.73 MB / 0.8738 GB, free: 80.56 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)