Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007259/0.007259, allocations: 167.8 kB / 15.11 MB, free: 5.582 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.389/1.389, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001768/0.001768, allocations: 101.8 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2801, allocations: 38.77 MB / 312.9 MB, free: 38.75 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.4064, allocations: 94.22 MB / 407.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/0.4068, allocations: 87.95 kB / 407.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2998/0.7066, allocations: 44.36 MB / 451.6 MB, free: 72.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.7067, allocations: 4 kB / 451.6 MB, free: 72.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000132/0.7068, allocations: 55.94 kB / 451.6 MB, free: 72.71 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.004365/0.7112, allocations: 2.425 MB / 454 MB, free: 70.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.7112, allocations: 8.031 kB / 454 MB, free: 70.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006988/0.7119, allocations: 296.8 kB / 454.3 MB, free: 69.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.7144, allocations: 1.503 MB / 455.8 MB, free: 68.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.7145, allocations: 148 kB / 456 MB, free: 68.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/0.7148, allocations: 200 kB / 456.2 MB, free: 68.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/0.7185, allocations: 2.686 MB / 458.9 MB, free: 65.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.146e-05/0.7185, allocations: 7.844 kB / 458.9 MB, free: 65.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.7187, allocations: 87.98 kB / 459 MB, free: 65.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/0.7188, allocations: 87.89 kB / 459 MB, free: 65.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002998/0.7218, allocations: 2.221 MB / 461.3 MB, free: 62.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.7329, allocations: 8.376 MB / 469.6 MB, free: 54.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.7347, allocations: 1.82 MB / 471.5 MB, free: 52.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/0.735, allocations: 138 kB / 471.6 MB, free: 52.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.735, allocations: 51.5 kB / 471.6 MB, free: 52.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=107): time 5.12e-06/0.735, allocations: 0 / 471.6 MB, free: 52.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.01174/0.7468, allocations: 6.437 MB / 478.1 MB, free: 45.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.7469, allocations: 68.41 kB / 478.1 MB, free: 45.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.7487, allocations: 1.294 MB / 479.4 MB, free: 44.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.7488, allocations: 45.7 kB / 479.5 MB, free: 44.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/0.7492, allocations: 0.968 MB / 480.5 MB, free: 43.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.7495, allocations: 421.8 kB / 480.9 MB, free: 42.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.7496, allocations: 28 kB / 480.9 MB, free: 42.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.7497, allocations: 361.9 kB / 481.2 MB, free: 42.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/0.7506, allocations: 0.7534 MB / 482 MB, free: 41.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.7517, allocations: 1.042 MB / 483 MB, free: 40.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.7528, allocations: 0.8849 MB / 483.9 MB, free: 39.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.7528, allocations: 4 kB / 483.9 MB, free: 39.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003341/0.7561, allocations: 2.373 MB / 486.3 MB, free: 37.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.7562, allocations: 8 kB / 486.3 MB, free: 37.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.7562, allocations: 11.95 kB / 486.3 MB, free: 37.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/0.7571, allocations: 411.2 kB / 486.7 MB, free: 36.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.7583, allocations: 331.5 kB / 487 MB, free: 36.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.7622, allocations: 4.741 MB / 491.8 MB, free: 31.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.7638, allocations: 87.91 kB / 491.9 MB, free: 31.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.7639, allocations: 55.98 kB / 491.9 MB, free: 31.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001672/0.7656, allocations: 0.7086 MB / 492.6 MB, free: 30.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/0.766, allocations: 170 kB / 492.8 MB, free: 30.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/0.7693, allocations: 2.188 MB / 495 MB, free: 28.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.7693, allocations: 16 kB / 495 MB, free: 28.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.7693, allocations: 4 kB / 495 MB, free: 28.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.7693, allocations: 3.984 kB / 495 MB, free: 28.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00671/0.776, allocations: 4.578 MB / 499.6 MB, free: 23.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.7761, allocations: 4 kB / 499.6 MB, free: 23.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009438/0.777, allocations: 239.6 kB / 499.8 MB, free: 23.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.7782, allocations: 468.7 kB / 0.4886 GB, free: 22.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.473e-05/0.7783, allocations: 35.97 kB / 0.4886 GB, free: 22.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004625/0.7829, allocations: 6.281 MB / 0.4947 GB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.783, allocations: 7.984 kB / 0.4947 GB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004248/0.7872, allocations: 3.401 MB / 0.4981 GB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.7882, allocations: 410.9 kB / 0.4985 GB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.7884, allocations: 31.94 kB / 0.4985 GB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007809/0.7892, allocations: 87.91 kB / 0.4986 GB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/0.7895, allocations: 100.8 kB / 0.4987 GB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.153e-05/0.7896, allocations: 40 kB / 0.4987 GB, free: 11.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001348/0.7909, allocations: 1.005 MB / 0.4997 GB, free: 10.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7909, allocations: 0 / 0.4997 GB, free: 10.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001635/0.7926, allocations: 484 kB / 0.5001 GB, free: 10.26 MB / 314.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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000478/0.7931, allocations: 304.2 kB / 0.5004 GB, free: 9.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002975/0.796, allocations: 2.309 MB / 0.5027 GB, free: 7.574 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.7961, allocations: 0 / 0.5027 GB, free: 7.574 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.7979, allocations: 1.52 MB / 0.5042 GB, free: 5.992 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.7998, allocations: 403 kB / 0.5046 GB, free: 5.605 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/0.8066, allocations: 5.298 MB / 0.5097 GB, free: 260 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/0.8083, allocations: 1.861 MB / 0.5116 GB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001442/0.8097, allocations: 393.4 kB / 0.5119 GB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.8101, allocations: 107.4 kB / 0.512 GB, free: 13.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.8101, allocations: 0 / 0.512 GB, free: 13.86 MB / 330.7 MB Notification: Performance of Templates: time 0.04915/0.8592, allocations: 25.36 MB / 0.5368 GB, free: 4.473 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)