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.01012/0.01012, allocations: 163.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.43/1.43, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.00158/0.00158, allocations: 103.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2304, allocations: 38.76 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.3534, allocations: 94.36 MB / 407.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/0.3539, allocations: 87.95 kB / 407.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2795/0.6333, allocations: 40.46 MB / 447.8 MB, free: 76.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6334, allocations: 0 / 447.8 MB, free: 76.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001202/0.6335, allocations: 47.94 kB / 447.8 MB, free: 76.12 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.00352/0.637, allocations: 2.178 MB / 450 MB, free: 73.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.6371, allocations: 8.031 kB / 450 MB, free: 73.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005787/0.6377, allocations: 273.1 kB / 450.3 MB, free: 73.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.6397, allocations: 1.328 MB / 451.6 MB, free: 72.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/0.6398, allocations: 143.8 kB / 451.8 MB, free: 72.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.64, allocations: 203.8 kB / 452 MB, free: 71.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.643, allocations: 2.392 MB / 454.4 MB, free: 69.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.6431, allocations: 7.906 kB / 454.4 MB, free: 69.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.6433, allocations: 80 kB / 454.4 MB, free: 69.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.876e-05/0.6434, allocations: 79.66 kB / 454.5 MB, free: 69.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.646, allocations: 1.896 MB / 456.4 MB, free: 67.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009185/0.6552, allocations: 7.778 MB / 464.2 MB, free: 59.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.6568, allocations: 1.402 MB / 465.6 MB, free: 58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.657, allocations: 138 kB / 465.7 MB, free: 57.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.6571, allocations: 51.52 kB / 465.8 MB, free: 57.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 3.156e-06/0.6571, allocations: 0 / 465.8 MB, free: 57.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.01093/0.668, allocations: 6.292 MB / 472.1 MB, free: 51.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.6681, allocations: 64.72 kB / 472.1 MB, free: 51.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.6693, allocations: 1.079 MB / 473.2 MB, free: 50.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.013e-05/0.6694, allocations: 45.7 kB / 473.3 MB, free: 50.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/0.6698, allocations: 0.8697 MB / 474.1 MB, free: 49.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.67, allocations: 441.6 kB / 474.6 MB, free: 48.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.6701, allocations: 32 kB / 474.6 MB, free: 48.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.6702, allocations: 361.9 kB / 474.9 MB, free: 48.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008207/0.671, allocations: 0.6793 MB / 475.6 MB, free: 47.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009356/0.6719, allocations: 0.9922 MB / 476.6 MB, free: 46.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000961/0.6729, allocations: 0.8301 MB / 477.4 MB, free: 45.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6729, allocations: 0 / 477.4 MB, free: 45.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00324/0.6762, allocations: 2.386 MB / 479.8 MB, free: 43.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6762, allocations: 10.19 kB / 479.8 MB, free: 43.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.6762, allocations: 12 kB / 479.9 MB, free: 43.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.6774, allocations: 0.5672 MB / 480.4 MB, free: 42.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.6784, allocations: 307.5 kB / 480.7 MB, free: 42.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006305/0.6848, allocations: 8.599 MB / 489.3 MB, free: 33.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.6859, allocations: 91.84 kB / 489.4 MB, free: 33.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.686, allocations: 59.98 kB / 489.5 MB, free: 33.2 MB / 314.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 138 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001037/0.687, allocations: 0.5911 MB / 490.1 MB, free: 32.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.6872, allocations: 146.2 kB / 490.2 MB, free: 32.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.6902, allocations: 2.204 MB / 492.4 MB, free: 30.22 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.6903, allocations: 12 kB / 492.4 MB, free: 30.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6903, allocations: 8 kB / 492.4 MB, free: 30.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.6903, allocations: 7.984 kB / 492.4 MB, free: 30.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005833/0.6961, allocations: 4.369 MB / 496.8 MB, free: 25.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6961, allocations: 4 kB / 496.8 MB, free: 25.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/0.6969, allocations: 192 kB / 497 MB, free: 25.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.6983, allocations: 0.6268 MB / 497.6 MB, free: 24.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.559e-05/0.6984, allocations: 35.97 kB / 497.7 MB, free: 24.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007063/0.7055, allocations: 10.16 MB / 0.4959 GB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7055, allocations: 3.938 kB / 0.4959 GB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004175/0.7097, allocations: 3.289 MB / 0.4991 GB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009862/0.7107, allocations: 371.2 kB / 0.4995 GB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.7109, allocations: 28 kB / 0.4995 GB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007366/0.7116, allocations: 79.92 kB / 0.4996 GB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/0.7119, allocations: 100.8 kB / 0.4997 GB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/0.712, allocations: 39.98 kB / 0.4997 GB, free: 10.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001116/0.7131, allocations: 0.8246 MB / 0.5005 GB, free: 9.184 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7131, allocations: 3.938 kB / 0.5005 GB, free: 9.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00152/0.7147, allocations: 495.9 kB / 0.501 GB, free: 8.695 MB / 314.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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: 5 * 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: 5 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(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.0004484/0.7151, allocations: 304.7 kB / 0.5013 GB, free: 8.379 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002896/0.718, allocations: 2.516 MB / 0.5038 GB, free: 5.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.718, allocations: 0 / 0.5038 GB, free: 5.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.72, allocations: 1.755 MB / 0.5055 GB, free: 3.926 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.7215, allocations: 386.5 kB / 0.5058 GB, free: 3.551 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006094/0.7276, allocations: 4.984 MB / 0.5107 GB, free: 14.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.7291, allocations: 1.694 MB / 0.5124 GB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001179/0.7302, allocations: 316.9 kB / 0.5127 GB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.7305, allocations: 91.44 kB / 0.5127 GB, free: 12.38 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7305, allocations: 0 / 0.5127 GB, free: 12.38 MB / 330.7 MB Notification: Performance of Templates: time 0.04424/0.7748, allocations: 25.27 MB / 0.5374 GB, free: 3.098 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)