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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 114 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 47.92 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1403, allocations: 46.63 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01292/0.1533, allocations: 9.695 MB / 335.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007048/0.1604, allocations: 3.09 MB / 338.9 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.1623, allocations: 39.81 kB / 339 MB, free: 7.891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.1647, allocations: 0.5905 MB / 339.6 MB, free: 7.297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004064/0.1688, allocations: 0.75 MB / 340.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.1699, allocations: 335.8 kB / 340.6 MB, free: 6.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005138/0.1751, allocations: 3.097 MB / 343.7 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003602/0.1787, allocations: 2.392 MB / 346.1 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003106/0.1818, allocations: 1.378 MB / 347.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004054/0.1859, allocations: 1.724 MB / 349.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009941/0.1869, allocations: 364 kB / 349.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.1886, allocations: 459.8 kB / 350 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.19, allocations: 0.9973 MB / 351 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00296/0.1929, allocations: 1.598 MB / 352.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006129/0.1991, allocations: 4.665 MB / 357.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.1991, allocations: 0 / 357.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1991, allocations: 3.938 kB / 357.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000179/0.1993, allocations: 7.984 kB / 357.3 MB, free: 5.434 MB / 302.1 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.008476/0.2078, allocations: 3.202 MB / 360.5 MB, free: 2.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.311e-05/0.2079, allocations: 19.83 kB / 360.5 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.209, allocations: 329.3 kB / 360.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/0.2126, allocations: 1.619 MB / 362.5 MB, free: 152 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.2128, allocations: 173 kB / 362.6 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004484/0.2133, allocations: 239.8 kB / 362.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00703/0.2203, allocations: 3.18 MB / 366.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.578e-05/0.2205, allocations: 8 kB / 366.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.2207, allocations: 92 kB / 366.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.2209, allocations: 96.44 kB / 366.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006712/0.2276, allocations: 2.754 MB / 369 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.334/0.5617, allocations: 9.876 MB / 378.9 MB, free: 48.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004484/0.5662, allocations: 2.094 MB / 381 MB, free: 48.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/0.5695, allocations: 1.198 MB / 382.2 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003518/0.5699, allocations: 124.4 kB / 382.3 MB, free: 48.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.215e-05/0.57, allocations: 44 kB / 382.3 MB, free: 48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 4.999e-06/0.57, allocations: 0 / 382.3 MB, free: 48 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02237/0.5924, allocations: 8.007 MB / 390.3 MB, free: 45.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.5925, allocations: 68.5 kB / 390.4 MB, free: 45.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.5954, allocations: 1.674 MB / 392.1 MB, free: 44.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001697/0.5956, allocations: 51.2 kB / 392.1 MB, free: 44.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007944/0.5964, allocations: 1.086 MB / 393.2 MB, free: 43.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003761/0.5968, allocations: 494 kB / 393.7 MB, free: 43.53 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004864/0.5973, allocations: 289.1 kB / 394 MB, free: 43.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.163e-05/0.5973, allocations: 310.1 kB / 394.3 MB, free: 43.1 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.5988, allocations: 0.9039 MB / 395.2 MB, free: 42.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.6002, allocations: 1.268 MB / 396.5 MB, free: 41.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.603, allocations: 2.253 MB / 398.7 MB, free: 40.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.603, allocations: 7.312 kB / 398.7 MB, free: 40.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005342/0.6084, allocations: 3.038 MB / 401.8 MB, free: 38.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.6084, allocations: 14.88 kB / 401.8 MB, free: 38.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/0.6085, allocations: 7.25 kB / 401.8 MB, free: 38.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/0.6105, allocations: 0.841 MB / 402.6 MB, free: 38.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.6116, allocations: 313.9 kB / 402.9 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00847/0.6201, allocations: 9.921 MB / 412.8 MB, free: 27.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.622, allocations: 91.91 kB / 412.9 MB, free: 27.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.6221, allocations: 63.98 kB / 413 MB, free: 27.69 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001712/0.6239, allocations: 0.8096 MB / 413.8 MB, free: 26.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.6244, allocations: 181.8 kB / 414 MB, free: 26.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00403/0.6284, allocations: 2.841 MB / 416.8 MB, free: 23.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.6284, allocations: 12 kB / 416.8 MB, free: 23.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6284, allocations: 8 kB / 416.8 MB, free: 23.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.6285, allocations: 7.969 kB / 416.8 MB, free: 23.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008687/0.6371, allocations: 5.694 MB / 422.5 MB, free: 18.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.6372, allocations: 7.875 kB / 422.6 MB, free: 18.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008015/0.638, allocations: 187.8 kB / 422.7 MB, free: 17.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/0.64, allocations: 0.899 MB / 423.6 MB, free: 16.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.6402, allocations: 31.98 kB / 423.7 MB, free: 16.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.6509, allocations: 11.54 MB / 435.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.651, allocations: 7.969 kB / 435.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006035/0.657, allocations: 4.14 MB / 439.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.6584, allocations: 458.7 kB / 439.8 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/0.6586, allocations: 31.98 kB / 439.8 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.6596, allocations: 83.92 kB / 439.9 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005692/0.6602, allocations: 150 kB / 440.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.6603, allocations: 36 kB / 440.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002177/0.6625, allocations: 1.153 MB / 441.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6625, allocations: 0 / 441.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002542/0.6651, allocations: 0.565 MB / 441.8 MB, free: 14.13 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004701/0.6656, allocations: 198.8 kB / 442 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00755/0.6731, allocations: 3.636 MB / 445.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.6732, allocations: 0 / 445.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004078/0.6773, allocations: 2.038 MB / 447.7 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.6804, allocations: 499.7 kB / 448.2 MB, free: 7.645 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.6927, allocations: 6.221 MB / 454.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/0.6949, allocations: 2.016 MB / 456.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001593/0.6965, allocations: 407.3 kB / 456.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.6969, allocations: 115.4 kB / 456.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6969, allocations: 0 / 456.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Templates: time 0.06634/0.7632, allocations: 32.67 MB / 489.6 MB, free: 14.12 MB / 382.1 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)