Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007697/0.007697, allocations: 101.4 kB / 15.73 MB, free: 6.055 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.001736/0.001736, allocations: 199.9 kB / 16.68 MB, free: 5.969 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.942/1.942, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.00143/0.00143, allocations: 47.38 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1412, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01345/0.1547, allocations: 9.353 MB / 382.5 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008559/0.1633, allocations: 3.011 MB / 385.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/0.1659, allocations: 43.81 kB / 385.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.1689, allocations: 0.6717 MB / 386.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.1736, allocations: 0.8156 MB / 387.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.1752, allocations: 351.5 kB / 387.4 MB, free: 3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00504/0.1802, allocations: 2.685 MB / 390.1 MB, free: 312 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003557/0.1838, allocations: 1.9 MB / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.1868, allocations: 1.195 MB / 393.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003795/0.1906, allocations: 1.483 MB / 394.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001373/0.192, allocations: 308 kB / 395 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.194, allocations: 407.8 kB / 395.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.1952, allocations: 0.8804 MB / 396.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002515/0.1977, allocations: 1.408 MB / 397.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00531/0.2031, allocations: 4.093 MB / 401.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.2031, allocations: 0 / 401.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2031, allocations: 4 kB / 401.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001337/0.2033, allocations: 3.938 kB / 401.8 MB, free: 4.535 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008172/0.2114, allocations: 2.841 MB / 404.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.886e-05/0.2115, allocations: 11.89 kB / 404.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009931/0.2125, allocations: 289.8 kB / 404.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/0.2156, allocations: 1.449 MB / 406.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.2157, allocations: 156.4 kB / 406.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003189/0.2161, allocations: 204 kB / 406.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005428/0.2215, allocations: 2.732 MB / 409.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.481e-05/0.2216, allocations: 7.906 kB / 409.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/0.2218, allocations: 80 kB / 409.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.2219, allocations: 95.92 kB / 409.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004514/0.2265, allocations: 2.326 MB / 411.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.2445, allocations: 8.309 MB / 420.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/0.2472, allocations: 1.775 MB / 422 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002063/0.2493, allocations: 1.073 MB / 423.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/0.2497, allocations: 126.9 kB / 423.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.2497, allocations: 43.56 kB / 423.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 4.088e-06/0.2497, allocations: 0 / 423.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01592/0.2657, allocations: 6.304 MB / 429.6 MB, free: 7.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.2658, allocations: 64.41 kB / 429.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003692/0.2695, allocations: 1.516 MB / 431.1 MB, free: 6.379 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002675/0.2698, allocations: 45.7 kB / 431.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009663/0.2707, allocations: 0.9951 MB / 432.2 MB, free: 5.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006505/0.2714, allocations: 414 kB / 432.6 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005457/0.272, allocations: 251.4 kB / 432.8 MB, free: 4.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.2722, allocations: 361.9 kB / 433.2 MB, free: 4.301 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.2736, allocations: 0.7261 MB / 433.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.2754, allocations: 1.059 MB / 435 MB, free: 2.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/0.2784, allocations: 1.875 MB / 436.9 MB, free: 392 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.2784, allocations: 0 / 436.9 MB, free: 392 kB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005129/0.2836, allocations: 2.353 MB / 439.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.2837, allocations: 8 kB / 439.2 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.561e-05/0.2837, allocations: 11.98 kB / 439.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.2849, allocations: 415.1 kB / 439.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.2862, allocations: 319.5 kB / 439.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006254/0.2925, allocations: 5.064 MB / 445 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.2947, allocations: 87.84 kB / 445.1 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004155/0.2951, allocations: 55.98 kB / 445.1 MB, free: 7.773 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002168/0.2973, allocations: 0.712 MB / 445.9 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000755/0.2981, allocations: 162 kB / 446 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004715/0.3028, allocations: 2.137 MB / 448.2 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.3029, allocations: 12 kB / 448.2 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.311e-05/0.3029, allocations: 4 kB / 448.2 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.3029, allocations: 3.984 kB / 448.2 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.314, allocations: 4.569 MB / 452.7 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/0.3141, allocations: 288 / 452.7 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3488/0.6629, allocations: 220.7 kB / 453 MB, free: 70.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/0.665, allocations: 469.2 kB / 453.4 MB, free: 69.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003467/0.6654, allocations: 35 kB / 453.4 MB, free: 69.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008996/0.6744, allocations: 6.686 MB / 460.1 MB, free: 65.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/0.6744, allocations: 5.875 kB / 460.1 MB, free: 65.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007584/0.682, allocations: 3.177 MB / 463.3 MB, free: 64.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.6836, allocations: 394.7 kB / 463.7 MB, free: 64.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/0.6839, allocations: 31.39 kB / 463.7 MB, free: 64.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009138/0.6848, allocations: 77.58 kB / 463.8 MB, free: 64.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004802/0.6853, allocations: 110.3 kB / 463.9 MB, free: 64.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.6854, allocations: 35.47 kB / 464 MB, free: 64.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002434/0.6879, allocations: 1.045 MB / 465 MB, free: 63.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6879, allocations: 1.188 kB / 465 MB, free: 63.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003023/0.6909, allocations: 461 kB / 465.4 MB, free: 63.95 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: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,100.0%), (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.0006094/0.6915, allocations: 185.6 kB / 465.6 MB, free: 63.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004807/0.6964, allocations: 2.274 MB / 467.9 MB, free: 62.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.6964, allocations: 4.719 kB / 467.9 MB, free: 62.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002728/0.6992, allocations: 1.485 MB / 469.4 MB, free: 62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/0.7021, allocations: 446.8 kB / 469.8 MB, free: 61.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.7122, allocations: 4.48 MB / 474.3 MB, free: 59.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/0.7144, allocations: 1.819 MB / 476.1 MB, free: 58.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00175/0.7162, allocations: 392.4 kB / 476.5 MB, free: 58.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.7166, allocations: 112.7 kB / 476.6 MB, free: 58.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.174e-06/0.7166, allocations: 0 / 476.6 MB, free: 58.74 MB / 382.1 MB Notification: Performance of Templates: time 0.05054/0.7671, allocations: 25.97 MB / 0.4908 GB, free: 34.22 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)