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.001105/0.001105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001547/0.001547, allocations: 191.5 kB / 16.25 MB, free: 6.641 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.458/1.458, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.001251/0.001251, allocations: 47.94 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3027, allocations: 46.63 MB / 324.9 MB, free: 2.16 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02597/0.3287, allocations: 24.46 MB / 349.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02001/0.3487, allocations: 7.245 MB / 356.6 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00753/0.3563, allocations: 151.5 kB / 356.7 MB, free: 4.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02031/0.3768, allocations: 8.33 MB / 365.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01266/0.3895, allocations: 2.707 MB / 367.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006266/0.3958, allocations: 1.614 MB / 369.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01703/0.4128, allocations: 10.84 MB / 380.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03783/0.4507, allocations: 25.32 MB / 405.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01019/0.4609, allocations: 5.825 MB / 411.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01149/0.4725, allocations: 6.436 MB / 417.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005754/0.4782, allocations: 1.68 MB / 419.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007699/0.486, allocations: 2.05 MB / 421.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00718/0.4932, allocations: 3.231 MB / 424.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.016/0.5092, allocations: 6.172 MB / 430.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03488/0.5441, allocations: 22.27 MB / 453.2 MB, free: 3.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.5442, allocations: 3.938 kB / 453.2 MB, free: 3.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5442, allocations: 4 kB / 453.2 MB, free: 3.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008317/0.545, allocations: 0 / 453.2 MB, free: 3.441 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.473/1.018, allocations: 12.98 MB / 466.2 MB, free: 97.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/1.018, allocations: 7.875 kB / 466.2 MB, free: 97.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03937/1.058, allocations: 7.135 MB / 473.3 MB, free: 93.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01559/1.073, allocations: 6.152 MB / 479.5 MB, free: 87.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00074/1.074, allocations: 0.7177 MB / 480.2 MB, free: 86.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005598/1.08, allocations: 0.9363 MB / 481.1 MB, free: 85.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04934/1.129, allocations: 16.21 MB / 497.3 MB, free: 69.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006131/1.13, allocations: 19.89 kB / 497.4 MB, free: 69.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004758/1.134, allocations: 403.5 kB / 497.8 MB, free: 68.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006242/1.135, allocations: 0.5747 MB / 498.3 MB, free: 68.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03462/1.17, allocations: 15.47 MB / 0.5018 GB, free: 52.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09948/1.269, allocations: 52.86 MB / 0.5534 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03317/1.302, allocations: 35.5 MB / 0.588 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006518/1.309, allocations: 3.423 MB / 0.5914 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02184/1.331, allocations: 10.17 MB / 0.6013 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.803e-05/1.331, allocations: 64.92 kB / 0.6014 GB, free: 9.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=303): time 5.069e-06/1.331, allocations: 0 / 0.6014 GB, free: 9.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=309): time 0.258/1.589, allocations: 15.09 MB / 0.6161 GB, free: 148.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/1.589, allocations: 94.33 kB / 0.6162 GB, free: 148.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005833/1.595, allocations: 3.854 MB / 0.62 GB, free: 147 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006231/1.596, allocations: 76.77 kB / 0.62 GB, free: 146.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00228/1.598, allocations: 4.246 MB / 0.6242 GB, free: 143.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001315/1.599, allocations: 1.077 MB / 0.6252 GB, free: 142.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/1.601, allocations: 1.099 MB / 0.6263 GB, free: 142.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.336e-05/1.601, allocations: 304.8 kB / 0.6266 GB, free: 142.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003212/1.604, allocations: 2.583 MB / 0.6291 GB, free: 141.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004051/1.608, allocations: 4.943 MB / 0.634 GB, free: 137 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007919/1.616, allocations: 8.014 MB / 0.6418 GB, free: 131.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.197e-05/1.616, allocations: 22.84 kB / 0.6418 GB, free: 131.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01475/1.631, allocations: 8.687 MB / 0.6503 GB, free: 126.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.488e-05/1.631, allocations: 43.94 kB / 0.6503 GB, free: 126.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/1.631, allocations: 80 kB / 0.6504 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/1.634, allocations: 1.217 MB / 0.6516 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/1.638, allocations: 1.221 MB / 0.6528 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/1.65, allocations: 9.82 MB / 0.6624 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004823/1.655, allocations: 331.4 kB / 0.6627 GB, free: 114.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008576/1.655, allocations: 288 kB / 0.663 GB, free: 114.6 MB / 446.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.006418/1.662, allocations: 3.738 MB / 0.6666 GB, free: 110.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009401/1.663, allocations: 378.3 kB / 0.667 GB, free: 110.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008377/1.671, allocations: 5.867 MB / 0.6727 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006069/1.677, allocations: 4.814 MB / 0.6774 GB, free: 99.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.677, allocations: 12 kB / 0.6774 GB, free: 99.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.557e-05/1.677, allocations: 15.94 kB / 0.6774 GB, free: 99.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01988/1.697, allocations: 13.79 MB / 0.6909 GB, free: 85.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.697, allocations: 4 kB / 0.6909 GB, free: 85.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/1.699, allocations: 0.5617 MB / 0.6915 GB, free: 85.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/1.702, allocations: 1.092 MB / 0.6925 GB, free: 84.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002214/1.702, allocations: 71.97 kB / 0.6926 GB, free: 84.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009831/1.712, allocations: 8.723 MB / 0.7011 GB, free: 75.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.712, allocations: 4 kB / 0.7011 GB, free: 75.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.724, allocations: 8.594 MB / 0.7095 GB, free: 66.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/1.726, allocations: 0.8671 MB / 0.7104 GB, free: 65.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006588/1.727, allocations: 63.88 kB / 0.7104 GB, free: 65.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1.729, allocations: 187.8 kB / 0.7106 GB, free: 65.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005848/1.729, allocations: 226.6 kB / 0.7108 GB, free: 65.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.729, allocations: 96.92 kB / 0.7109 GB, free: 65.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004035/1.733, allocations: 2.588 MB / 0.7134 GB, free: 62.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.91e-07/1.733, allocations: 4 kB / 0.7134 GB, free: 62.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005885/1.739, allocations: 1.552 MB / 0.715 GB, free: 60.98 MB / 446.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.0005673/1.74, allocations: 246.4 kB / 0.7152 GB, free: 60.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01983/1.76, allocations: 10.18 MB / 0.7251 GB, free: 50.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.76, allocations: 384 / 0.7251 GB, free: 50.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004862/1.765, allocations: 2.997 MB / 0.7281 GB, free: 47.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005411/1.77, allocations: 0.9489 MB / 0.729 GB, free: 46.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02882/1.799, allocations: 20.31 MB / 0.7488 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006701/1.806, allocations: 6.224 MB / 0.7549 GB, free: 19.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005061/1.811, allocations: 1.886 MB / 0.7567 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008562/1.812, allocations: 303.4 kB / 0.757 GB, free: 17.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/1.812, allocations: 0 / 0.757 GB, free: 17.8 MB / 446.1 MB Notification: Performance of Templates: time 0.2849/2.097, allocations: 63.8 MB / 0.8193 GB, free: 107 MB / 446.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)