Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001434/0.001434, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.301/1.301, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001645/0.001644, allocations: 111.4 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.786e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07225/0.07229, allocations: 38.77 MB / 301 MB, free: 3.613 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2952/0.3675, allocations: 93.59 MB / 394.6 MB, free: 7.09 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.3678, allocations: 89.89 kB / 394.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1048/0.4726, allocations: 39.99 MB / 434.7 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4727, allocations: 0 / 434.7 MB, free: 4.777 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001906/0.4729, allocations: 51.94 kB / 434.7 MB, free: 4.727 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.004967/0.4779, allocations: 1.97 MB / 436.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.4779, allocations: 11.97 kB / 436.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.4791, allocations: 265.2 kB / 436.9 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.482, allocations: 1.329 MB / 438.3 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-05/0.4821, allocations: 64 kB / 438.3 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004481/0.4826, allocations: 111.9 kB / 438.4 MB, free: 0.875 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003061/0.4857, allocations: 1.741 MB / 440.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/0.489, allocations: 2.081 MB / 442.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/0.489, allocations: 4 kB / 442.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.4892, allocations: 0 / 442.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.043e-05/0.4893, allocations: 83.66 kB / 442.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.5009, allocations: 7.422 MB / 449.8 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.5027, allocations: 1.319 MB / 451.1 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.504, allocations: 0.869 MB / 452 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.5043, allocations: 134.4 kB / 452.1 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.5043, allocations: 43.88 kB / 452.1 MB, free: 2.805 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 3.556e-06/0.5043, allocations: 0 / 452.1 MB, free: 2.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.00737/0.5117, allocations: 4.213 MB / 456.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.5118, allocations: 64.72 kB / 456.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.513, allocations: 0.8738 MB / 457.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.091e-05/0.5131, allocations: 25.7 kB / 457.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.5137, allocations: 0.8765 MB / 458.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/0.514, allocations: 429.6 kB / 458.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/0.5141, allocations: 4 kB / 458.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5142, allocations: 357.9 kB / 459 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000842/0.5151, allocations: 0.6209 MB / 459.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.5161, allocations: 0.9299 MB / 460.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.5172, allocations: 0.7753 MB / 461.3 MB, free: 9.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.5172, allocations: 4 kB / 461.3 MB, free: 9.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003321/0.5205, allocations: 2.12 MB / 463.4 MB, free: 7.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.5206, allocations: 11.98 kB / 463.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.5206, allocations: 11.98 kB / 463.4 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.5217, allocations: 0.5 MB / 463.9 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.5229, allocations: 327.5 kB / 464.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1799/0.7028, allocations: 6.329 MB / 470.6 MB, free: 88.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.7041, allocations: 56.41 kB / 470.6 MB, free: 88.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.7043, allocations: 59.34 kB / 470.7 MB, free: 88.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000263/0.7045, allocations: 134.4 kB / 470.8 MB, free: 88.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.7048, allocations: 137.5 kB / 471 MB, free: 88.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.7089, allocations: 1.967 MB / 472.9 MB, free: 87.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.7089, allocations: 11.34 kB / 472.9 MB, free: 87.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/0.7089, allocations: 9.422 kB / 473 MB, free: 87.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/0.709, allocations: 9.859 kB / 473 MB, free: 87.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.7194, allocations: 3.925 MB / 476.9 MB, free: 87.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.7195, allocations: 3.625 kB / 476.9 MB, free: 87.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/0.7209, allocations: 222.4 kB / 477.1 MB, free: 87.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/0.7231, allocations: 0.5466 MB / 477.7 MB, free: 87.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.7233, allocations: 14.31 kB / 477.7 MB, free: 87.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009179/0.7324, allocations: 7.834 MB / 485.5 MB, free: 82.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.7325, allocations: 10.78 kB / 485.5 MB, free: 82.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005614/0.7381, allocations: 3.035 MB / 488.5 MB, free: 82.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.7392, allocations: 359.5 kB / 488.9 MB, free: 82.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.7395, allocations: 9.875 kB / 488.9 MB, free: 82.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.7406, allocations: 51.39 kB / 489 MB, free: 82.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003472/0.741, allocations: 110.2 kB / 489.1 MB, free: 82.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.7411, allocations: 41.47 kB / 489.1 MB, free: 82.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001353/0.7425, allocations: 0.6458 MB / 489.8 MB, free: 81.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7425, allocations: 0 / 489.8 MB, free: 81.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002626/0.7451, allocations: 414.8 kB / 490.2 MB, free: 81.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006945/0.7458, allocations: 281.2 kB / 490.4 MB, free: 81.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003842/0.7497, allocations: 2.199 MB / 492.6 MB, free: 81.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.7497, allocations: 0 / 492.6 MB, free: 81.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002782/0.7525, allocations: 1.512 MB / 494.1 MB, free: 80.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/0.755, allocations: 291.2 kB / 494.4 MB, free: 80.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007571/0.7626, allocations: 3.366 MB / 497.8 MB, free: 79.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/0.7642, allocations: 1.685 MB / 499.5 MB, free: 79.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001769/0.766, allocations: 307.7 kB / 499.8 MB, free: 79.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.7664, allocations: 91.81 kB / 499.9 MB, free: 79.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.393e-06/0.7664, allocations: 0 / 499.9 MB, free: 79.01 MB / 346.7 MB Notification: Performance of Templates: time 0.04934/0.8158, allocations: 19.91 MB / 0.5076 GB, free: 77.76 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)