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.0009953/0.0009953, allocations: 86.33 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.001232/0.001232, 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.932/1.932, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.0005775/0.0005776, allocations: 8 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4266, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01301/0.4397, allocations: 8.636 MB / 335.1 MB, free: 10.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009183/0.449, allocations: 2.951 MB / 338.1 MB, free: 7.93 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.4517, allocations: 43.81 kB / 338.1 MB, free: 7.887 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.4544, allocations: 0.532 MB / 338.6 MB, free: 7.352 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00453/0.4589, allocations: 0.7109 MB / 339.4 MB, free: 6.637 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.4605, allocations: 243.7 kB / 339.6 MB, free: 6.398 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007088/0.4677, allocations: 3.167 MB / 342.8 MB, free: 3.215 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004212/0.4719, allocations: 1.571 MB / 344.3 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.4752, allocations: 1.023 MB / 345.4 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003811/0.479, allocations: 1.389 MB / 346.7 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001178/0.4802, allocations: 152 kB / 346.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.4823, allocations: 223.9 kB / 347.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002227/0.4846, allocations: 0.7476 MB / 347.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.4866, allocations: 0.5549 MB / 348.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005989/0.4926, allocations: 3.775 MB / 352.2 MB, free: 9.723 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.4927, allocations: 0 / 352.2 MB, free: 9.723 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.4927, allocations: 0 / 352.2 MB, free: 9.723 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001684/0.4929, allocations: 0 / 352.2 MB, free: 9.723 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.007687/0.5006, allocations: 2.769 MB / 355 MB, free: 6.891 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/0.5006, allocations: 8.031 kB / 355 MB, free: 6.883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.5018, allocations: 320.4 kB / 355.3 MB, free: 6.566 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003665/0.5055, allocations: 1.561 MB / 356.8 MB, free: 4.949 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.5057, allocations: 176.5 kB / 357 MB, free: 4.773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004197/0.5062, allocations: 231.9 kB / 357.2 MB, free: 4.547 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006851/0.513, allocations: 3.173 MB / 360.4 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.11e-05/0.5131, allocations: 15.92 kB / 360.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/0.5134, allocations: 99.89 kB / 360.5 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.5135, allocations: 112.4 kB / 360.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005308/0.5189, allocations: 2.746 MB / 363.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/0.5376, allocations: 9.93 MB / 373.3 MB, free: 4.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/0.5409, allocations: 2.107 MB / 375.4 MB, free: 1.871 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/0.5433, allocations: 1.206 MB / 376.6 MB, free: 0.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003503/0.5436, allocations: 122.1 kB / 376.7 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.733e-05/0.5437, allocations: 51.48 kB / 376.8 MB, free: 480 kB / 302.1 MB Notification: Performance of pre-optimization done (n=126): time 4.529e-06/0.5437, allocations: 0 / 376.8 MB, free: 480 kB / 302.1 MB Notification: Performance of matching and sorting (n=142): time 0.02078/0.5645, allocations: 8.057 MB / 384.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.5647, allocations: 68.72 kB / 384.9 MB, free: 8.203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004234/0.5689, allocations: 1.668 MB / 386.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.5691, allocations: 49.7 kB / 386.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.5702, allocations: 1.089 MB / 387.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005574/0.5708, allocations: 481 kB / 388.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.5709, allocations: 36 kB / 388.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.5711, allocations: 369.9 kB / 388.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.5727, allocations: 0.9135 MB / 389.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.5747, allocations: 1.271 MB / 390.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.5766, allocations: 1.068 MB / 391.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/0.5766, allocations: 4 kB / 391.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005821/0.5824, allocations: 3.053 MB / 394.9 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.5825, allocations: 8 kB / 394.9 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/0.5825, allocations: 8 kB / 394.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00226/0.5848, allocations: 0.8561 MB / 395.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.586, allocations: 311.5 kB / 396.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.5984, allocations: 9.065 MB / 405.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.6002, allocations: 111.9 kB / 405.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003183/0.6005, allocations: 59.98 kB / 405.3 MB, free: 3.176 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.002452/0.603, allocations: 0.8135 MB / 406.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008594/0.6039, allocations: 177.8 kB / 406.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/0.6097, allocations: 2.85 MB / 409.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.6097, allocations: 16 kB / 409.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.014e-05/0.6097, allocations: 4 kB / 409.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.6098, allocations: 7.969 kB / 409.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.6222, allocations: 5.694 MB / 414.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.6222, allocations: 4 kB / 414.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.6236, allocations: 200 kB / 415.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003676/0.6273, allocations: 0.8903 MB / 416 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.6276, allocations: 39.97 kB / 416 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/0.6468, allocations: 10.58 MB / 426.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/0.6469, allocations: 4 kB / 426.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/0.6587, allocations: 4.16 MB / 430.7 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/0.661, allocations: 466.7 kB / 431.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009213/0.6619, allocations: 32 kB / 431.2 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/0.664, allocations: 91.91 kB / 431.3 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006852/0.6647, allocations: 149 kB / 431.5 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/0.6649, allocations: 43.98 kB / 431.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003874/0.6688, allocations: 1.138 MB / 432.6 MB, free: 7.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6689, allocations: 0 / 432.6 MB, free: 7.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0042/0.6731, allocations: 0.5585 MB / 433.2 MB, free: 6.504 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.0005786/0.6737, allocations: 167 kB / 433.4 MB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008437/0.6821, allocations: 3.01 MB / 436.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.6822, allocations: 0 / 436.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005029/0.6872, allocations: 2.047 MB / 438.4 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00538/0.6927, allocations: 497.8 kB / 438.9 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.7097, allocations: 6.075 MB / 445 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003605/0.7134, allocations: 2.02 MB / 447 MB, free: 8.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00277/0.7162, allocations: 403.3 kB / 447.4 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008223/0.717, allocations: 115.4 kB / 447.5 MB, free: 7.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.166e-06/0.7171, allocations: 4 kB / 447.5 MB, free: 7.926 MB / 382.1 MB Notification: Performance of Templates: time 0.3083/1.025, allocations: 30.07 MB / 477.6 MB, free: 97.04 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)