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.0008732/0.0008735, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001088/0.001088, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.000581/0.000581, allocations: 8 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4019, allocations: 47.59 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01323/0.4152, allocations: 8.627 MB / 335.1 MB, free: 10.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009527/0.4248, allocations: 2.954 MB / 338.1 MB, free: 7.887 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.4282, allocations: 43.81 kB / 338.1 MB, free: 7.844 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003112/0.4313, allocations: 0.5281 MB / 338.6 MB, free: 7.312 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.4364, allocations: 0.7109 MB / 339.4 MB, free: 6.598 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.4381, allocations: 243.7 kB / 339.6 MB, free: 6.359 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006518/0.4446, allocations: 3.175 MB / 342.8 MB, free: 3.168 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/0.4482, allocations: 1.563 MB / 344.3 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/0.4508, allocations: 1.023 MB / 345.4 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.4542, allocations: 1.393 MB / 346.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008069/0.4551, allocations: 156 kB / 346.9 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.4566, allocations: 219.9 kB / 347.1 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.458, allocations: 0.7515 MB / 347.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.4594, allocations: 0.551 MB / 348.4 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005869/0.4653, allocations: 3.775 MB / 352.2 MB, free: 9.672 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4653, allocations: 0 / 352.2 MB, free: 9.672 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4654, allocations: 0 / 352.2 MB, free: 9.672 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002337/0.4656, allocations: 0 / 352.2 MB, free: 9.672 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.008633/0.4742, allocations: 2.769 MB / 355 MB, free: 6.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/0.4743, allocations: 12.03 kB / 355 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.4766, allocations: 316.4 kB / 355.3 MB, free: 6.516 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004852/0.4814, allocations: 1.565 MB / 356.8 MB, free: 4.895 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.4816, allocations: 184.5 kB / 357 MB, free: 4.711 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.482, allocations: 227.9 kB / 357.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006301/0.4883, allocations: 3.177 MB / 360.4 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.266e-05/0.4884, allocations: 7.922 kB / 360.4 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/0.4886, allocations: 99.89 kB / 360.5 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.4888, allocations: 108.4 kB / 360.6 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004956/0.4937, allocations: 2.746 MB / 363.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01582/0.5096, allocations: 9.938 MB / 373.3 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.5122, allocations: 2.098 MB / 375.4 MB, free: 1.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/0.5141, allocations: 1.215 MB / 376.6 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.5144, allocations: 126.1 kB / 376.8 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.5144, allocations: 43.56 kB / 376.8 MB, free: 424 kB / 302.1 MB Notification: Performance of pre-optimization done (n=126): time 4.578e-06/0.5144, allocations: 0 / 376.8 MB, free: 424 kB / 302.1 MB Notification: Performance of matching and sorting (n=142): time 0.01871/0.5332, allocations: 8.061 MB / 384.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.5332, allocations: 72.72 kB / 384.9 MB, free: 8.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003411/0.5367, allocations: 1.664 MB / 386.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.5368, allocations: 49.7 kB / 386.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.5378, allocations: 1.086 MB / 387.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004995/0.5384, allocations: 485 kB / 388.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.5385, allocations: 32 kB / 388.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.5387, allocations: 369.9 kB / 388.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.5402, allocations: 0.9135 MB / 389.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.5421, allocations: 1.271 MB / 390.8 MB, free: 2.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.5439, allocations: 1.072 MB / 391.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.5439, allocations: 0 / 391.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005875/0.5498, allocations: 3.049 MB / 394.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.5499, allocations: 8 kB / 394.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-05/0.5499, allocations: 15.98 kB / 394.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002155/0.5521, allocations: 0.8327 MB / 395.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.5533, allocations: 311.5 kB / 396.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.5653, allocations: 9.085 MB / 405.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.567, allocations: 103.9 kB / 405.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/0.5673, allocations: 60 kB / 405.3 MB, free: 3.129 MB / 334.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 (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 initialization (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(9,33.3%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001938/0.5692, allocations: 0.8135 MB / 406.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006013/0.5698, allocations: 177.8 kB / 406.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005319/0.5752, allocations: 2.858 MB / 409.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.5752, allocations: 16 kB / 409.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/0.5752, allocations: 8 kB / 409.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.5752, allocations: 7.969 kB / 409.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.5859, allocations: 5.691 MB / 414.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5859, allocations: 0 / 414.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008268/0.5868, allocations: 207.9 kB / 415.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/0.589, allocations: 0.8942 MB / 416 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.5892, allocations: 35.98 kB / 416 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/0.601, allocations: 10.56 MB / 426.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6011, allocations: 4.031 kB / 426.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006891/0.608, allocations: 4.168 MB / 430.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.6091, allocations: 466.6 kB / 431.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004773/0.6096, allocations: 35.98 kB / 431.2 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.6107, allocations: 87.91 kB / 431.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003987/0.6112, allocations: 145 kB / 431.5 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.6113, allocations: 43.98 kB / 431.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002417/0.6137, allocations: 1.138 MB / 432.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6137, allocations: 4 kB / 432.6 MB, free: 7.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002406/0.6161, allocations: 0.5624 MB / 433.2 MB, free: 6.449 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004129/0.6166, allocations: 167 kB / 433.4 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005208/0.6218, allocations: 3.002 MB / 436.4 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.6218, allocations: 3.984 kB / 436.4 MB, free: 3.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003192/0.625, allocations: 2.039 MB / 438.4 MB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.6277, allocations: 497.7 kB / 438.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009877/0.6375, allocations: 6.079 MB / 445 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003039/0.6406, allocations: 2.02 MB / 447 MB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001671/0.6423, allocations: 407.3 kB / 447.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/0.6428, allocations: 107.4 kB / 447.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6428, allocations: 4 kB / 447.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of Templates: time 0.2574/0.9002, allocations: 30.07 MB / 477.6 MB, free: 97.05 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)