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.01041/0.01041, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001994/0.001994, allocations: 196 kB / 16.67 MB, free: 5.52 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.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001185/0.001185, allocations: 59.91 kB / 326.6 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1088, allocations: 46.61 MB / 373.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2822/0.3911, allocations: 27.08 MB / 400.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02242/0.4136, allocations: 7.999 MB / 408.3 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009977/0.4236, allocations: 171.1 kB / 408.4 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.027/0.4507, allocations: 9.429 MB / 417.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01925/0.47, allocations: 3.408 MB / 421.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009399/0.4794, allocations: 1.846 MB / 423.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0253/0.5047, allocations: 12.28 MB / 435.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04355/0.5483, allocations: 24.42 MB / 459.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/0.5598, allocations: 6.546 MB / 466.4 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01288/0.5727, allocations: 7.265 MB / 473.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005803/0.5785, allocations: 1.848 MB / 475.5 MB, free: 9.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/0.5886, allocations: 2.214 MB / 477.7 MB, free: 6.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00694/0.5956, allocations: 3.671 MB / 481.4 MB, free: 3.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01433/0.61, allocations: 7.008 MB / 488.4 MB, free: 12.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03568/0.6457, allocations: 24.76 MB / 0.5011 GB, free: 3.297 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.6457, allocations: 0 / 0.5011 GB, free: 3.297 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.211e-06/0.6457, allocations: 3.984 kB / 0.5011 GB, free: 3.293 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001144/0.6469, allocations: 0 / 0.5011 GB, free: 3.293 MB / 430.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.05048/0.6974, allocations: 14.67 MB / 0.5154 GB, free: 4.512 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.6975, allocations: 8.031 kB / 0.5154 GB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0512/0.7487, allocations: 9.467 MB / 0.5247 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01692/0.7656, allocations: 6.891 MB / 0.5314 GB, free: 4.035 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008168/0.7665, allocations: 0.8188 MB / 0.5322 GB, free: 3.215 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005263/0.7718, allocations: 1.078 MB / 0.5333 GB, free: 2.137 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5323/1.304, allocations: 18.74 MB / 0.5516 GB, free: 128.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005608/1.305, allocations: 10.39 kB / 0.5516 GB, free: 128.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00537/1.31, allocations: 454.9 kB / 0.552 GB, free: 128.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001697/1.312, allocations: 0.6993 MB / 0.5527 GB, free: 128.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05207/1.364, allocations: 18.22 MB / 0.5705 GB, free: 123 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1098/1.474, allocations: 59.35 MB / 0.6285 GB, free: 79.22 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02952/1.503, allocations: 46.73 MB / 0.6741 GB, free: 27.56 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006799/1.51, allocations: 4.27 MB / 0.6783 GB, free: 23.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02501/1.535, allocations: 12.35 MB / 0.6903 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.28e-05/1.535, allocations: 77.58 kB / 0.6904 GB, free: 10.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 6.702e-06/1.535, allocations: 0 / 0.6904 GB, free: 10.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04557/1.581, allocations: 19.31 MB / 0.7092 GB, free: 7.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.581, allocations: 98.47 kB / 0.7093 GB, free: 7.387 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/1.593, allocations: 4.339 MB / 0.7136 GB, free: 3.027 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001158/1.595, allocations: 89.7 kB / 0.7137 GB, free: 2.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004326/1.599, allocations: 4.822 MB / 0.7184 GB, free: 14.08 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002433/1.601, allocations: 1.35 MB / 0.7197 GB, free: 12.74 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003153/1.604, allocations: 1.266 MB / 0.7209 GB, free: 11.46 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.605, allocations: 301.1 kB / 0.7212 GB, free: 11.16 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004993/1.61, allocations: 3.128 MB / 0.7243 GB, free: 8.031 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00928/1.619, allocations: 5.75 MB / 0.7299 GB, free: 1.059 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01858/1.638, allocations: 9.439 MB / 0.7391 GB, free: 6.379 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/1.638, allocations: 27.94 kB / 0.7391 GB, free: 6.352 MB / 0.5138 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.3121/1.95, allocations: 10.28 MB / 0.7492 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.95, allocations: 44.38 kB / 0.7492 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002098/1.95, allocations: 85.38 kB / 0.7493 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00455/1.955, allocations: 1.446 MB / 0.7507 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006604/1.961, allocations: 1.465 MB / 0.7521 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/1.981, allocations: 11.44 MB / 0.7633 GB, free: 158.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006797/1.988, allocations: 396.1 kB / 0.7637 GB, free: 158.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002185/1.99, allocations: 332.7 kB / 0.764 GB, free: 158.7 MB / 0.5138 GB 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 (752): * Single equations (assignments): 750 * 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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01102/2.001, allocations: 4.184 MB / 0.7681 GB, free: 156.8 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001901/2.003, allocations: 446.8 kB / 0.7685 GB, free: 156.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/2.019, allocations: 7.344 MB / 0.7757 GB, free: 154 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009142/2.028, allocations: 6.037 MB / 0.7816 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.825e-05/2.028, allocations: 11.66 kB / 0.7816 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.86e-05/2.028, allocations: 22.45 kB / 0.7816 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/2.053, allocations: 16.33 MB / 0.7976 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/2.053, allocations: 5.031 kB / 0.7976 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/2.056, allocations: 0.724 MB / 0.7983 GB, free: 144.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003414/2.059, allocations: 1.293 MB / 0.7995 GB, free: 144 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005515/2.06, allocations: 87.55 kB / 0.7996 GB, free: 143.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/2.072, allocations: 10.19 MB / 0.8096 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/2.072, allocations: 4 kB / 0.8096 GB, free: 135 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01682/2.089, allocations: 10.53 MB / 0.8199 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002587/2.091, allocations: 1.042 MB / 0.8209 GB, free: 123.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/2.093, allocations: 75.98 kB / 0.821 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/2.095, allocations: 251.8 kB / 0.8212 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008891/2.096, allocations: 271.5 kB / 0.8214 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003984/2.097, allocations: 112 kB / 0.8216 GB, free: 123.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004893/2.102, allocations: 2.905 MB / 0.8244 GB, free: 120.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.4e-07/2.102, allocations: 0 / 0.8244 GB, free: 120.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00838/2.11, allocations: 1.85 MB / 0.8262 GB, free: 118.5 MB / 0.5138 GB 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 (360): * Single equations (assignments): 358 * 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,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.001142/2.111, allocations: 265.6 kB / 0.8265 GB, free: 118.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01297/2.124, allocations: 7.913 MB / 0.8342 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/2.124, allocations: 0 / 0.8342 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006456/2.131, allocations: 3.641 MB / 0.8377 GB, free: 106.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006292/2.137, allocations: 1.092 MB / 0.8388 GB, free: 105.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/2.17, allocations: 18.73 MB / 0.8571 GB, free: 86.82 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008003/2.178, allocations: 7.028 MB / 0.864 GB, free: 79.74 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005437/2.184, allocations: 2.24 MB / 0.8661 GB, free: 77.49 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/2.185, allocations: 363.4 kB / 0.8665 GB, free: 77.14 MB / 0.5138 GB Notification: Performance of SimCode: time 9.32e-07/2.185, allocations: 4 kB / 0.8665 GB, free: 77.13 MB / 0.5138 GB Notification: Performance of Templates: time 0.111/2.296, allocations: 71.92 MB / 0.9367 GB, free: 5.203 MB / 0.5138 GB 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)