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.001583/0.001591, allocations: 112.5 kB / 17.07 MB, free: 5.973 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.001606/0.001606, allocations: 200 kB / 18 MB, free: 5.059 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.965/1.965, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.001272/0.001272, allocations: 59.91 kB / 327.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1432, allocations: 46.61 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.3457/0.489, allocations: 8.785 MB / 383.3 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0098/0.4989, allocations: 2.896 MB / 386.2 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003666/0.5026, allocations: 40.22 kB / 386.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003941/0.5067, allocations: 0.5963 MB / 386.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005542/0.5123, allocations: 0.6935 MB / 387.5 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.5138, allocations: 329.8 kB / 387.8 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006068/0.5199, allocations: 2.239 MB / 390.1 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003337/0.5233, allocations: 1.705 MB / 391.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.526, allocations: 1.008 MB / 392.8 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.5291, allocations: 1.279 MB / 394.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008653/0.53, allocations: 269.2 kB / 394.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.5313, allocations: 356 kB / 394.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.5323, allocations: 0.7702 MB / 395.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.5342, allocations: 1.203 MB / 396.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005865/0.54, allocations: 3.525 MB / 400.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.5401, allocations: 1.125 kB / 400.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.5401, allocations: 0 / 400.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001567/0.5403, allocations: 0 / 400.2 MB, free: 0.5469 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.007834/0.5481, allocations: 2.484 MB / 402.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.5482, allocations: 13.77 kB / 402.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.5493, allocations: 253.2 kB / 402.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.553, allocations: 1.227 MB / 404.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.5532, allocations: 135.4 kB / 404.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004092/0.5536, allocations: 181.9 kB / 404.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005895/0.5595, allocations: 2.375 MB / 406.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.539e-05/0.5596, allocations: 6.312 kB / 406.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.5598, allocations: 75.3 kB / 406.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.56, allocations: 92.53 kB / 407 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004725/0.5647, allocations: 1.969 MB / 409 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.579, allocations: 7.057 MB / 416 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.581, allocations: 1.269 MB / 417.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.5827, allocations: 0.8587 MB / 418.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.583, allocations: 122 kB / 418.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.5831, allocations: 51.5 kB / 418.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.695e-06/0.5831, allocations: 0 / 418.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.01428/0.5974, allocations: 5.897 MB / 424.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.5975, allocations: 64.41 kB / 424.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.5997, allocations: 1.218 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.5998, allocations: 41.7 kB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006955/0.6005, allocations: 0.8652 MB / 426.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.6008, allocations: 362.7 kB / 426.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/0.6012, allocations: 226.8 kB / 427 MB, free: 10.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.6014, allocations: 353.9 kB / 427.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.6025, allocations: 0.6116 MB / 427.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.6038, allocations: 0.9236 MB / 428.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.6061, allocations: 1.644 MB / 430.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.6062, allocations: 4.844 kB / 430.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004048/0.6102, allocations: 2.219 MB / 432.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.6103, allocations: 8 kB / 432.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.6103, allocations: 8 kB / 432.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.6114, allocations: 488.1 kB / 433.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/0.6124, allocations: 271.6 kB / 433.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006959/0.6194, allocations: 7.014 MB / 440.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.6213, allocations: 75.91 kB / 440.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.6214, allocations: 52 kB / 440.6 MB, free: 12.14 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.001429/0.6229, allocations: 0.5988 MB / 441.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/0.6232, allocations: 146.3 kB / 441.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003461/0.6267, allocations: 2.016 MB / 443.4 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.6267, allocations: 12 kB / 443.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6267, allocations: 8 kB / 443.4 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.6267, allocations: 3.984 kB / 443.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/0.6343, allocations: 4.209 MB / 447.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.6343, allocations: 4 kB / 447.6 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/0.6351, allocations: 183.7 kB / 447.8 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/0.6364, allocations: 0.5158 MB / 448.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.177e-05/0.6365, allocations: 31.98 kB / 448.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00873/0.6453, allocations: 8.616 MB / 457 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/0.6453, allocations: 8 kB / 457 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00503/0.6503, allocations: 2.941 MB / 459.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.6515, allocations: 347.3 kB / 460.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.6517, allocations: 31.98 kB / 460.3 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008342/0.6525, allocations: 75.86 kB / 460.4 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.6528, allocations: 96.75 kB / 460.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.295e-05/0.6529, allocations: 35.98 kB / 460.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001455/0.6544, allocations: 0.8381 MB / 461.3 MB, free: 6.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6544, allocations: 0 / 461.3 MB, free: 6.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001834/0.6562, allocations: 411.9 kB / 461.7 MB, free: 6.137 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.0004546/0.6567, allocations: 191.8 kB / 461.9 MB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003495/0.6602, allocations: 2.158 MB / 464.1 MB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.6602, allocations: 4.688 kB / 464.1 MB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00222/0.6624, allocations: 1.479 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.001985/0.6644, allocations: 380 kB / 465.9 MB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007073/0.6715, allocations: 3.922 MB / 469.8 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/0.673, allocations: 1.634 MB / 471.5 MB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001144/0.6742, allocations: 295.8 kB / 471.8 MB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.6745, allocations: 99.41 kB / 471.9 MB, free: 11.71 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6745, allocations: 0 / 471.9 MB, free: 11.71 MB / 398.1 MB Notification: Performance of Templates: time 0.04396/0.7185, allocations: 22.63 MB / 494.5 MB, free: 5.039 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)