Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.000971/0.0009711, allocations: 91.69 kB / 16.31 MB, free: 6.008 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.001297/0.001297, allocations: 185.8 kB / 17.21 MB, free: 5.902 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.849/1.849, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.0004559/0.0004559, allocations: 14.81 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3031, allocations: 47.6 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01088/0.3141, allocations: 8.632 MB / 336.4 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007067/0.3212, allocations: 2.96 MB / 339.3 MB, free: 7.883 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.3224, allocations: 39.81 kB / 339.4 MB, free: 7.844 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.3239, allocations: 0.5359 MB / 339.9 MB, free: 7.305 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.326, allocations: 0.7031 MB / 340.6 MB, free: 6.598 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006775/0.3267, allocations: 235.7 kB / 340.8 MB, free: 6.367 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00338/0.3301, allocations: 3.167 MB / 344 MB, free: 3.184 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.3322, allocations: 1.567 MB / 345.6 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.3338, allocations: 1.023 MB / 346.6 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.3358, allocations: 1.385 MB / 348 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002929/0.3362, allocations: 156 kB / 348.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005955/0.3368, allocations: 231.8 kB / 348.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007833/0.3376, allocations: 0.7515 MB / 349.1 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000636/0.3382, allocations: 0.5549 MB / 349.7 MB, free: 13.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.3416, allocations: 3.775 MB / 353.4 MB, free: 9.684 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3416, allocations: 0 / 353.4 MB, free: 9.684 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3416, allocations: 0 / 353.4 MB, free: 9.684 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.343e-05/0.3417, allocations: 0 / 353.4 MB, free: 9.684 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.005579/0.3473, allocations: 2.761 MB / 356.2 MB, free: 6.859 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.3474, allocations: 11.97 kB / 356.2 MB, free: 6.848 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008209/0.3482, allocations: 324.4 kB / 356.5 MB, free: 6.527 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/0.3511, allocations: 1.565 MB / 358.1 MB, free: 4.906 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.3513, allocations: 172.5 kB / 358.3 MB, free: 4.734 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003444/0.3517, allocations: 235.8 kB / 358.5 MB, free: 4.504 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007537/0.3592, allocations: 3.18 MB / 361.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.517e-05/0.3594, allocations: 4 kB / 361.7 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.3596, allocations: 95.95 kB / 361.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000152/0.3598, allocations: 104.4 kB / 361.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005752/0.3655, allocations: 2.746 MB / 364.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01851/0.3841, allocations: 9.942 MB / 374.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/0.3872, allocations: 2.106 MB / 376.7 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.3893, allocations: 1.21 MB / 377.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/0.3896, allocations: 126.1 kB / 378 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.3896, allocations: 51.56 kB / 378.1 MB, free: 432 kB / 302.1 MB Notification: Performance of pre-optimization done (n=126): time 3.507e-06/0.3896, allocations: 0 / 378.1 MB, free: 432 kB / 302.1 MB Notification: Performance of matching and sorting (n=142): time 0.01852/0.4082, allocations: 8.049 MB / 386.1 MB, free: 8.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.4083, allocations: 64.72 kB / 386.2 MB, free: 8.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/0.4108, allocations: 1.664 MB / 387.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.411, allocations: 57.64 kB / 387.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008946/0.4119, allocations: 1.086 MB / 389 MB, free: 5.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000429/0.4123, allocations: 485 kB / 389.4 MB, free: 4.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/0.4124, allocations: 32 kB / 389.5 MB, free: 4.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.4126, allocations: 373.9 kB / 389.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.4141, allocations: 0.9135 MB / 390.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.4158, allocations: 1.267 MB / 392 MB, free: 2.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.4175, allocations: 1.068 MB / 393.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.4176, allocations: 4 kB / 393.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005409/0.423, allocations: 3.053 MB / 396.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.423, allocations: 12 kB / 396.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.4231, allocations: 8 kB / 396.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/0.4252, allocations: 0.8402 MB / 397 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.4264, allocations: 315.4 kB / 397.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.4383, allocations: 9.085 MB / 406.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.44, allocations: 103.9 kB / 406.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.4403, allocations: 60 kB / 406.6 MB, free: 3.137 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.00192/0.4422, allocations: 0.8096 MB / 407.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006349/0.4428, allocations: 181.8 kB / 407.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005646/0.4485, allocations: 2.858 MB / 410.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.4485, allocations: 12.19 kB / 410.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/0.4486, allocations: 8 kB / 410.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.4486, allocations: 7.922 kB / 410.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/0.4618, allocations: 5.695 MB / 416.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/0.4619, allocations: 4 kB / 416.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009971/0.4629, allocations: 191.7 kB / 416.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002571/0.4655, allocations: 0.8978 MB / 417.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.4657, allocations: 35.98 kB / 417.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/0.4791, allocations: 10.56 MB / 427.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/0.4791, allocations: 7.938 kB / 427.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007489/0.4866, allocations: 4.164 MB / 432 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.488, allocations: 462.7 kB / 432.4 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004757/0.4885, allocations: 31.98 kB / 432.5 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.4897, allocations: 95.92 kB / 432.6 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004889/0.4902, allocations: 157 kB / 432.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.4903, allocations: 35.98 kB / 432.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002596/0.4929, allocations: 1.142 MB / 433.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.493, allocations: 0 / 433.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00311/0.4961, allocations: 0.5624 MB / 434.5 MB, free: 6.461 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.0005069/0.4966, allocations: 159.1 kB / 434.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005608/0.5022, allocations: 3.012 MB / 437.6 MB, free: 3.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.5022, allocations: 0 / 437.6 MB, free: 3.203 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003527/0.5058, allocations: 2.042 MB / 439.7 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/0.5088, allocations: 497.8 kB / 440.1 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.5206, allocations: 6.071 MB / 446.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003577/0.5243, allocations: 2.024 MB / 448.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001915/0.5262, allocations: 403.3 kB / 448.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/0.5267, allocations: 115.4 kB / 448.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of SimCode: time 2.665e-06/0.5268, allocations: 0 / 448.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of Templates: time 0.2774/0.8042, allocations: 30.07 MB / 478.8 MB, free: 97.72 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)