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.001511/0.001511, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00183/0.00183, allocations: 193.6 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 2.058/2.058, allocations: 205.1 MB / 222 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.001329/0.001329, allocations: 43.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3818, allocations: 46.63 MB / 324.7 MB, free: 1.887 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01255/0.3944, allocations: 9.697 MB / 334.4 MB, free: 10.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008565/0.403, allocations: 3.106 MB / 337.5 MB, free: 7.301 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003201/0.4063, allocations: 39.81 kB / 337.5 MB, free: 7.262 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.409, allocations: 0.5866 MB / 338.1 MB, free: 6.672 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.4128, allocations: 0.7461 MB / 338.9 MB, free: 5.922 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4138, allocations: 343.7 kB / 339.2 MB, free: 5.586 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004539/0.4183, allocations: 3.526 MB / 342.7 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002537/0.4209, allocations: 2.005 MB / 344.7 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.423, allocations: 1.171 MB / 345.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.4251, allocations: 1.626 MB / 347.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003703/0.4254, allocations: 216 kB / 347.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008139/0.4263, allocations: 323.8 kB / 348.1 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009029/0.4272, allocations: 0.845 MB / 348.9 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.4289, allocations: 1.446 MB / 350.3 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004914/0.4338, allocations: 4.529 MB / 354.9 MB, free: 5.797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4339, allocations: 0 / 354.9 MB, free: 5.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4339, allocations: 0 / 354.9 MB, free: 5.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.294e-05/0.434, allocations: 0 / 354.9 MB, free: 5.797 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.006879/0.4409, allocations: 3.217 MB / 358.1 MB, free: 2.516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.4409, allocations: 12.03 kB / 358.1 MB, free: 2.504 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007672/0.4417, allocations: 317.4 kB / 358.4 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.4443, allocations: 1.627 MB / 360 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.4444, allocations: 176.9 kB / 360.2 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.4448, allocations: 235.8 kB / 360.4 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005971/0.4508, allocations: 3.18 MB / 363.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-05/0.4509, allocations: 7.984 kB / 363.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/0.4511, allocations: 95.94 kB / 363.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/0.4512, allocations: 100.4 kB / 363.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00563/0.4569, allocations: 2.742 MB / 366.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01837/0.4753, allocations: 9.887 MB / 376.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/0.4782, allocations: 2.094 MB / 378.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002212/0.4804, allocations: 1.198 MB / 379.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003767/0.4808, allocations: 122.1 kB / 379.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.4809, allocations: 47.55 kB / 379.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 4.759e-06/0.4809, allocations: 0 / 379.9 MB, free: 12.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.01972/0.5006, allocations: 8.005 MB / 387.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.5008, allocations: 68.72 kB / 388 MB, free: 3.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00408/0.5049, allocations: 1.672 MB / 389.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.505, allocations: 49.69 kB / 389.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.5063, allocations: 1.093 MB / 390.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006017/0.5069, allocations: 481 kB / 391.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006815/0.5076, allocations: 303.3 kB / 391.6 MB, free: 272 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5078, allocations: 301.1 kB / 391.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.5094, allocations: 0.9057 MB / 392.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.5114, allocations: 1.263 MB / 394 MB, free: 13.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/0.515, allocations: 2.25 MB / 396.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-05/0.515, allocations: 8 kB / 396.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006061/0.5211, allocations: 3.041 MB / 399.3 MB, free: 8.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.5212, allocations: 12 kB / 399.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.5212, allocations: 8.438 kB / 399.3 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/0.5235, allocations: 0.8478 MB / 400.2 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.5247, allocations: 307.5 kB / 400.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.5375, allocations: 9.074 MB / 409.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.5396, allocations: 91.89 kB / 409.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/0.54, allocations: 60 kB / 409.7 MB, free: 13.38 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.002331/0.5424, allocations: 0.8135 MB / 410.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008056/0.5432, allocations: 181.8 kB / 410.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00627/0.5495, allocations: 2.834 MB / 413.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.5496, allocations: 16 kB / 413.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-05/0.5496, allocations: 11.98 kB / 413.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/0.5496, allocations: 3.984 kB / 413.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.5639, allocations: 5.69 MB / 419.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.564, allocations: 7.938 kB / 419.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000908/0.5649, allocations: 195.7 kB / 419.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002482/0.5674, allocations: 0.8941 MB / 420.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/0.5676, allocations: 31.98 kB / 420.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/0.5847, allocations: 10.57 MB / 431 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.5848, allocations: 0 / 431 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.5948, allocations: 4.136 MB / 435.1 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/0.5969, allocations: 466.8 kB / 435.5 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009361/0.5978, allocations: 32 kB / 435.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.5996, allocations: 79.91 kB / 435.7 MB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006293/0.6003, allocations: 145 kB / 435.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.6005, allocations: 51.98 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003396/0.6039, allocations: 1.153 MB / 437 MB, free: 1.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6039, allocations: 0 / 437 MB, free: 1.305 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004007/0.6079, allocations: 0.5586 MB / 437.6 MB, free: 0.7461 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.0007288/0.6087, allocations: 195 kB / 437.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006514/0.6152, allocations: 2.995 MB / 440.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.6152, allocations: 0.5 kB / 440.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004216/0.6194, allocations: 2.03 MB / 442.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004637/0.6241, allocations: 489.8 kB / 443.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/0.6402, allocations: 6.202 MB / 449.5 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002846/0.6431, allocations: 2.028 MB / 451.5 MB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002046/0.6452, allocations: 403.3 kB / 451.9 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.6456, allocations: 107.4 kB / 452 MB, free: 2.066 MB / 382.1 MB Notification: Performance of SimCode: time 1.633e-06/0.6456, allocations: 3.938 kB / 452 MB, free: 2.062 MB / 382.1 MB Notification: Performance of Templates: time 0.2964/0.942, allocations: 31.48 MB / 483.5 MB, free: 90.74 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)