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.001204/0.001204, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 194.6 kB / 16.53 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.69/1.69, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.001459/0.001459, allocations: 59.91 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3164, allocations: 46.63 MB / 325.3 MB, free: 2.074 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01187/0.3284, allocations: 8.859 MB / 334.2 MB, free: 11.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006941/0.3353, allocations: 2.915 MB / 337.1 MB, free: 8.246 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001951/0.3373, allocations: 35.81 kB / 337.1 MB, free: 8.211 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.3393, allocations: 0.6071 MB / 337.7 MB, free: 7.602 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.3422, allocations: 0.7261 MB / 338.5 MB, free: 6.871 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.3432, allocations: 323.6 kB / 338.8 MB, free: 6.555 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003064/0.3463, allocations: 2.385 MB / 341.2 MB, free: 4.156 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.3485, allocations: 1.718 MB / 342.9 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.3501, allocations: 1.059 MB / 343.9 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.3526, allocations: 1.335 MB / 345.3 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005627/0.3532, allocations: 280 kB / 345.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009559/0.3542, allocations: 379.7 kB / 345.9 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000816/0.355, allocations: 0.787 MB / 346.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.3564, allocations: 1.264 MB / 348 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003467/0.3599, allocations: 3.641 MB / 351.6 MB, free: 9.637 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3599, allocations: 4 kB / 351.6 MB, free: 9.633 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3599, allocations: 0 / 351.6 MB, free: 9.633 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.258e-05/0.36, allocations: 0 / 351.6 MB, free: 9.633 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006583/0.3666, allocations: 2.571 MB / 354.2 MB, free: 7.004 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.3667, allocations: 15.89 kB / 354.2 MB, free: 6.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008502/0.3675, allocations: 254.1 kB / 354.5 MB, free: 6.738 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.3696, allocations: 1.303 MB / 355.8 MB, free: 5.379 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.3697, allocations: 143.9 kB / 355.9 MB, free: 5.238 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.37, allocations: 192 kB / 356.1 MB, free: 5.051 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00451/0.3745, allocations: 2.402 MB / 358.5 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.3746, allocations: 3.938 kB / 358.5 MB, free: 2.609 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.3748, allocations: 76 kB / 358.6 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/0.375, allocations: 83.5 kB / 358.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003818/0.3788, allocations: 2.016 MB / 360.7 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.3912, allocations: 7.467 MB / 368.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.3932, allocations: 1.264 MB / 369.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.3948, allocations: 0.9081 MB / 370.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/0.3951, allocations: 118.1 kB / 370.4 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.3951, allocations: 43.5 kB / 370.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 4.048e-06/0.3951, allocations: 7.922 kB / 370.5 MB, free: 6.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.009796/0.4049, allocations: 5.009 MB / 375.5 MB, free: 1.195 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.405, allocations: 64.41 kB / 375.5 MB, free: 1.121 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.407, allocations: 1.376 MB / 376.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.028e-05/0.4072, allocations: 45.7 kB / 377 MB, free: 15.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000655/0.4078, allocations: 0.8969 MB / 377.9 MB, free: 14.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.4081, allocations: 351 kB / 378.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003582/0.4085, allocations: 214.8 kB / 378.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4086, allocations: 353.9 kB / 378.8 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009562/0.4096, allocations: 0.6311 MB / 379.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.4108, allocations: 0.9181 MB / 380.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/0.4134, allocations: 1.649 MB / 382 MB, free: 10.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.4134, allocations: 8 kB / 382 MB, free: 10.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004449/0.4179, allocations: 2.384 MB / 384.3 MB, free: 8.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.4179, allocations: 12.25 kB / 384.4 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.4179, allocations: 12 kB / 384.4 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.4198, allocations: 0.708 MB / 385.1 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008805/0.4207, allocations: 235.6 kB / 385.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.4317, allocations: 8.753 MB / 394.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.4332, allocations: 83.84 kB / 394.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.811e-05/0.4333, allocations: 44 kB / 394.2 MB, free: 13.89 MB / 334.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.001435/0.4347, allocations: 0.634 MB / 394.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/0.4351, allocations: 146.2 kB / 395 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003488/0.4386, allocations: 1.901 MB / 396.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.4386, allocations: 8 kB / 396.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.4386, allocations: 4 kB / 396.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4386, allocations: 3.984 kB / 396.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007231/0.4458, allocations: 4.014 MB / 400.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4459, allocations: 3.984 kB / 400.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007857/0.4467, allocations: 179.8 kB / 401.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.4479, allocations: 466.9 kB / 401.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.199e-05/0.448, allocations: 27.97 kB / 401.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007253/0.4552, allocations: 6.688 MB / 408.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.4553, allocations: 4.031 kB / 408.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004682/0.46, allocations: 2.786 MB / 411 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008755/0.4609, allocations: 351.3 kB / 411.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.4611, allocations: 28 kB / 411.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/0.4618, allocations: 63.92 kB / 411.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.4621, allocations: 84.88 kB / 411.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/0.4621, allocations: 31.98 kB / 411.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001458/0.4636, allocations: 0.9504 MB / 412.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4636, allocations: 3.938 kB / 412.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001614/0.4652, allocations: 435.9 kB / 413 MB, free: 10.48 MB / 350.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.0004078/0.4656, allocations: 187 kB / 413.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004275/0.4699, allocations: 2.376 MB / 415.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4699, allocations: 0 / 415.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.4719, allocations: 1.351 MB / 416.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.4737, allocations: 376.9 kB / 417.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006699/0.4805, allocations: 4.044 MB / 421.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.4818, allocations: 1.689 MB / 423 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001015/0.4829, allocations: 312.1 kB / 423.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.4831, allocations: 95.38 kB / 423.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4831, allocations: 4 kB / 423.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Templates: time 0.04379/0.5269, allocations: 24.04 MB / 447.4 MB, free: 7.793 MB / 382.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)