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.001561/0.001561, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.33/1.33, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.0016/0.0016, allocations: 110.7 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.812e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06331/0.06335, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2783/0.3417, allocations: 95.18 MB / 402.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.3419, allocations: 85.56 kB / 402.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1273/0.4693, allocations: 49.12 MB / 452 MB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4693, allocations: 0 / 452 MB, free: 1.617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001582/0.4695, allocations: 67.88 kB / 452.1 MB, free: 1.551 MB / 330.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.004489/0.474, allocations: 2.452 MB / 454.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.474, allocations: 19.97 kB / 454.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007597/0.4748, allocations: 324.4 kB / 454.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/0.4779, allocations: 1.67 MB / 456.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.4781, allocations: 180.5 kB / 456.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003564/0.4784, allocations: 231.9 kB / 456.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006286/0.4847, allocations: 3.055 MB / 460 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.063e-05/0.4849, allocations: 7.906 kB / 460 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/0.4852, allocations: 100 kB / 460.1 MB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.4853, allocations: 92.41 kB / 460.2 MB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004519/0.4898, allocations: 2.497 MB / 462.7 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2025/0.6923, allocations: 9.86 MB / 472.5 MB, free: 77.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.6948, allocations: 2.079 MB / 474.6 MB, free: 76.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.6963, allocations: 1.081 MB / 475.7 MB, free: 76.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/0.6967, allocations: 144.4 kB / 475.8 MB, free: 76.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.6967, allocations: 51.81 kB / 475.9 MB, free: 76.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=129): time 4.208e-06/0.6967, allocations: 0 / 475.9 MB, free: 76.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.01323/0.71, allocations: 6.275 MB / 482.2 MB, free: 75.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.7101, allocations: 70.34 kB / 482.2 MB, free: 75.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/0.7128, allocations: 1.43 MB / 483.7 MB, free: 75.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002725/0.7131, allocations: 51.39 kB / 483.7 MB, free: 75.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000819/0.714, allocations: 1.063 MB / 484.8 MB, free: 75.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004246/0.7144, allocations: 489.6 kB / 485.3 MB, free: 74.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.448e-05/0.7145, allocations: 33.47 kB / 485.3 MB, free: 74.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.7146, allocations: 371.7 kB / 485.7 MB, free: 74.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.7157, allocations: 0.8593 MB / 486.5 MB, free: 74.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.7172, allocations: 1.182 MB / 487.7 MB, free: 74.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.7186, allocations: 1.009 MB / 488.7 MB, free: 74.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.7186, allocations: 5.969 kB / 488.7 MB, free: 74.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004342/0.723, allocations: 2.915 MB / 491.6 MB, free: 73.92 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.723, allocations: 18.44 kB / 491.6 MB, free: 73.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.723, allocations: 8.625 kB / 491.7 MB, free: 73.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/0.7247, allocations: 0.8351 MB / 492.5 MB, free: 73.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.7258, allocations: 315.9 kB / 492.8 MB, free: 73.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00793/0.7338, allocations: 9.071 MB / 0.4901 GB, free: 69.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.7354, allocations: 110.4 kB / 0.4902 GB, free: 69.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.7355, allocations: 58.02 kB / 0.4903 GB, free: 69.08 MB / 346.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.0003344/0.7358, allocations: 188.1 kB / 0.4904 GB, free: 68.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.7361, allocations: 186.4 kB / 0.4906 GB, free: 68.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/0.7405, allocations: 2.784 MB / 0.4933 GB, free: 67.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.7406, allocations: 14.44 kB / 0.4934 GB, free: 67.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.7406, allocations: 11.03 kB / 0.4934 GB, free: 67.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.7406, allocations: 10.88 kB / 0.4934 GB, free: 67.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.7538, allocations: 5.567 MB / 0.4988 GB, free: 65.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.7539, allocations: 6.781 kB / 0.4988 GB, free: 65.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.7552, allocations: 202.2 kB / 0.499 GB, free: 65.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003362/0.7586, allocations: 0.8876 MB / 0.4999 GB, free: 65.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/0.7588, allocations: 36.55 kB / 0.4999 GB, free: 65.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/0.7745, allocations: 10.59 MB / 0.5103 GB, free: 57.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.7745, allocations: 3.969 kB / 0.5103 GB, free: 57.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009081/0.7836, allocations: 4.203 MB / 0.5144 GB, free: 55.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/0.7854, allocations: 476.6 kB / 0.5148 GB, free: 55.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000432/0.7858, allocations: 34.42 kB / 0.5149 GB, free: 55.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/0.7874, allocations: 90.28 kB / 0.5149 GB, free: 55.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005071/0.7879, allocations: 139.7 kB / 0.5151 GB, free: 55.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.7881, allocations: 41.56 kB / 0.5151 GB, free: 55.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00229/0.7904, allocations: 1.098 MB / 0.5162 GB, free: 55.19 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7904, allocations: 3.172 kB / 0.5162 GB, free: 55.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0032/0.7937, allocations: 0.5848 MB / 0.5168 GB, free: 55.13 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 () * 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.0007323/0.7944, allocations: 312.7 kB / 0.5171 GB, free: 55.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006004/0.8004, allocations: 2.9 MB / 0.5199 GB, free: 53.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.8005, allocations: 0 / 0.5199 GB, free: 53.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004134/0.8046, allocations: 2 MB / 0.5218 GB, free: 52.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/0.8082, allocations: 480.5 kB / 0.5223 GB, free: 52.45 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00968/0.8179, allocations: 4.234 MB / 0.5264 GB, free: 49.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/0.82, allocations: 2.061 MB / 0.5285 GB, free: 47.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001971/0.8219, allocations: 402 kB / 0.5288 GB, free: 47.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.8224, allocations: 111.2 kB / 0.5289 GB, free: 47.56 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.8224, allocations: 0 / 0.5289 GB, free: 47.56 MB / 346.7 MB Notification: Performance of Templates: time 0.04517/0.8676, allocations: 32.44 MB / 0.5606 GB, free: 21.21 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)