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.001085/0.001085, allocations: 180 kB / 16.38 MB, free: 5.762 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.293/1.293, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001537/0.001537, allocations: 117.8 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/0.08918, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2742/0.3635, allocations: 100.4 MB / 455.5 MB, free: 5.418 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.3637, allocations: 86.7 kB / 455.6 MB, free: 5.371 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.122/0.4858, allocations: 49.04 MB / 0.4928 GB, free: 6.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4858, allocations: 0 / 0.4928 GB, free: 6.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001616/0.486, allocations: 67.92 kB / 0.4929 GB, free: 6.32 MB / 378.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.005806/0.4918, allocations: 2.751 MB / 0.4956 GB, free: 3.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.4919, allocations: 12.03 kB / 0.4956 GB, free: 3.492 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008559/0.4928, allocations: 324.8 kB / 0.4959 GB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/0.4963, allocations: 1.74 MB / 0.4976 GB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.4964, allocations: 176.5 kB / 0.4978 GB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.4967, allocations: 231.9 kB / 0.498 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004875/0.5016, allocations: 3.161 MB / 0.5011 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.197e-05/0.5017, allocations: 7.844 kB / 0.5011 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.5019, allocations: 96 kB / 0.5012 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.737e-05/0.502, allocations: 96.44 kB / 0.5012 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004271/0.5063, allocations: 2.645 MB / 0.5038 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.5215, allocations: 9.926 MB / 0.5135 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1769/0.6984, allocations: 2.129 MB / 0.5156 GB, free: 93.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003246/0.6988, allocations: 134.4 kB / 0.5157 GB, free: 92.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.6988, allocations: 53.22 kB / 0.5158 GB, free: 92.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 4.248e-06/0.6989, allocations: 0 / 0.5158 GB, free: 92.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.01714/0.716, allocations: 8.052 MB / 0.5236 GB, free: 92.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.7161, allocations: 68.77 kB / 0.5237 GB, free: 91.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.7186, allocations: 1.462 MB / 0.5251 GB, free: 91.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.7187, allocations: 49.86 kB / 0.5252 GB, free: 91.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007472/0.7195, allocations: 1.074 MB / 0.5262 GB, free: 91.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.7199, allocations: 494.4 kB / 0.5267 GB, free: 91.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.72, allocations: 37.19 kB / 0.5267 GB, free: 91.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7201, allocations: 372.5 kB / 0.5271 GB, free: 90.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.7216, allocations: 0.9179 MB / 0.528 GB, free: 90.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.7233, allocations: 1.231 MB / 0.5292 GB, free: 90.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.7251, allocations: 1.059 MB / 0.5302 GB, free: 90.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.7251, allocations: 2.156 kB / 0.5302 GB, free: 90.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005437/0.7305, allocations: 3.034 MB / 0.5332 GB, free: 90.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.7306, allocations: 8.625 kB / 0.5332 GB, free: 90.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.7306, allocations: 11.11 kB / 0.5332 GB, free: 90.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.7326, allocations: 0.8465 MB / 0.534 GB, free: 90.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.7339, allocations: 309.6 kB / 0.5343 GB, free: 90.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009664/0.7436, allocations: 9.345 MB / 0.5435 GB, free: 85.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.7454, allocations: 99.59 kB / 0.5436 GB, free: 85.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.7456, allocations: 63.97 kB / 0.5436 GB, free: 85.82 MB / 394.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.001554/0.7471, allocations: 0.8166 MB / 0.5444 GB, free: 85.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/0.7475, allocations: 179.3 kB / 0.5446 GB, free: 85.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.7518, allocations: 2.891 MB / 0.5474 GB, free: 84.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.7518, allocations: 19.06 kB / 0.5474 GB, free: 84.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.7518, allocations: 7.688 kB / 0.5474 GB, free: 84.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.7518, allocations: 9 kB / 0.5474 GB, free: 84.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008859/0.7607, allocations: 5.694 MB / 0.553 GB, free: 81.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.7608, allocations: 7.312 kB / 0.553 GB, free: 81.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000877/0.7616, allocations: 207.7 kB / 0.5532 GB, free: 81.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/0.7636, allocations: 0.8903 MB / 0.5541 GB, free: 81.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.7638, allocations: 35.95 kB / 0.5541 GB, free: 81.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009314/0.7731, allocations: 10.9 MB / 0.5648 GB, free: 74.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.7731, allocations: 4.672 kB / 0.5648 GB, free: 74.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00585/0.779, allocations: 4.384 MB / 0.569 GB, free: 72.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.7803, allocations: 473.4 kB / 0.5695 GB, free: 71.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.7805, allocations: 29.47 kB / 0.5695 GB, free: 71.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009118/0.7814, allocations: 90.67 kB / 0.5696 GB, free: 71.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/0.7818, allocations: 151.1 kB / 0.5698 GB, free: 71.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.353e-05/0.7819, allocations: 39.3 kB / 0.5698 GB, free: 71.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001399/0.7833, allocations: 1.132 MB / 0.5709 GB, free: 71.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7833, allocations: 0.5625 kB / 0.5709 GB, free: 71.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00178/0.7851, allocations: 0.5839 MB / 0.5715 GB, free: 71.32 MB / 394.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.0004724/0.7856, allocations: 312.9 kB / 0.5718 GB, free: 71.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003953/0.7895, allocations: 3.026 MB / 0.5747 GB, free: 69.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7896, allocations: 5.844 kB / 0.5747 GB, free: 69.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002617/0.7922, allocations: 2.067 MB / 0.5767 GB, free: 68.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.7947, allocations: 477.3 kB / 0.5772 GB, free: 68.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009005/0.8037, allocations: 6.106 MB / 0.5832 GB, free: 65.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.8052, allocations: 2.068 MB / 0.5852 GB, free: 64.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0014/0.8066, allocations: 399.8 kB / 0.5856 GB, free: 64.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.807, allocations: 115.1 kB / 0.5857 GB, free: 64.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.807, allocations: 0 / 0.5857 GB, free: 64.25 MB / 394.7 MB Notification: Performance of Templates: time 0.04325/0.8502, allocations: 32.51 MB / 0.6174 GB, free: 39.87 MB / 394.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)