Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007257/0.007257, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.516/1.516, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001819/0.001819, allocations: 114.6 kB / 226.2 MB, free: 8 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004251, allocations: 12 kB / 274.1 MB, free: 7.973 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3112, allocations: 38.76 MB / 312.9 MB, free: 24.27 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4103/0.7216, allocations: 95.26 MB / 408.2 MB, free: 81.43 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/0.722, allocations: 91.39 kB / 408.2 MB, free: 81.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1626/0.8846, allocations: 49.02 MB / 457.3 MB, free: 33.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.8847, allocations: 0 / 457.3 MB, free: 33.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002535/0.8849, allocations: 63.88 kB / 457.3 MB, free: 33.79 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.00967/0.8946, allocations: 2.734 MB / 460.1 MB, free: 30.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.8947, allocations: 8.031 kB / 460.1 MB, free: 30.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.8966, allocations: 328.4 kB / 460.4 MB, free: 30.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00563/0.9023, allocations: 1.697 MB / 462.1 MB, free: 28.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.9025, allocations: 172.5 kB / 462.3 MB, free: 28.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009048/0.9034, allocations: 231.9 kB / 462.5 MB, free: 28.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008063/0.9115, allocations: 3.129 MB / 465.6 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.8e-05/0.9117, allocations: 7.906 kB / 465.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003396/0.912, allocations: 96 kB / 465.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.9122, allocations: 92.41 kB / 465.8 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006922/0.9191, allocations: 2.617 MB / 468.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02337/0.9425, allocations: 9.883 MB / 478.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003529/0.9461, allocations: 2.135 MB / 480.4 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003665/0.9465, allocations: 142.3 kB / 480.6 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.9466, allocations: 47.88 kB / 480.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 5.38e-06/0.9466, allocations: 4 kB / 480.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=145): time 0.02476/0.9713, allocations: 8.059 MB / 488.7 MB, free: 1.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.9714, allocations: 68.72 kB / 488.8 MB, free: 1.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.9736, allocations: 1.45 MB / 490.2 MB, free: 68 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.9737, allocations: 45.7 kB / 490.2 MB, free: 16 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008519/0.9746, allocations: 1.062 MB / 491.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.9751, allocations: 496.8 kB / 491.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.9751, allocations: 28 kB / 491.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.9754, allocations: 373.9 kB / 492.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.9769, allocations: 0.9135 MB / 493.1 MB, free: 13.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.9786, allocations: 1.242 MB / 494.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.9803, allocations: 1.06 MB / 495.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.9803, allocations: 4 kB / 495.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005362/0.9857, allocations: 3.033 MB / 498.4 MB, free: 7.641 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.9857, allocations: 12 kB / 498.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.9858, allocations: 8.25 kB / 498.5 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/0.9878, allocations: 0.8375 MB / 499.3 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.9891, allocations: 315.5 kB / 499.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/1, allocations: 9.341 MB / 0.497 GB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/1.002, allocations: 103.9 kB / 0.4971 GB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/1.002, allocations: 59.98 kB / 0.4972 GB, free: 12.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001934/1.004, allocations: 0.8097 MB / 0.498 GB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006585/1.005, allocations: 177.8 kB / 0.4981 GB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/1.01, allocations: 2.897 MB / 0.501 GB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/1.01, allocations: 16 kB / 0.501 GB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.01, allocations: 8 kB / 0.501 GB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/1.011, allocations: 7.969 kB / 0.501 GB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/1.021, allocations: 5.674 MB / 0.5065 GB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/1.021, allocations: 0 / 0.5065 GB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000957/1.022, allocations: 212.1 kB / 0.5067 GB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/1.024, allocations: 0.8979 MB / 0.5076 GB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/1.024, allocations: 43.91 kB / 0.5077 GB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/1.036, allocations: 10.88 MB / 0.5183 GB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/1.036, allocations: 4.031 kB / 0.5183 GB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007551/1.044, allocations: 4.375 MB / 0.5226 GB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.046, allocations: 470.7 kB / 0.523 GB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003492/1.046, allocations: 32 kB / 0.523 GB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.047, allocations: 103.9 kB / 0.5231 GB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004474/1.047, allocations: 133 kB / 0.5233 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.048, allocations: 39.98 kB / 0.5233 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.2308/1.278, allocations: 1.11 MB / 0.5244 GB, free: 81.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.278, allocations: 0 / 0.5244 GB, free: 81.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003309/1.282, allocations: 0.5882 MB / 0.525 GB, free: 81.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000739/1.283, allocations: 317.3 kB / 0.5253 GB, free: 81.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005179/1.288, allocations: 3.025 MB / 0.5282 GB, free: 80.99 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.288, allocations: 0 / 0.5282 GB, free: 80.99 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002945/1.291, allocations: 2.07 MB / 0.5302 GB, free: 80.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/1.294, allocations: 472.2 kB / 0.5307 GB, free: 80.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/1.304, allocations: 6.072 MB / 0.5366 GB, free: 78.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002126/1.307, allocations: 2.061 MB / 0.5386 GB, free: 77.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001557/1.308, allocations: 402.5 kB / 0.539 GB, free: 77.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/1.309, allocations: 109.8 kB / 0.5391 GB, free: 77.28 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/1.309, allocations: 0 / 0.5391 GB, free: 77.28 MB / 346.7 MB Notification: Performance of Templates: time 0.05274/1.361, allocations: 32.1 MB / 0.5705 GB, free: 71.7 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)