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.001732/0.001732, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.414/1.414, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001693/0.001693, allocations: 103.5 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.1e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06784/0.06788, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3055/0.3734, allocations: 94.26 MB / 401.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.3737, allocations: 84.27 kB / 402 MB, free: 14.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1045/0.4782, allocations: 40.53 MB / 442.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4783, allocations: 0 / 442.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001285/0.4784, allocations: 51.94 kB / 442.6 MB, free: 11.16 MB / 330.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.003557/0.482, allocations: 1.976 MB / 444.5 MB, free: 9.133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.482, allocations: 8.031 kB / 444.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006712/0.4827, allocations: 265.2 kB / 444.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.4851, allocations: 1.325 MB / 446.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.4852, allocations: 143.7 kB / 446.3 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/0.4855, allocations: 195.9 kB / 446.5 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003845/0.4894, allocations: 2.35 MB / 448.8 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.81e-05/0.4894, allocations: 11.94 kB / 448.8 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.4896, allocations: 79.98 kB / 448.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.483e-05/0.4897, allocations: 83.66 kB / 449 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003044/0.4928, allocations: 1.83 MB / 450.8 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.5049, allocations: 7.784 MB / 458.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.5068, allocations: 1.375 MB / 460 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.5083, allocations: 0.8994 MB / 460.9 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003222/0.5087, allocations: 138 kB / 461 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.5087, allocations: 47.5 kB / 461.1 MB, free: 8.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 3.086e-06/0.5087, allocations: 0 / 461.1 MB, free: 8.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.01074/0.5195, allocations: 5.127 MB / 466.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.5195, allocations: 68.66 kB / 466.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.5211, allocations: 1.061 MB / 467.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.719e-05/0.5212, allocations: 49.7 kB / 467.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/0.5218, allocations: 0.862 MB / 468.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.5222, allocations: 437.6 kB / 468.6 MB, free: 468 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.5222, allocations: 32 kB / 468.7 MB, free: 436 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5224, allocations: 369.9 kB / 469 MB, free: 60 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1733/0.6957, allocations: 0.6471 MB / 469.7 MB, free: 86.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.6969, allocations: 0.9641 MB / 470.7 MB, free: 86.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.6981, allocations: 0.8101 MB / 471.5 MB, free: 86.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/0.6981, allocations: 2.344 kB / 471.5 MB, free: 86.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003826/0.7019, allocations: 2.276 MB / 473.7 MB, free: 86.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.702, allocations: 8.875 kB / 473.7 MB, free: 86.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.702, allocations: 10.52 kB / 473.8 MB, free: 86.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.7031, allocations: 499.5 kB / 474.2 MB, free: 86.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.7044, allocations: 330.4 kB / 474.6 MB, free: 86.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006732/0.7112, allocations: 6.641 MB / 481.2 MB, free: 82.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.7125, allocations: 87.27 kB / 481.3 MB, free: 82.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.7127, allocations: 58.16 kB / 481.4 MB, free: 82.36 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.0002885/0.713, allocations: 186.1 kB / 481.5 MB, free: 82.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.7132, allocations: 148.5 kB / 481.7 MB, free: 82.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/0.7168, allocations: 2.096 MB / 483.8 MB, free: 82.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.7168, allocations: 11.41 kB / 483.8 MB, free: 82.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.7168, allocations: 5.594 kB / 483.8 MB, free: 82.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.7169, allocations: 11.16 kB / 483.8 MB, free: 82.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005928/0.7228, allocations: 4.277 MB / 488.1 MB, free: 81.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.7228, allocations: 5.562 kB / 488.1 MB, free: 81.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/0.7237, allocations: 222.2 kB / 488.3 MB, free: 81.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.7249, allocations: 0.5435 MB / 488.8 MB, free: 81.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.343e-05/0.725, allocations: 33.78 kB / 488.9 MB, free: 81.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005927/0.7309, allocations: 8.19 MB / 497.1 MB, free: 75.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.731, allocations: 0 / 497.1 MB, free: 75.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003911/0.7349, allocations: 3.168 MB / 0.4885 GB, free: 74.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007848/0.7357, allocations: 371.7 kB / 0.4889 GB, free: 74.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.7359, allocations: 32.28 kB / 0.4889 GB, free: 74.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007255/0.7366, allocations: 76.17 kB / 0.489 GB, free: 74.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/0.7369, allocations: 108.5 kB / 0.4891 GB, free: 74.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/0.7369, allocations: 36.84 kB / 0.4891 GB, free: 74.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009807/0.7379, allocations: 0.8045 MB / 0.4899 GB, free: 73.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7379, allocations: 3.812 kB / 0.4899 GB, free: 73.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001496/0.7394, allocations: 489.9 kB / 0.4904 GB, free: 73.79 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.0004737/0.7399, allocations: 307.1 kB / 0.4907 GB, free: 73.67 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002817/0.7427, allocations: 2.3 MB / 0.4929 GB, free: 72.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7428, allocations: 0 / 0.4929 GB, free: 72.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.7446, allocations: 1.568 MB / 0.4944 GB, free: 71.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.7462, allocations: 378.6 kB / 0.4948 GB, free: 71.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/0.7511, allocations: 3.451 MB / 0.4982 GB, free: 69.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009593/0.752, allocations: 1.686 MB / 0.4998 GB, free: 69.1 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00101/0.7531, allocations: 327.7 kB / 0.5001 GB, free: 69.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.7533, allocations: 93.86 kB / 0.5002 GB, free: 69.06 MB / 346.7 MB Notification: Performance of SimCode: time 7.82e-07/0.7533, allocations: 4 kB / 0.5002 GB, free: 69.05 MB / 346.7 MB Notification: Performance of Templates: time 0.03532/0.7886, allocations: 25.04 MB / 0.5247 GB, free: 59.06 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)