Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001882/0.001881, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001887/0.001888, allocations: 200 kB / 16.14 MB, free: 6.664 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.975/1.975, allocations: 205.1 MB / 222 MB, free: 4.715 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.001372/0.001373, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3034, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01391/0.3174, allocations: 8.744 MB / 333.4 MB, free: 11.05 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008279/0.3258, allocations: 2.858 MB / 336.3 MB, free: 8.523 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.3282, allocations: 35.81 kB / 336.3 MB, free: 8.488 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.3304, allocations: 0.5336 MB / 336.9 MB, free: 7.953 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.3336, allocations: 0.6334 MB / 337.5 MB, free: 7.316 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.3345, allocations: 299.6 kB / 337.8 MB, free: 7.023 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004836/0.3394, allocations: 2.565 MB / 340.3 MB, free: 4.445 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.3414, allocations: 1.409 MB / 341.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.3429, allocations: 0.8795 MB / 342.6 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/0.3448, allocations: 1.241 MB / 343.9 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003819/0.3452, allocations: 167.9 kB / 344 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008049/0.346, allocations: 271.8 kB / 344.3 MB, free: 444 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009296/0.3469, allocations: 0.6542 MB / 345 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.3482, allocations: 1.092 MB / 346.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003317/0.3516, allocations: 3.419 MB / 349.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3516, allocations: 0 / 349.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3516, allocations: 0 / 349.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.894e-05/0.3517, allocations: 0 / 349.5 MB, free: 11.25 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.005758/0.3574, allocations: 2.474 MB / 351.9 MB, free: 8.719 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3575, allocations: 12.03 kB / 352 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007196/0.3582, allocations: 250.2 kB / 352.2 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.3604, allocations: 1.227 MB / 353.4 MB, free: 7.188 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.3605, allocations: 131.9 kB / 353.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/0.3608, allocations: 180 kB / 353.7 MB, free: 6.883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004328/0.3651, allocations: 2.378 MB / 356.1 MB, free: 4.469 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/0.3652, allocations: 3.938 kB / 356.1 MB, free: 4.465 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.3654, allocations: 72 kB / 356.2 MB, free: 4.395 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/0.3655, allocations: 95.5 kB / 356.3 MB, free: 4.301 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00374/0.3693, allocations: 1.966 MB / 358.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.3823, allocations: 7.144 MB / 365.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.3844, allocations: 1.272 MB / 366.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001759/0.3862, allocations: 0.8698 MB / 367.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/0.3865, allocations: 122.1 kB / 367.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.3866, allocations: 43.56 kB / 367.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.797e-06/0.3866, allocations: 0 / 367.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.01393/0.4005, allocations: 5.897 MB / 373.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4006, allocations: 64.41 kB / 373.6 MB, free: 2.488 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.4025, allocations: 1.211 MB / 374.9 MB, free: 1.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.4027, allocations: 41.7 kB / 374.9 MB, free: 1.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007818/0.4035, allocations: 0.8613 MB / 375.8 MB, free: 352 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004476/0.404, allocations: 370.8 kB / 376.1 MB, free: 15.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004368/0.4044, allocations: 226.8 kB / 376.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002803/0.4047, allocations: 353.9 kB / 376.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.406, allocations: 0.6116 MB / 377.3 MB, free: 14.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.4075, allocations: 0.9235 MB / 378.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/0.4103, allocations: 1.644 MB / 379.9 MB, free: 11.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.4103, allocations: 4 kB / 379.9 MB, free: 11.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004306/0.4146, allocations: 2.215 MB / 382.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.4147, allocations: 11.98 kB / 382.1 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.4147, allocations: 12 kB / 382.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.4159, allocations: 476.1 kB / 382.6 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009456/0.4169, allocations: 267.6 kB / 382.8 MB, free: 8.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006506/0.4234, allocations: 6.429 MB / 389.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.4248, allocations: 79.91 kB / 389.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.4249, allocations: 55.94 kB / 389.4 MB, free: 1.965 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.001168/0.4261, allocations: 0.6033 MB / 390 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003838/0.4265, allocations: 134.3 kB / 390.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/0.4299, allocations: 2.024 MB / 392.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.43, allocations: 12 kB / 392.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.43, allocations: 4 kB / 392.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.43, allocations: 7.969 kB / 392.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007359/0.4374, allocations: 4.225 MB / 396.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.4374, allocations: 4 kB / 396.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007499/0.4382, allocations: 180.2 kB / 396.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.4397, allocations: 0.5271 MB / 397.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.401e-05/0.4398, allocations: 31.98 kB / 397.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008585/0.4484, allocations: 7.904 MB / 405 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.4484, allocations: 8 kB / 405.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005103/0.4536, allocations: 2.951 MB / 408 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009977/0.4546, allocations: 347.3 kB / 408.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.4548, allocations: 28 kB / 408.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007596/0.4556, allocations: 71.92 kB / 408.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.4558, allocations: 96.75 kB / 408.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.4559, allocations: 31.98 kB / 408.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001288/0.4572, allocations: 0.8382 MB / 409.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4572, allocations: 0 / 409.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001608/0.4588, allocations: 416.1 kB / 409.8 MB, free: 12.68 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.0004247/0.4593, allocations: 182.9 kB / 410 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003628/0.4629, allocations: 2.147 MB / 412.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.4629, allocations: 4 kB / 412.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.4654, allocations: 1.468 MB / 413.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.4679, allocations: 368.4 kB / 414 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008084/0.476, allocations: 4.764 MB / 418.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.4773, allocations: 1.634 MB / 420.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001214/0.4785, allocations: 303.7 kB / 420.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.4788, allocations: 99.36 kB / 420.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4788, allocations: 0 / 420.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of Templates: time 0.0438/0.5226, allocations: 21.38 MB / 442.1 MB, free: 12.02 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)