Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001016/0.001016, allocations: 184.3 kB / 13.65 MB, free: 1.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.286/1.286, allocations: 194.3 MB / 208.4 MB, free: 6.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001665/0.001665, allocations: 112.7 kB / 253.5 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.711e-05, allocations: 0 / 304.9 MB, free: 29.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.08962, allocations: 44.51 MB / 349.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3529/0.4426, allocations: 100.4 MB / 449.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.4429, allocations: 81.14 kB / 449.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1261/0.569, allocations: 49.16 MB / 499.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5691, allocations: 0 / 499.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001734/0.5693, allocations: 63.88 kB / 499.1 MB, free: 0.832 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.005215/0.5745, allocations: 2.456 MB / 0.4898 GB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.5745, allocations: 8.031 kB / 0.4898 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009278/0.5755, allocations: 328.8 kB / 0.4901 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.5789, allocations: 1.728 MB / 0.4918 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.579, allocations: 176.5 kB / 0.492 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003508/0.5794, allocations: 235.9 kB / 0.4922 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005068/0.5845, allocations: 3.075 MB / 0.4952 GB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.827e-05/0.5846, allocations: 4 kB / 0.4952 GB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/0.5848, allocations: 100 kB / 0.4953 GB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.5849, allocations: 96.38 kB / 0.4954 GB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004235/0.5892, allocations: 2.512 MB / 0.4979 GB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01767/0.6069, allocations: 9.945 MB / 0.5076 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.6094, allocations: 2.07 MB / 0.5096 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.6109, allocations: 1.091 MB / 0.5107 GB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/0.6112, allocations: 146.3 kB / 0.5108 GB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.6113, allocations: 43.88 kB / 0.5109 GB, free: 8.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 3.917e-06/0.6113, allocations: 0 / 0.5109 GB, free: 8.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=145): time 0.01338/0.6247, allocations: 6.291 MB / 0.517 GB, free: 1.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.6248, allocations: 68.72 kB / 0.5171 GB, free: 1.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.6271, allocations: 1.445 MB / 0.5185 GB, free: 240 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.6272, allocations: 49.7 kB / 0.5185 GB, free: 184 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007439/0.628, allocations: 1.078 MB / 0.5196 GB, free: 15.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004038/0.6284, allocations: 492.8 kB / 0.52 GB, free: 14.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-05/0.6285, allocations: 32 kB / 0.5201 GB, free: 14.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6287, allocations: 365.9 kB / 0.5204 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.6299, allocations: 0.8668 MB / 0.5213 GB, free: 13.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.6314, allocations: 1.176 MB / 0.5224 GB, free: 12.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.6328, allocations: 1.008 MB / 0.5234 GB, free: 11.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.6328, allocations: 4 kB / 0.5234 GB, free: 11.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004998/0.6378, allocations: 2.92 MB / 0.5263 GB, free: 8.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.6379, allocations: 8 kB / 0.5263 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.6379, allocations: 12 kB / 0.5263 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/0.6399, allocations: 0.8378 MB / 0.5271 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.6412, allocations: 319.5 kB / 0.5274 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.6522, allocations: 9.05 MB / 0.5362 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.6542, allocations: 99.81 kB / 0.5363 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.6544, allocations: 67.89 kB / 0.5364 GB, free: 13.27 MB / 410.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 () * 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.0004572/0.6548, allocations: 197.1 kB / 0.5366 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/0.6552, allocations: 181.8 kB / 0.5368 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004875/0.6601, allocations: 2.784 MB / 0.5395 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.6601, allocations: 16 kB / 0.5395 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.6601, allocations: 8 kB / 0.5395 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.6601, allocations: 7.969 kB / 0.5395 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009552/0.6697, allocations: 5.594 MB / 0.545 GB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.6697, allocations: 4 kB / 0.545 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/0.6707, allocations: 203.9 kB / 0.5452 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002225/0.6729, allocations: 0.9019 MB / 0.546 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.673, allocations: 39.92 kB / 0.5461 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2267/0.8997, allocations: 10.57 MB / 0.5564 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8998, allocations: 2.812 kB / 0.5564 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007334/0.9071, allocations: 4.199 MB / 0.5605 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.9086, allocations: 472.5 kB / 0.561 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.9088, allocations: 38.72 kB / 0.561 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009456/0.9098, allocations: 91.17 kB / 0.5611 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000413/0.9102, allocations: 142.9 kB / 0.5612 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.9103, allocations: 43.33 kB / 0.5613 GB, free: 105.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001748/0.9121, allocations: 1.111 MB / 0.5624 GB, free: 105.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.9121, allocations: 0 / 0.5624 GB, free: 105.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002441/0.9145, allocations: 0.5887 MB / 0.5629 GB, free: 105.2 MB / 410.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 () * 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.0006701/0.9152, allocations: 303 kB / 0.5632 GB, free: 105.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004699/0.9199, allocations: 2.903 MB / 0.5661 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.92, allocations: 1.406 kB / 0.5661 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00291/0.9229, allocations: 1.985 MB / 0.568 GB, free: 104 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.9254, allocations: 489.3 kB / 0.5685 GB, free: 104 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00674/0.9321, allocations: 4.267 MB / 0.5726 GB, free: 103.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.9339, allocations: 2.064 MB / 0.5746 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001572/0.9355, allocations: 403.2 kB / 0.575 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.9358, allocations: 114.4 kB / 0.5751 GB, free: 102.3 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.9358, allocations: 0 / 0.5751 GB, free: 102.3 MB / 410.7 MB Notification: Performance of Templates: time 0.04757/0.9834, allocations: 32.82 MB / 0.6072 GB, free: 98.2 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)