Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001572/0.001572, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001584/0.001584, allocations: 191 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.001394/0.001394, allocations: 55.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4133, allocations: 46.63 MB / 324.9 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01417/0.4275, allocations: 8.74 MB / 333.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009095/0.4367, allocations: 2.837 MB / 336.4 MB, free: 8.477 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003807/0.4407, allocations: 35.81 kB / 336.5 MB, free: 8.441 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003012/0.4437, allocations: 0.5453 MB / 337 MB, free: 7.895 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004848/0.4486, allocations: 0.6334 MB / 337.6 MB, free: 7.258 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.4499, allocations: 287.7 kB / 337.9 MB, free: 6.977 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004342/0.4543, allocations: 2.225 MB / 340.2 MB, free: 4.738 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.4568, allocations: 1.718 MB / 341.9 MB, free: 2.977 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.4591, allocations: 1.012 MB / 342.9 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.4617, allocations: 1.304 MB / 344.2 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005067/0.4623, allocations: 272 kB / 344.5 MB, free: 396 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009694/0.4632, allocations: 363.8 kB / 344.8 MB, free: 32 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009141/0.4642, allocations: 0.7636 MB / 345.6 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.4659, allocations: 1.206 MB / 346.8 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004485/0.4704, allocations: 3.493 MB / 350.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4704, allocations: 0 / 350.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4704, allocations: 0 / 350.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001133/0.4705, allocations: 0 / 350.3 MB, free: 10.55 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006895/0.4774, allocations: 2.485 MB / 352.8 MB, free: 8.008 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.4775, allocations: 11.89 kB / 352.8 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.4784, allocations: 254.2 kB / 353 MB, free: 7.746 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.4809, allocations: 1.216 MB / 354.2 MB, free: 6.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.481, allocations: 131.9 kB / 354.4 MB, free: 6.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002908/0.4813, allocations: 188 kB / 354.5 MB, free: 6.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004604/0.4859, allocations: 2.371 MB / 356.9 MB, free: 3.766 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.615e-05/0.486, allocations: 7.938 kB / 356.9 MB, free: 3.758 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.4862, allocations: 72 kB / 357 MB, free: 3.688 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.4863, allocations: 91.5 kB / 357.1 MB, free: 3.598 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003663/0.49, allocations: 1.962 MB / 359 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.5031, allocations: 7.148 MB / 366.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.5052, allocations: 1.284 MB / 367.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.5069, allocations: 0.8659 MB / 368.3 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.5072, allocations: 126 kB / 368.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.5073, allocations: 47.56 kB / 368.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.966e-06/0.5073, allocations: 0 / 368.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01572/0.5231, allocations: 5.889 MB / 374.4 MB, free: 1.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.5232, allocations: 60.41 kB / 374.5 MB, free: 1.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003066/0.5262, allocations: 1.211 MB / 375.7 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.5264, allocations: 41.7 kB / 375.7 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009266/0.5273, allocations: 0.8652 MB / 376.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004522/0.5278, allocations: 370.7 kB / 376.9 MB, free: 15.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004754/0.5283, allocations: 222.8 kB / 377.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.5285, allocations: 353.9 kB / 377.5 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.5297, allocations: 0.6155 MB / 378.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.5312, allocations: 0.9158 MB / 379 MB, free: 13.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002756/0.5339, allocations: 1.647 MB / 380.7 MB, free: 11.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.422e-05/0.534, allocations: 4 kB / 380.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004831/0.5388, allocations: 2.227 MB / 382.9 MB, free: 8.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.5389, allocations: 8 kB / 382.9 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.409e-05/0.5389, allocations: 11.98 kB / 382.9 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.5403, allocations: 488.2 kB / 383.4 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.5414, allocations: 267.5 kB / 383.7 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008041/0.5494, allocations: 7.014 MB / 390.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.5512, allocations: 83.81 kB / 390.8 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.5513, allocations: 51.94 kB / 390.8 MB, free: 0.6367 MB / 318.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.00156/0.5529, allocations: 0.5951 MB / 391.4 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003999/0.5533, allocations: 134.4 kB / 391.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/0.5568, allocations: 2.023 MB / 393.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.5569, allocations: 12 kB / 393.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.5569, allocations: 4 kB / 393.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.5569, allocations: 7.969 kB / 393.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007541/0.5645, allocations: 4.221 MB / 397.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.5645, allocations: 4 kB / 397.8 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007342/0.5653, allocations: 180.3 kB / 398 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.5667, allocations: 0.5192 MB / 398.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.696e-05/0.5668, allocations: 31.98 kB / 398.5 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.5769, allocations: 8.62 MB / 407.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.934e-06/0.577, allocations: 7.938 kB / 407.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00574/0.5827, allocations: 2.947 MB / 410.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.5839, allocations: 343.4 kB / 410.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.5841, allocations: 31.94 kB / 410.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000884/0.585, allocations: 75.91 kB / 410.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/0.5854, allocations: 92.77 kB / 410.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/0.5855, allocations: 35.98 kB / 410.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001789/0.5873, allocations: 0.8304 MB / 411.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5873, allocations: 4 kB / 411.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002337/0.5896, allocations: 416 kB / 411.9 MB, free: 10.63 MB / 350.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.000587/0.5902, allocations: 191 kB / 412.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005766/0.596, allocations: 2.491 MB / 414.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.596, allocations: 0 / 414.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002801/0.5988, allocations: 1.476 MB / 416.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/0.6023, allocations: 384.4 kB / 416.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.6134, allocations: 4.754 MB / 421.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0028/0.6163, allocations: 1.634 MB / 422.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001607/0.6179, allocations: 295.8 kB / 423.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.6185, allocations: 99.42 kB / 423.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of SimCode: time 1.633e-06/0.6185, allocations: 0 / 423.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Templates: time 0.0532/0.6717, allocations: 22.23 MB / 445.5 MB, free: 8.773 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)