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.001286/0.001286, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002391/0.002391, allocations: 193.2 kB / 16.25 MB, free: 6.625 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.89/1.89, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.001577/0.001577, allocations: 59.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3964, allocations: 46.62 MB / 324.9 MB, free: 1.906 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01408/0.4105, allocations: 9.697 MB / 334.5 MB, free: 10.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009331/0.4199, allocations: 3.099 MB / 337.6 MB, free: 7.266 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004328/0.4243, allocations: 39.81 kB / 337.7 MB, free: 7.227 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.4276, allocations: 0.5944 MB / 338.3 MB, free: 6.629 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005943/0.4336, allocations: 0.7461 MB / 339 MB, free: 5.879 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.4351, allocations: 347.7 kB / 339.4 MB, free: 5.539 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005184/0.4403, allocations: 3.086 MB / 342.5 MB, free: 2.438 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003244/0.4435, allocations: 2.389 MB / 344.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.4471, allocations: 1.374 MB / 346.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003849/0.451, allocations: 1.732 MB / 347.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007731/0.4518, allocations: 364 kB / 348.3 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.4531, allocations: 455.8 kB / 348.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.4542, allocations: 0.9935 MB / 349.7 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002702/0.4569, allocations: 1.606 MB / 351.3 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005433/0.4624, allocations: 4.654 MB / 356 MB, free: 4.793 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4624, allocations: 0 / 356 MB, free: 4.793 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4624, allocations: 0 / 356 MB, free: 4.793 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001161/0.4625, allocations: 0 / 356 MB, free: 4.793 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.008734/0.4713, allocations: 3.225 MB / 359.2 MB, free: 1.504 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/0.4714, allocations: 15.89 kB / 359.2 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.4725, allocations: 321.3 kB / 359.6 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.4756, allocations: 1.623 MB / 361.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.4758, allocations: 176.9 kB / 361.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003708/0.4761, allocations: 239.8 kB / 361.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006165/0.4823, allocations: 3.18 MB / 364.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.317e-05/0.4824, allocations: 7.938 kB / 364.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.4826, allocations: 95.94 kB / 364.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.4828, allocations: 104.4 kB / 365 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005064/0.4878, allocations: 2.742 MB / 367.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02099/0.5089, allocations: 9.883 MB / 377.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003351/0.5123, allocations: 2.094 MB / 379.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002156/0.5145, allocations: 1.199 MB / 380.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.5149, allocations: 126.1 kB / 381 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.5149, allocations: 51.5 kB / 381.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 4.389e-06/0.5149, allocations: 0 / 381.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.021/0.5359, allocations: 8.009 MB / 389.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.5361, allocations: 64.72 kB / 389.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/0.5392, allocations: 1.672 MB / 390.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002087/0.5395, allocations: 49.7 kB / 390.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.5406, allocations: 1.089 MB / 391.9 MB, free: 20 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006744/0.5413, allocations: 485 kB / 392.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005999/0.5419, allocations: 295.3 kB / 392.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.542, allocations: 309.1 kB / 393 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.5436, allocations: 0.8979 MB / 393.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.5455, allocations: 1.271 MB / 395.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.5489, allocations: 2.254 MB / 397.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.549, allocations: 0 / 397.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005634/0.5546, allocations: 3.049 MB / 400.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.5547, allocations: 8 kB / 400.5 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/0.5547, allocations: 12 kB / 400.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/0.5569, allocations: 0.8402 MB / 401.3 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.5582, allocations: 303.5 kB / 401.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.5693, allocations: 9.915 MB / 411.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.5711, allocations: 99.91 kB / 411.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.5713, allocations: 60 kB / 411.7 MB, free: 11.5 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.001807/0.5731, allocations: 0.8095 MB / 412.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/0.5736, allocations: 189.8 kB / 412.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/0.5785, allocations: 2.846 MB / 415.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.5786, allocations: 12 kB / 415.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.5786, allocations: 8 kB / 415.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.5786, allocations: 7.969 kB / 415.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.5887, allocations: 5.675 MB / 421.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5888, allocations: 8 kB / 421.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008526/0.5896, allocations: 199.7 kB / 421.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/0.5918, allocations: 0.9016 MB / 422.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.592, allocations: 36.17 kB / 422.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.6052, allocations: 11.53 MB / 433.9 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/0.6053, allocations: 7.938 kB / 433.9 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008236/0.6135, allocations: 4.144 MB / 438.1 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/0.6151, allocations: 462.8 kB / 438.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004041/0.6155, allocations: 32 kB / 438.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.6165, allocations: 79.91 kB / 438.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004952/0.617, allocations: 145 kB / 438.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.6171, allocations: 47.97 kB / 438.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002178/0.6193, allocations: 1.149 MB / 440 MB, free: 14.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6193, allocations: 0 / 440 MB, free: 14.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002618/0.622, allocations: 0.5586 MB / 440.5 MB, free: 13.86 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.0005262/0.6225, allocations: 191 kB / 440.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007181/0.6297, allocations: 3.643 MB / 444.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.6298, allocations: 128 / 444.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003462/0.6332, allocations: 2.033 MB / 446.4 MB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/0.6363, allocations: 0.5134 MB / 446.9 MB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.6476, allocations: 6.218 MB / 453.1 MB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2222/0.8699, allocations: 2.016 MB / 455.1 MB, free: 111 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001995/0.872, allocations: 403.8 kB / 455.5 MB, free: 111 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/0.8725, allocations: 114.8 kB / 455.6 MB, free: 111 MB / 382.1 MB Notification: Performance of SimCode: time 2.244e-06/0.8725, allocations: 0 / 455.6 MB, free: 111 MB / 382.1 MB Notification: Performance of Templates: time 0.0585/0.931, allocations: 32.65 MB / 488.3 MB, free: 87.06 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)