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.001663/0.001663, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001792/0.001792, allocations: 194 kB / 16.14 MB, free: 6.707 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.889/1.889, allocations: 205.1 MB / 222 MB, free: 4.758 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.001576/0.001576, allocations: 51.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4005, allocations: 46.63 MB / 324.7 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01285/0.4134, allocations: 9.688 MB / 334.4 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009192/0.4227, allocations: 3.113 MB / 337.5 MB, free: 7.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/0.4254, allocations: 39.81 kB / 337.5 MB, free: 7.281 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.428, allocations: 0.5827 MB / 338.1 MB, free: 6.695 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00552/0.4335, allocations: 0.7578 MB / 338.9 MB, free: 5.934 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.435, allocations: 343.7 kB / 339.2 MB, free: 5.598 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005432/0.4404, allocations: 3.522 MB / 342.7 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002612/0.4431, allocations: 2.005 MB / 344.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.4454, allocations: 1.167 MB / 345.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.4482, allocations: 1.619 MB / 347.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000469/0.4486, allocations: 216 kB / 347.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009426/0.4496, allocations: 323.8 kB / 348 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009111/0.4505, allocations: 0.8527 MB / 348.9 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002009/0.4525, allocations: 1.438 MB / 350.3 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004227/0.4568, allocations: 4.525 MB / 354.9 MB, free: 5.828 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4568, allocations: 3.938 kB / 354.9 MB, free: 5.824 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.4568, allocations: 0 / 354.9 MB, free: 5.824 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001053/0.4569, allocations: 3.938 kB / 354.9 MB, free: 5.82 MB / 286.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.007449/0.4644, allocations: 3.229 MB / 358.1 MB, free: 2.527 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4644, allocations: 8.031 kB / 358.1 MB, free: 2.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007961/0.4652, allocations: 317.4 kB / 358.4 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.4684, allocations: 1.627 MB / 360 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.4686, allocations: 168.9 kB / 360.2 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003887/0.469, allocations: 235.8 kB / 360.4 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005734/0.4747, allocations: 3.184 MB / 363.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.342e-05/0.4748, allocations: 7.984 kB / 363.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.475, allocations: 92 kB / 363.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.4751, allocations: 104.4 kB / 363.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004573/0.4797, allocations: 2.75 MB / 366.6 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/0.4977, allocations: 9.883 MB / 376.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002998/0.5007, allocations: 2.09 MB / 378.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.5027, allocations: 1.199 MB / 379.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.5031, allocations: 122.1 kB / 379.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.5031, allocations: 51.55 kB / 379.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 3.025e-06/0.5031, allocations: 0 / 379.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02016/0.5233, allocations: 8.005 MB / 387.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.5234, allocations: 64.72 kB / 388 MB, free: 3.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/0.5261, allocations: 1.672 MB / 389.7 MB, free: 2.227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.5262, allocations: 45.7 kB / 389.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009701/0.5272, allocations: 1.093 MB / 390.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00044/0.5277, allocations: 485 kB / 391.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000503/0.5282, allocations: 295.3 kB / 391.6 MB, free: 300 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5283, allocations: 313.1 kB / 391.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.5297, allocations: 0.9018 MB / 392.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.5315, allocations: 1.271 MB / 394 MB, free: 13.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/0.5349, allocations: 2.242 MB / 396.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.5349, allocations: 4 kB / 396.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005426/0.5403, allocations: 3.045 MB / 399.3 MB, free: 8.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.5404, allocations: 12.06 kB / 399.3 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.5404, allocations: 8 kB / 399.3 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.5427, allocations: 0.8478 MB / 400.2 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.5439, allocations: 303.5 kB / 400.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.5571, allocations: 9.07 MB / 409.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.5588, allocations: 95.91 kB / 409.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/0.5591, allocations: 60.05 kB / 409.7 MB, free: 13.41 MB / 350.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.001836/0.561, allocations: 0.8174 MB / 410.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006493/0.5616, allocations: 181.8 kB / 410.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005515/0.5671, allocations: 2.835 MB / 413.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.5672, allocations: 16 kB / 413.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/0.5672, allocations: 11.94 kB / 413.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.5672, allocations: 11.97 kB / 413.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.579, allocations: 5.683 MB / 419.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/0.5791, allocations: 4 kB / 419.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009883/0.5801, allocations: 196 kB / 419.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002515/0.5827, allocations: 0.9016 MB / 420.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.5828, allocations: 39.98 kB / 420.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/0.5971, allocations: 10.56 MB / 431 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.5972, allocations: 4 kB / 431 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007805/0.605, allocations: 4.14 MB / 435.1 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.6065, allocations: 462.8 kB / 435.5 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006467/0.6071, allocations: 35.94 kB / 435.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.6085, allocations: 79.91 kB / 435.7 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004905/0.609, allocations: 145 kB / 435.8 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.6092, allocations: 43.98 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002548/0.6117, allocations: 1.149 MB / 437 MB, free: 1.324 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6117, allocations: 0 / 437 MB, free: 1.324 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00293/0.6147, allocations: 0.5586 MB / 437.6 MB, free: 0.7656 MB / 366.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.0006063/0.6153, allocations: 198.9 kB / 437.7 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005543/0.6209, allocations: 2.992 MB / 440.7 MB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.6209, allocations: 4.125 kB / 440.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003446/0.6243, allocations: 2.026 MB / 442.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/0.628, allocations: 489.4 kB / 443.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.6415, allocations: 6.206 MB / 449.5 MB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003015/0.6445, allocations: 2.024 MB / 451.5 MB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002015/0.6466, allocations: 407.3 kB / 451.9 MB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/0.6473, allocations: 111.4 kB / 452 MB, free: 2.078 MB / 382.1 MB Notification: Performance of SimCode: time 2.375e-06/0.6473, allocations: 0 / 452 MB, free: 2.078 MB / 382.1 MB Notification: Performance of Templates: time 0.3309/0.9782, allocations: 31.48 MB / 483.5 MB, free: 90.79 MB / 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)