Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.000941/0.000941, allocations: 171.5 kB / 7.638 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.29/1.29, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001757/0.001758, allocations: 103.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.772e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07083/0.07086, allocations: 38.77 MB / 301 MB, free: 3.621 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2879/0.3588, allocations: 92.06 MB / 393 MB, free: 8.59 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.3591, allocations: 81.77 kB / 393.1 MB, free: 8.551 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1064/0.4655, allocations: 39.79 MB / 432.9 MB, free: 6.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4655, allocations: 0 / 432.9 MB, free: 6.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001736/0.4657, allocations: 47.94 kB / 433 MB, free: 6.465 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005193/0.4709, allocations: 1.934 MB / 434.9 MB, free: 4.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.471, allocations: 8.031 kB / 434.9 MB, free: 4.473 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.472, allocations: 261.2 kB / 435.2 MB, free: 4.215 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/0.4749, allocations: 1.281 MB / 436.4 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.693e-05/0.475, allocations: 59.98 kB / 436.5 MB, free: 2.832 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000423/0.4754, allocations: 115.9 kB / 436.6 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003369/0.4788, allocations: 1.682 MB / 438.3 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003826/0.4826, allocations: 2.014 MB / 440.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-05/0.4827, allocations: 11.89 kB / 440.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.4829, allocations: 0 / 440.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.35e-05/0.483, allocations: 87.45 kB / 440.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.494, allocations: 6.786 MB / 447.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.4956, allocations: 1.227 MB / 448.4 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009529/0.4966, allocations: 0.6703 MB / 449.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.4969, allocations: 137.8 kB / 449.2 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.497, allocations: 43.34 kB / 449.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 3.627e-06/0.497, allocations: 0 / 449.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.008823/0.5058, allocations: 4.561 MB / 453.8 MB, free: 1.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.5059, allocations: 64.7 kB / 453.9 MB, free: 1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.5073, allocations: 0.8195 MB / 454.7 MB, free: 168 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.026e-05/0.5074, allocations: 25.7 kB / 454.7 MB, free: 136 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00059/0.508, allocations: 0.8646 MB / 455.6 MB, free: 15.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.5083, allocations: 378.3 kB / 456 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.5084, allocations: 8 kB / 456 MB, free: 14.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5085, allocations: 353.9 kB / 456.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008581/0.5094, allocations: 0.6078 MB / 456.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.5104, allocations: 0.905 MB / 457.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.5115, allocations: 0.7558 MB / 458.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.5115, allocations: 4 kB / 458.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003593/0.5151, allocations: 2.194 MB / 460.8 MB, free: 9.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.5152, allocations: 16.06 kB / 460.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.5152, allocations: 11.95 kB / 460.8 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.5167, allocations: 0.6221 MB / 461.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.5177, allocations: 279.6 kB / 461.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007152/0.5249, allocations: 6.044 MB / 467.8 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.5262, allocations: 63.91 kB / 467.8 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.5263, allocations: 59.98 kB / 467.9 MB, free: 2.574 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.5266, allocations: 129.4 kB / 468 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.5269, allocations: 122.5 kB / 468.1 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/0.5304, allocations: 2.071 MB / 470.2 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.5305, allocations: 12 kB / 470.2 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.5305, allocations: 8 kB / 470.2 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.5305, allocations: 11.97 kB / 470.2 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1824/0.7129, allocations: 3.981 MB / 474.2 MB, free: 90.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.713, allocations: 3.5 kB / 474.2 MB, free: 90.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/0.7137, allocations: 177.9 kB / 474.4 MB, free: 90.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/0.7155, allocations: 0.722 MB / 475.1 MB, free: 90.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.023e-05/0.7156, allocations: 12.44 kB / 475.1 MB, free: 90.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007648/0.7233, allocations: 7.728 MB / 482.9 MB, free: 86.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.7233, allocations: 6 kB / 482.9 MB, free: 86.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.7276, allocations: 3.161 MB / 486 MB, free: 86.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006607/0.7283, allocations: 340.2 kB / 486.4 MB, free: 86.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.7285, allocations: 10.56 kB / 486.4 MB, free: 86.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007013/0.7292, allocations: 69.61 kB / 486.4 MB, free: 86.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.7294, allocations: 91.95 kB / 486.5 MB, free: 86.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/0.7295, allocations: 38.92 kB / 486.6 MB, free: 86.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007718/0.7303, allocations: 0.6176 MB / 487.2 MB, free: 86.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7303, allocations: 0 / 487.2 MB, free: 86.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001264/0.7316, allocations: 404.1 kB / 487.6 MB, free: 86.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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: 3 * 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: 3 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004034/0.732, allocations: 286.3 kB / 487.8 MB, free: 86.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002504/0.7345, allocations: 2.12 MB / 490 MB, free: 85.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7345, allocations: 0 / 490 MB, free: 85.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.7363, allocations: 1.475 MB / 491.4 MB, free: 85.22 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.7376, allocations: 272.8 kB / 491.7 MB, free: 85.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.742, allocations: 3.16 MB / 494.9 MB, free: 84.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009747/0.743, allocations: 1.682 MB / 496.6 MB, free: 83.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007876/0.7438, allocations: 275.2 kB / 496.8 MB, free: 83.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.744, allocations: 87.89 kB / 496.9 MB, free: 83.6 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.744, allocations: 0 / 496.9 MB, free: 83.6 MB / 346.7 MB Notification: Performance of Templates: time 0.02771/0.7718, allocations: 19.76 MB / 0.5046 GB, free: 82.39 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)