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/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.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.2.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.0009102/0.0009105, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008484/0.008484, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.03/2.03, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.00054/0.0005403, allocations: 14.81 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3598, allocations: 47.59 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01293/0.3728, allocations: 9.17 MB / 336.2 MB, free: 10.16 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008054/0.3809, allocations: 3.077 MB / 339.3 MB, free: 7.094 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.3835, allocations: 39.81 kB / 339.3 MB, free: 7.055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.3856, allocations: 0.5749 MB / 339.9 MB, free: 6.477 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.3887, allocations: 0.7538 MB / 340.7 MB, free: 5.719 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.3897, allocations: 343.7 kB / 341 MB, free: 5.383 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004821/0.3945, allocations: 3.526 MB / 344.5 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003142/0.3977, allocations: 1.993 MB / 346.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002647/0.4004, allocations: 1.027 MB / 347.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.4028, allocations: 1.447 MB / 349 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003152/0.4031, allocations: 156 kB / 349.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006785/0.4038, allocations: 259.7 kB / 349.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007703/0.4046, allocations: 0.7514 MB / 350.1 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.4068, allocations: 1.362 MB / 351.5 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006166/0.413, allocations: 4.391 MB / 355.9 MB, free: 6.359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.413, allocations: 0 / 355.9 MB, free: 6.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.413, allocations: 0 / 355.9 MB, free: 6.359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002348/0.4133, allocations: 0 / 355.9 MB, free: 6.359 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.008269/0.4216, allocations: 2.734 MB / 358.6 MB, free: 3.562 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.613e-05/0.4216, allocations: 12.02 kB / 358.6 MB, free: 3.551 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.423, allocations: 329.4 kB / 359 MB, free: 3.227 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003272/0.4263, allocations: 1.619 MB / 360.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.4265, allocations: 172.9 kB / 360.8 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004005/0.4269, allocations: 239.8 kB / 361 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006392/0.4333, allocations: 3.192 MB / 364.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.374e-05/0.4334, allocations: 11.84 kB / 364.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.4336, allocations: 92 kB / 364.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.4338, allocations: 108.4 kB / 364.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004973/0.4388, allocations: 2.765 MB / 367.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01598/0.4548, allocations: 9.949 MB / 377.1 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.4575, allocations: 2.102 MB / 379.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.4594, allocations: 1.202 MB / 380.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/0.4597, allocations: 130.9 kB / 380.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.4598, allocations: 51.5 kB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 3.356e-06/0.4598, allocations: 0 / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.01887/0.4786, allocations: 8.106 MB / 388.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.4788, allocations: 68.72 kB / 388.8 MB, free: 4.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003146/0.4819, allocations: 1.672 MB / 390.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.4821, allocations: 45.7 kB / 390.5 MB, free: 2.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000849/0.4829, allocations: 1.093 MB / 391.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004475/0.4834, allocations: 488.9 kB / 392 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.4836, allocations: 145.6 kB / 392.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4838, allocations: 305.1 kB / 392.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.4852, allocations: 0.9174 MB / 393.4 MB, free: 8 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.4872, allocations: 1.282 MB / 394.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/0.4906, allocations: 2.27 MB / 397 MB, free: 12.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.4906, allocations: 4 kB / 397 MB, free: 12.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005808/0.4964, allocations: 3.068 MB / 400 MB, free: 9.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.4965, allocations: 8 kB / 400 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/0.4965, allocations: 12 kB / 400 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.4987, allocations: 0.8522 MB / 400.9 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.4999, allocations: 303.5 kB / 401.2 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.5114, allocations: 9.09 MB / 410.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.5136, allocations: 104 kB / 410.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/0.5139, allocations: 63.98 kB / 410.4 MB, free: 14.23 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.002247/0.5161, allocations: 0.8135 MB / 411.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005491/0.5167, allocations: 181.8 kB / 411.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005644/0.5223, allocations: 2.862 MB / 414.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.5224, allocations: 12 kB / 414.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.5224, allocations: 8 kB / 414.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.5224, allocations: 7.969 kB / 414.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.5327, allocations: 5.71 MB / 420 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.5327, allocations: 4 kB / 420 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008488/0.5336, allocations: 196 kB / 420.2 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/0.5359, allocations: 0.8978 MB / 421.1 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.536, allocations: 39.98 kB / 421.2 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/0.5477, allocations: 10.58 MB / 431.7 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.5477, allocations: 3.938 kB / 431.8 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007012/0.5547, allocations: 4.176 MB / 435.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/0.5562, allocations: 462.8 kB / 436.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.5564, allocations: 35.94 kB / 436.4 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009225/0.5574, allocations: 95.91 kB / 436.5 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004464/0.5578, allocations: 145 kB / 436.6 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-05/0.5579, allocations: 43.98 kB / 436.7 MB, free: 3.191 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001892/0.5598, allocations: 1.149 MB / 437.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5598, allocations: 0 / 437.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001936/0.5618, allocations: 0.5586 MB / 438.4 MB, free: 1.488 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.0004099/0.5622, allocations: 198.9 kB / 438.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00476/0.567, allocations: 3.023 MB / 441.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.567, allocations: 0 / 441.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003108/0.5701, allocations: 2.05 MB / 443.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/0.5732, allocations: 477.7 kB / 444.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.5843, allocations: 6.356 MB / 450.5 MB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/0.5864, allocations: 2.016 MB / 452.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001544/0.588, allocations: 407.3 kB / 452.9 MB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/0.5884, allocations: 119.4 kB / 453 MB, free: 2.605 MB / 382.1 MB Notification: Performance of SimCode: time 1.773e-06/0.5884, allocations: 0 / 453 MB, free: 2.605 MB / 382.1 MB Notification: Performance of Templates: time 0.2871/0.8755, allocations: 30.88 MB / 483.9 MB, free: 91.27 MB / 382.1 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)