Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009319/0.0009316, allocations: 91.84 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.00877/0.00877, allocations: 170 kB / 16.26 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.61/1.61, 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.0004374/0.0004376, allocations: 8 kB / 279.5 MB, free: 12.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2556, allocations: 47.58 MB / 327.1 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02531/0.2809, allocations: 25.44 MB / 352.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.2983, allocations: 7.85 MB / 360.4 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006025/0.3043, allocations: 167.4 kB / 360.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007376/0.3117, allocations: 1.95 MB / 362.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.3243, allocations: 3.057 MB / 365.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006072/0.3304, allocations: 1.626 MB / 367.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01986/0.3503, allocations: 12.45 MB / 379.6 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04365/0.394, allocations: 24.1 MB / 403.7 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008835/0.4029, allocations: 4.64 MB / 408.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01029/0.4132, allocations: 5.637 MB / 414 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003114/0.4164, allocations: 0.7188 MB / 414.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004987/0.4214, allocations: 1.085 MB / 415.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003443/0.4249, allocations: 2.316 MB / 418.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009909/0.4348, allocations: 5.534 MB / 423.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02825/0.4631, allocations: 23.28 MB / 446.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.4631, allocations: 3.938 kB / 446.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.636e-06/0.4631, allocations: 4 kB / 446.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007674/0.4639, allocations: 0 / 446.9 MB, free: 11.04 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.383/0.8469, allocations: 12.27 MB / 459.2 MB, free: 94.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.847, allocations: 9.375 kB / 459.2 MB, free: 94.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05049/0.8975, allocations: 9.469 MB / 468.7 MB, free: 91.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/0.9139, allocations: 6.906 MB / 475.6 MB, free: 87.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007021/0.9147, allocations: 0.8201 MB / 476.4 MB, free: 86.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004194/0.9189, allocations: 1.076 MB / 477.5 MB, free: 85.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04356/0.9624, allocations: 18.77 MB / 496.2 MB, free: 66.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004091/0.9629, allocations: 15.81 kB / 496.2 MB, free: 66.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003566/0.9665, allocations: 463.2 kB / 496.7 MB, free: 66.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005733/0.9671, allocations: 0.695 MB / 497.4 MB, free: 65.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03707/1.004, allocations: 18.23 MB / 0.5035 GB, free: 47.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1032/1.107, allocations: 60.17 MB / 0.5623 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04175/1.149, allocations: 46.69 MB / 0.6079 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007622/1.157, allocations: 4.34 MB / 0.6121 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2277/1.385, allocations: 12.48 MB / 0.6243 GB, free: 157.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/1.385, allocations: 78.83 kB / 0.6244 GB, free: 157.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=391): time 5.31e-06/1.385, allocations: 1.656 kB / 0.6244 GB, free: 157.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=397): time 0.04016/1.425, allocations: 19.55 MB / 0.6435 GB, free: 151.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/1.425, allocations: 94.22 kB / 0.6436 GB, free: 151.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006285/1.431, allocations: 4.338 MB / 0.6478 GB, free: 150.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007722/1.432, allocations: 89.45 kB / 0.6479 GB, free: 150.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002381/1.434, allocations: 4.816 MB / 0.6526 GB, free: 146.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001582/1.436, allocations: 1.365 MB / 0.6539 GB, free: 145.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006811/1.437, allocations: 0.5059 MB / 0.6544 GB, free: 145.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.005e-05/1.437, allocations: 301.1 kB / 0.6547 GB, free: 145 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004361/1.441, allocations: 3.159 MB / 0.6578 GB, free: 143.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005527/1.447, allocations: 5.79 MB / 0.6635 GB, free: 139.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/1.458, allocations: 9.533 MB / 0.6728 GB, free: 129.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.931e-05/1.458, allocations: 24 kB / 0.6728 GB, free: 129.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01699/1.475, allocations: 10.35 MB / 0.6829 GB, free: 119 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.475, allocations: 44 kB / 0.6829 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/1.475, allocations: 85.42 kB / 0.683 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003629/1.479, allocations: 1.409 MB / 0.6844 GB, free: 117.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005352/1.484, allocations: 1.458 MB / 0.6858 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/1.498, allocations: 10.59 MB / 0.6962 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005196/1.503, allocations: 399.3 kB / 0.6965 GB, free: 104.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/1.504, allocations: 335.5 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.008575/1.513, allocations: 4.181 MB / 0.7009 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/1.514, allocations: 450.4 kB / 0.7014 GB, free: 99.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/1.526, allocations: 7.422 MB / 0.7086 GB, free: 92.44 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009356/1.536, allocations: 6.102 MB / 0.7146 GB, free: 86.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/1.536, allocations: 12 kB / 0.7146 GB, free: 86.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/1.536, allocations: 19.92 kB / 0.7146 GB, free: 86.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02443/1.56, allocations: 16.49 MB / 0.7307 GB, free: 69.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.56, allocations: 0 / 0.7307 GB, free: 69.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/1.563, allocations: 0.7216 MB / 0.7314 GB, free: 69.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003121/1.566, allocations: 1.25 MB / 0.7326 GB, free: 67.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005483/1.567, allocations: 91.97 kB / 0.7327 GB, free: 67.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/1.578, allocations: 9.319 MB / 0.7418 GB, free: 58.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.578, allocations: 3.938 kB / 0.7418 GB, free: 58.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/1.594, allocations: 10.66 MB / 0.7522 GB, free: 47.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002472/1.597, allocations: 1.061 MB / 0.7533 GB, free: 46.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008376/1.598, allocations: 68 kB / 0.7533 GB, free: 46.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/1.6, allocations: 259.8 kB / 0.7536 GB, free: 46.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000652/1.601, allocations: 275.4 kB / 0.7538 GB, free: 45.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/1.601, allocations: 116 kB / 0.754 GB, free: 45.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003957/1.605, allocations: 2.904 MB / 0.7568 GB, free: 42.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/1.605, allocations: 0 / 0.7568 GB, free: 42.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006488/1.612, allocations: 1.849 MB / 0.7586 GB, free: 41 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.0007956/1.612, allocations: 258.5 kB / 0.7588 GB, free: 40.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01187/1.624, allocations: 8.002 MB / 0.7667 GB, free: 32.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.624, allocations: 4 kB / 0.7667 GB, free: 32.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006259/1.631, allocations: 3.712 MB / 0.7703 GB, free: 29.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006227/1.637, allocations: 1.019 MB / 0.7713 GB, free: 28.01 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2726/1.91, 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.008955/1.919, allocations: 7.038 MB / 0.8012 GB, free: 137.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006707/1.925, allocations: 2.248 MB / 0.8034 GB, free: 137.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.927, allocations: 367.6 kB / 0.8038 GB, free: 137.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/1.927, allocations: 0 / 0.8038 GB, free: 137.7 MB / 462.1 MB Notification: Performance of Templates: time 0.1043/2.031, allocations: 71.72 MB / 0.8738 GB, free: 80.59 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)