Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.008367/0.008367, allocations: 96.62 kB / 15.73 MB, free: 6.043 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.001421/0.001421, allocations: 202.6 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.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.00114/0.00114, allocations: 54.3 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1403, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01409/0.1544, allocations: 9.758 MB / 382.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009177/0.1636, allocations: 3.136 MB / 386.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.1666, allocations: 47.81 kB / 386.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.1697, allocations: 0.6949 MB / 386.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005195/0.1749, allocations: 0.8544 MB / 387.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.1767, allocations: 399.4 kB / 388.1 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006191/0.183, allocations: 3.101 MB / 391.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005016/0.188, allocations: 2.392 MB / 393.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003711/0.1918, allocations: 1.378 MB / 394.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004542/0.1963, allocations: 1.677 MB / 396.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002264/0.1986, allocations: 364 kB / 397 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.2016, allocations: 455.8 kB / 397.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002691/0.2043, allocations: 0.9973 MB / 398.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005359/0.2097, allocations: 1.606 MB / 400 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.2201, allocations: 4.712 MB / 404.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.2202, allocations: 4 kB / 404.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.2202, allocations: 3.938 kB / 404.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003702/0.2206, allocations: 0 / 404.7 MB, free: 1.578 MB / 334.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.0144/0.235, allocations: 3.206 MB / 407.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.521e-05/0.2351, allocations: 15.83 kB / 408 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/0.2374, allocations: 325.3 kB / 408.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005204/0.2426, allocations: 1.639 MB / 409.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/0.2429, allocations: 180.7 kB / 410.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009674/0.2439, allocations: 224 kB / 410.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007215/0.2511, allocations: 3.184 MB / 413.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/0.2512, allocations: 11.89 kB / 413.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/0.2515, allocations: 92 kB / 413.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.2517, allocations: 104.4 kB / 413.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005488/0.2572, allocations: 2.742 MB / 416.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01984/0.277, allocations: 9.777 MB / 426.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.28, allocations: 2.091 MB / 428.3 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.2823, allocations: 1.206 MB / 429.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003265/0.2826, allocations: 118.1 kB / 429.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/0.2827, allocations: 47.56 kB / 429.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 3.256e-06/0.2827, allocations: 0 / 429.7 MB, free: 7.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.01989/0.3026, allocations: 7.989 MB / 437.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.3027, allocations: 64.72 kB / 437.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004599/0.3074, allocations: 1.676 MB / 439.4 MB, free: 14.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004461/0.3078, allocations: 53.64 kB / 439.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.3092, allocations: 1.093 MB / 440.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009674/0.3102, allocations: 492.9 kB / 441 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009401/0.3112, allocations: 291.4 kB / 441.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.3114, allocations: 301.1 kB / 441.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.3135, allocations: 0.9095 MB / 442.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.3159, allocations: 1.275 MB / 443.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/0.3199, allocations: 2.25 MB / 446 MB, free: 7.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.03e-05/0.32, allocations: 7.938 kB / 446.1 MB, free: 7.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.007142/0.3271, allocations: 3.033 MB / 449.1 MB, free: 4.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.3272, allocations: 12.03 kB / 449.1 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-05/0.3273, allocations: 12 kB / 449.1 MB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002513/0.3298, allocations: 0.8439 MB / 450 MB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.3312, allocations: 303.5 kB / 450.2 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4281/0.7594, allocations: 9.895 MB / 460.1 MB, free: 65.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.7618, allocations: 96.66 kB / 460.2 MB, free: 65.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/0.7621, allocations: 59.98 kB / 460.3 MB, free: 65.44 MB / 382.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.00279/0.7649, allocations: 0.8138 MB / 461.1 MB, free: 65.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008638/0.7658, allocations: 184.2 kB / 461.3 MB, free: 65.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006509/0.7723, allocations: 2.84 MB / 464.1 MB, free: 63.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/0.7723, allocations: 14.09 kB / 464.1 MB, free: 63.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/0.7724, allocations: 6.844 kB / 464.2 MB, free: 63.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.7724, allocations: 10.28 kB / 464.2 MB, free: 63.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.7856, allocations: 5.659 MB / 469.8 MB, free: 61.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.7857, allocations: 2.75 kB / 469.8 MB, free: 61.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.787, allocations: 194.7 kB / 470 MB, free: 61.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0033/0.7903, allocations: 0.9015 MB / 470.9 MB, free: 61.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/0.7905, allocations: 39.45 kB / 471 MB, free: 61.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/0.8065, allocations: 11.53 MB / 482.5 MB, free: 52.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.8066, allocations: 3.938 kB / 482.5 MB, free: 52.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009016/0.8156, allocations: 4.152 MB / 486.6 MB, free: 49.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/0.8175, allocations: 462.7 kB / 487.1 MB, free: 48.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008291/0.8184, allocations: 35.98 kB / 487.1 MB, free: 48.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/0.8204, allocations: 79.91 kB / 487.2 MB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006604/0.8211, allocations: 145 kB / 487.3 MB, free: 48.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/0.8212, allocations: 39.98 kB / 487.4 MB, free: 48.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003327/0.8246, allocations: 1.149 MB / 488.5 MB, free: 47.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8246, allocations: 0 / 488.5 MB, free: 47.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004418/0.829, allocations: 0.5632 MB / 489.1 MB, free: 46.91 MB / 382.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.0007523/0.8298, allocations: 198.6 kB / 489.3 MB, free: 46.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006595/0.8364, allocations: 2.999 MB / 492.3 MB, free: 43.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/0.8365, allocations: 4.062 kB / 492.3 MB, free: 43.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003969/0.8405, allocations: 2.035 MB / 494.3 MB, free: 41.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004931/0.8455, allocations: 0.4978 MB / 494.8 MB, free: 41.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.8576, allocations: 5.159 MB / 500 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/0.8597, allocations: 2.012 MB / 0.4902 GB, free: 33.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001299/0.861, allocations: 411.3 kB / 0.4906 GB, free: 33.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.8614, allocations: 115.4 kB / 0.4907 GB, free: 33.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.8614, allocations: 0 / 0.4907 GB, free: 33.32 MB / 382.1 MB Notification: Performance of Templates: time 0.06001/0.9214, allocations: 33.21 MB / 0.5232 GB, free: 72 kB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)