Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01163/0.01163, allocations: 100.7 kB / 15.73 MB, free: 5.586 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.001828/0.001828, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.859/1.859, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.001359/0.00136, allocations: 51.91 kB / 326.6 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1462, allocations: 46.62 MB / 373.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.2943/0.4406, allocations: 8.854 MB / 382 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006451/0.4471, allocations: 2.914 MB / 384.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.4483, allocations: 38.47 kB / 385 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.4502, allocations: 0.6444 MB / 385.6 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.4525, allocations: 0.7633 MB / 386.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008373/0.4534, allocations: 323.9 kB / 386.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003467/0.4569, allocations: 2.391 MB / 389.1 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.4592, allocations: 1.712 MB / 390.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.4616, allocations: 1.062 MB / 391.9 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.4641, allocations: 1.341 MB / 393.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005579/0.4647, allocations: 280.1 kB / 393.5 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.4658, allocations: 375.5 kB / 393.8 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.4669, allocations: 0.798 MB / 394.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.4686, allocations: 1.261 MB / 395.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005239/0.4738, allocations: 3.688 MB / 399.6 MB, free: 68 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.4739, allocations: 0 / 399.6 MB, free: 68 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.4739, allocations: 0 / 399.6 MB, free: 68 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000149/0.474, allocations: 0 / 399.6 MB, free: 68 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007443/0.4815, allocations: 2.569 MB / 402.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.4815, allocations: 13.98 kB / 402.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.4827, allocations: 255.4 kB / 402.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/0.4856, allocations: 1.322 MB / 403.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.4857, allocations: 132.3 kB / 403.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003505/0.4861, allocations: 187.9 kB / 404.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004878/0.491, allocations: 2.406 MB / 406.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.557e-05/0.4911, allocations: 18.58 kB / 406.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.4913, allocations: 71.78 kB / 406.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.4914, allocations: 83.69 kB / 406.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003715/0.4951, allocations: 2.01 MB / 408.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.5081, allocations: 7.378 MB / 416 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.5101, allocations: 1.268 MB / 417.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.5117, allocations: 0.912 MB / 418.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.512, allocations: 130 kB / 418.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.5121, allocations: 44.69 kB / 418.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=84): time 3.447e-06/0.5121, allocations: 0 / 418.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=100): time 0.01003/0.5221, allocations: 4.99 MB / 423.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.5222, allocations: 64.41 kB / 423.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.5246, allocations: 1.376 MB / 424.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.5247, allocations: 41.7 kB / 424.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007296/0.5255, allocations: 0.893 MB / 425.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.5258, allocations: 354.9 kB / 426.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003767/0.5262, allocations: 222.8 kB / 426.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5264, allocations: 353.9 kB / 426.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.5275, allocations: 0.6272 MB / 427.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.5287, allocations: 0.9259 MB / 428.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/0.5313, allocations: 1.649 MB / 429.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.5313, allocations: 4 kB / 429.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004936/0.5363, allocations: 2.394 MB / 432.2 MB, free: 3.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.5363, allocations: 8 kB / 432.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.5364, allocations: 8 kB / 432.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/0.5386, allocations: 0.7043 MB / 433 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.5397, allocations: 239.6 kB / 433.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01296/0.5527, allocations: 8.749 MB / 442 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.5546, allocations: 83.84 kB / 442 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003287/0.555, allocations: 44.12 kB / 442.1 MB, free: 9.547 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002019/0.557, allocations: 0.6302 MB / 442.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008473/0.5579, allocations: 150.2 kB / 442.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.5623, allocations: 1.893 MB / 444.7 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.5623, allocations: 12 kB / 444.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.5623, allocations: 4 kB / 444.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.5624, allocations: 7.969 kB / 444.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008832/0.5712, allocations: 4.012 MB / 448.8 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.5712, allocations: 4 kB / 448.8 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008358/0.5721, allocations: 184 kB / 449 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.5733, allocations: 462.9 kB / 449.4 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-05/0.5735, allocations: 27.98 kB / 449.4 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007213/0.5807, allocations: 6.684 MB / 456.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.5807, allocations: 4.031 kB / 456.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/0.5853, allocations: 2.768 MB / 458.9 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.5864, allocations: 363.1 kB / 459.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005577/0.587, allocations: 27.98 kB / 459.3 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.5881, allocations: 67.97 kB / 459.3 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.5883, allocations: 80.88 kB / 459.4 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.999e-05/0.5884, allocations: 31.98 kB / 459.5 MB, free: 7.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001926/0.5903, allocations: 0.9542 MB / 460.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5904, allocations: 4 kB / 460.4 MB, free: 6.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002529/0.5929, allocations: 443.9 kB / 460.8 MB, free: 6.141 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0005405/0.5935, allocations: 179.3 kB / 461 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003975/0.5974, allocations: 2.011 MB / 463 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.5975, allocations: 1.812 kB / 463 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002406/0.5999, allocations: 1.343 MB / 464.4 MB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/0.603, allocations: 388.4 kB / 464.8 MB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.6142, allocations: 4.006 MB / 468.8 MB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/0.6178, allocations: 1.693 MB / 470.5 MB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002085/0.6199, allocations: 312 kB / 470.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006307/0.6206, allocations: 95.42 kB / 470.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of SimCode: time 1.403e-06/0.6206, allocations: 0 / 470.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of Templates: time 0.04736/0.6679, allocations: 24.42 MB / 495.3 MB, free: 3.488 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)