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.001655/0.001655, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.08/2.08, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001744/0.001744, allocations: 55.91 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3966, allocations: 46.64 MB / 325.3 MB, free: 1.816 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01838/0.415, allocations: 9.756 MB / 335.1 MB, free: 10.1 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009193/0.4243, allocations: 3.14 MB / 338.2 MB, free: 6.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003487/0.4279, allocations: 43.81 kB / 338.3 MB, free: 6.938 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003829/0.4318, allocations: 0.6675 MB / 338.9 MB, free: 6.266 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.437, allocations: 0.8154 MB / 339.7 MB, free: 5.445 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001895/0.4389, allocations: 391.5 kB / 340.1 MB, free: 5.062 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006862/0.4458, allocations: 3.078 MB / 343.2 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005568/0.4514, allocations: 2.393 MB / 345.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003421/0.4549, allocations: 1.367 MB / 347 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00395/0.4589, allocations: 1.689 MB / 348.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001892/0.4609, allocations: 364 kB / 349 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.4635, allocations: 459.8 kB / 349.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003189/0.4668, allocations: 0.9896 MB / 350.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004792/0.4716, allocations: 1.606 MB / 352 MB, free: 9.039 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.4817, allocations: 4.65 MB / 356.7 MB, free: 4.375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.4818, allocations: 0 / 356.7 MB, free: 4.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.4818, allocations: 0 / 356.7 MB, free: 4.375 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002978/0.4821, allocations: 4 kB / 356.7 MB, free: 4.371 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.01474/0.4968, allocations: 3.221 MB / 359.9 MB, free: 1.086 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.275e-05/0.497, allocations: 11.89 kB / 359.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.4993, allocations: 325.3 kB / 360.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006006/0.5054, allocations: 1.631 MB / 361.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.5057, allocations: 168.9 kB / 362 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/0.5069, allocations: 235.8 kB / 362.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.5195, allocations: 3.184 MB / 365.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.5197, allocations: 4 kB / 365.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008906/0.5206, allocations: 95.98 kB / 365.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/0.5208, allocations: 116.3 kB / 365.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0096/0.5304, allocations: 2.734 MB / 368.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02671/0.5572, allocations: 9.886 MB / 378.3 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.5605, allocations: 2.086 MB / 380.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.5627, allocations: 1.195 MB / 381.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000296/0.5631, allocations: 130.1 kB / 381.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.5631, allocations: 43.56 kB / 381.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 4.088e-06/0.5632, allocations: 4 kB / 381.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02241/0.5856, allocations: 8.005 MB / 389.8 MB, free: 2.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.5857, allocations: 68.7 kB / 389.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.5898, allocations: 1.672 MB / 391.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004207/0.5902, allocations: 53.7 kB / 391.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.5914, allocations: 1.085 MB / 392.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000952/0.5924, allocations: 489 kB / 393.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008458/0.5932, allocations: 291.3 kB / 393.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.5934, allocations: 301.1 kB / 393.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.5953, allocations: 0.9135 MB / 394.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/0.5975, allocations: 1.267 MB / 395.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004214/0.6018, allocations: 2.254 MB / 398.1 MB, free: 9.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/0.6018, allocations: 4 kB / 398.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00702/0.6088, allocations: 3.041 MB / 401.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.609, allocations: 8 kB / 401.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.97e-05/0.609, allocations: 12 kB / 401.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002368/0.6114, allocations: 0.8482 MB / 402 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.613, allocations: 303.5 kB / 402.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.6258, allocations: 9.926 MB / 412.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.6279, allocations: 99.83 kB / 412.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003725/0.6283, allocations: 56 kB / 412.4 MB, free: 11.07 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.002079/0.6304, allocations: 0.8135 MB / 413.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006808/0.6311, allocations: 181.8 kB / 413.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/0.6368, allocations: 2.85 MB / 416.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.6369, allocations: 12 kB / 416.3 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.6369, allocations: 8 kB / 416.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.6369, allocations: 3.984 kB / 416.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.6502, allocations: 5.683 MB / 422 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/0.6503, allocations: 0 / 422 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009704/0.6512, allocations: 195.7 kB / 422.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/0.654, allocations: 0.8978 MB / 423 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002947/0.6544, allocations: 35.98 kB / 423.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/0.6691, allocations: 11.54 MB / 434.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.978e-06/0.6692, allocations: 7.969 kB / 434.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009505/0.6787, allocations: 4.152 MB / 438.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/0.6809, allocations: 462.8 kB / 439.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004924/0.6814, allocations: 31.98 kB / 439.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.6826, allocations: 79.91 kB / 439.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005806/0.6832, allocations: 145 kB / 439.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.6833, allocations: 43.98 kB / 439.5 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002506/0.6858, allocations: 1.142 MB / 440.7 MB, free: 14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6858, allocations: 4 kB / 440.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003882/0.6897, allocations: 0.5586 MB / 441.2 MB, free: 13.43 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.0008366/0.6906, allocations: 194.9 kB / 441.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008467/0.6991, allocations: 3.635 MB / 445.1 MB, free: 9.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.6992, allocations: 4.062 kB / 445.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003859/0.703, allocations: 2.033 MB / 447.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/0.7064, allocations: 0.4977 MB / 447.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.7185, allocations: 5.226 MB / 452.8 MB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2507/0.9693, allocations: 2.01 MB / 454.8 MB, free: 111.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002734/0.9721, allocations: 408 kB / 455.2 MB, free: 111.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007815/0.9729, allocations: 114 kB / 455.3 MB, free: 111.1 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.9729, allocations: 0.5312 kB / 455.3 MB, free: 111.1 MB / 382.1 MB Notification: Performance of Templates: time 0.06642/1.039, allocations: 32.7 MB / 488 MB, free: 87.36 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)