Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 111.3 kB / 17.06 MB, free: 5.996 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.001966/0.001966, allocations: 200 kB / 18 MB, free: 5.074 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.973/1.973, allocations: 205.1 MB / 223.9 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.001462/0.001462, allocations: 43.94 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1243, allocations: 46.62 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.3105/0.4348, allocations: 8.786 MB / 383.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009353/0.4443, allocations: 2.893 MB / 386.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00343/0.4478, allocations: 40 kB / 386.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003762/0.4517, allocations: 0.6005 MB / 386.8 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005069/0.4568, allocations: 0.6967 MB / 387.5 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.4589, allocations: 326.7 kB / 387.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005675/0.4646, allocations: 2.24 MB / 390.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003344/0.468, allocations: 1.7 MB / 391.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/0.4712, allocations: 1.012 MB / 392.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/0.4752, allocations: 1.287 MB / 394.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001433/0.4766, allocations: 269.7 kB / 394.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.4791, allocations: 356.3 kB / 394.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.4805, allocations: 0.7622 MB / 395.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003522/0.484, allocations: 1.208 MB / 396.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006351/0.4904, allocations: 3.527 MB / 400.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.4905, allocations: 0 / 400.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.4905, allocations: 1.344 kB / 400.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001737/0.4907, allocations: 0 / 400.2 MB, free: 0.5352 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.01069/0.5014, allocations: 2.484 MB / 402.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.333e-05/0.5015, allocations: 13.3 kB / 402.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.5027, allocations: 253.5 kB / 402.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003503/0.5063, allocations: 1.227 MB / 404.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.5064, allocations: 131.6 kB / 404.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004101/0.5069, allocations: 181.5 kB / 404.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006346/0.5132, allocations: 2.375 MB / 406.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-05/0.5134, allocations: 10.62 kB / 406.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/0.5136, allocations: 73.31 kB / 406.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002216/0.5138, allocations: 92.44 kB / 407 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005098/0.5189, allocations: 1.965 MB / 409 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01557/0.5346, allocations: 7.063 MB / 416 MB, free: 5.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.5367, allocations: 1.264 MB / 417.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.5383, allocations: 0.8587 MB / 418.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/0.5386, allocations: 118 kB / 418.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.5387, allocations: 51.5 kB / 418.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 4.007e-06/0.5387, allocations: 0 / 418.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.01447/0.5531, allocations: 5.905 MB / 424.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.5532, allocations: 64.41 kB / 424.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.5556, allocations: 1.215 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.5558, allocations: 45.7 kB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007635/0.5566, allocations: 0.8651 MB / 426.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.557, allocations: 362.8 kB / 426.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.5574, allocations: 222.8 kB / 427 MB, free: 10.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.5576, allocations: 358.5 kB / 427.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.5587, allocations: 0.6116 MB / 427.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.5601, allocations: 0.9236 MB / 428.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.5625, allocations: 1.64 MB / 430.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.5626, allocations: 4 kB / 430.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004527/0.5671, allocations: 2.223 MB / 432.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.5672, allocations: 8 kB / 432.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.5672, allocations: 11.94 kB / 432.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.5685, allocations: 484.1 kB / 433.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.5696, allocations: 271.6 kB / 433.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008255/0.5779, allocations: 7.014 MB / 440.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.58, allocations: 79.98 kB / 440.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.5801, allocations: 51.98 kB / 440.6 MB, free: 12.12 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00191/0.582, allocations: 0.5949 MB / 441.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005422/0.5826, allocations: 142.3 kB / 441.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/0.5867, allocations: 2.016 MB / 443.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/0.5868, allocations: 12 kB / 443.4 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.5868, allocations: 8 kB / 443.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.5868, allocations: 3.984 kB / 443.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009476/0.5963, allocations: 4.22 MB / 447.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.5964, allocations: 4 kB / 447.6 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008015/0.5972, allocations: 179.7 kB / 447.8 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.5987, allocations: 0.5123 MB / 448.3 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.641e-05/0.5988, allocations: 31.98 kB / 448.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009011/0.6078, allocations: 8.608 MB / 457 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.6079, allocations: 4 kB / 457 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005271/0.6132, allocations: 2.953 MB / 459.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.6144, allocations: 347.2 kB / 460.3 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.6146, allocations: 31.98 kB / 460.3 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/0.6155, allocations: 75.86 kB / 460.4 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.6158, allocations: 96.75 kB / 460.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/0.6158, allocations: 39.92 kB / 460.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001397/0.6172, allocations: 0.8343 MB / 461.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6173, allocations: 4 kB / 461.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002017/0.6193, allocations: 404 kB / 461.7 MB, free: 6.133 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (89): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,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.0004984/0.6198, allocations: 191.5 kB / 461.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003781/0.6236, allocations: 2.158 MB / 464.1 MB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.6236, allocations: 4.625 kB / 464.1 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002435/0.6261, allocations: 1.475 MB / 465.5 MB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/0.6287, allocations: 386.8 kB / 465.9 MB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007791/0.6366, allocations: 3.922 MB / 469.8 MB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.6382, allocations: 1.634 MB / 471.5 MB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001184/0.6394, allocations: 291.8 kB / 471.8 MB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.6397, allocations: 95.42 kB / 471.9 MB, free: 11.71 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6397, allocations: 0 / 471.9 MB, free: 11.71 MB / 398.1 MB Notification: Performance of Templates: time 0.05221/0.6919, allocations: 23.06 MB / 494.9 MB, free: 4.605 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)