Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, 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.002159/0.002159, allocations: 189.3 kB / 16.13 MB, free: 6.66 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.921/1.921, allocations: 205.1 MB / 222 MB, free: 4.766 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.001663/0.001663, allocations: 48.22 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3123, allocations: 46.63 MB / 324.7 MB, free: 2.07 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.0127/0.3251, allocations: 9.295 MB / 334 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007673/0.3328, allocations: 2.99 MB / 337 MB, free: 7.949 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.335, allocations: 35.81 kB / 337 MB, free: 7.914 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.3369, allocations: 0.5633 MB / 337.6 MB, free: 7.348 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.3394, allocations: 0.6995 MB / 338.3 MB, free: 6.645 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007372/0.3402, allocations: 319.6 kB / 338.6 MB, free: 6.332 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003673/0.3438, allocations: 3.098 MB / 341.7 MB, free: 3.219 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.3461, allocations: 1.579 MB / 343.3 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.3478, allocations: 1.027 MB / 344.3 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/0.3497, allocations: 1.432 MB / 345.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003435/0.3501, allocations: 188 kB / 345.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006639/0.3508, allocations: 283.8 kB / 346.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007327/0.3515, allocations: 0.771 MB / 346.9 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.3531, allocations: 1.275 MB / 348.2 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004594/0.3577, allocations: 3.933 MB / 352.2 MB, free: 8.656 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3577, allocations: 0 / 352.2 MB, free: 8.656 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3577, allocations: 4 kB / 352.2 MB, free: 8.652 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.573e-05/0.3578, allocations: 0 / 352.2 MB, free: 8.652 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005634/0.3634, allocations: 2.853 MB / 355 MB, free: 5.734 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3635, allocations: 8.031 kB / 355 MB, free: 5.727 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007581/0.3642, allocations: 289.7 kB / 355.3 MB, free: 5.441 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.3666, allocations: 1.434 MB / 356.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.3667, allocations: 152.3 kB / 356.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.367, allocations: 204 kB / 357.1 MB, free: 3.598 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005142/0.3722, allocations: 2.736 MB / 359.8 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-05/0.3723, allocations: 0 / 359.8 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/0.3725, allocations: 88 kB / 359.9 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.3726, allocations: 99.86 kB / 360 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003917/0.3765, allocations: 2.322 MB / 362.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.3896, allocations: 8.407 MB / 370.7 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.3922, allocations: 1.771 MB / 372.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/0.3943, allocations: 1.066 MB / 373.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/0.3946, allocations: 118.1 kB / 373.7 MB, free: 2.535 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.3946, allocations: 43.56 kB / 373.7 MB, free: 2.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 3.176e-06/0.3946, allocations: 0 / 373.7 MB, free: 2.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.0181/0.4127, allocations: 6.318 MB / 380 MB, free: 12.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.4129, allocations: 68.34 kB / 380.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004925/0.4178, allocations: 1.512 MB / 381.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002638/0.4181, allocations: 49.7 kB / 381.7 MB, free: 10.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.4194, allocations: 0.9834 MB / 382.7 MB, free: 9.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006785/0.4201, allocations: 418 kB / 383.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007577/0.4209, allocations: 247.5 kB / 383.3 MB, free: 8.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.4211, allocations: 361.9 kB / 383.7 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.423, allocations: 0.7339 MB / 384.4 MB, free: 7.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/0.4254, allocations: 1.055 MB / 385.4 MB, free: 6.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004337/0.4298, allocations: 1.883 MB / 387.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.4298, allocations: 4 kB / 387.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006857/0.4367, allocations: 2.345 MB / 389.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/0.4368, allocations: 8.344 kB / 389.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/0.4368, allocations: 16 kB / 389.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00154/0.4383, allocations: 407.1 kB / 390.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/0.4404, allocations: 331.5 kB / 390.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008576/0.449, allocations: 4.645 MB / 395.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.4514, allocations: 87.91 kB / 395.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/0.4518, allocations: 60.05 kB / 395.2 MB, free: 12.22 MB / 334.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: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002717/0.4545, allocations: 0.7042 MB / 395.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008472/0.4554, allocations: 166 kB / 396.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00618/0.4616, allocations: 2.129 MB / 398.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.4616, allocations: 16 kB / 398.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/0.4616, allocations: 4 kB / 398.2 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.4617, allocations: 11.91 kB / 398.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.4764, allocations: 4.593 MB / 402.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/0.4765, allocations: 7.938 kB / 402.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.478, allocations: 219.7 kB / 403.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.4801, allocations: 466.9 kB / 403.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/0.4803, allocations: 27.98 kB / 403.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008943/0.4892, allocations: 6.144 MB / 409.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/0.4893, allocations: 4 kB / 409.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008116/0.4974, allocations: 3.178 MB / 412.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/0.4992, allocations: 402.9 kB / 413.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000799/0.5, allocations: 27.98 kB / 413.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/0.5019, allocations: 83.91 kB / 413.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004715/0.5024, allocations: 92.86 kB / 413.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.5025, allocations: 35.98 kB / 413.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003266/0.5058, allocations: 1.055 MB / 414.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5058, allocations: 4 kB / 414.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003181/0.509, allocations: 464.1 kB / 415 MB, free: 7.789 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0006481/0.5097, allocations: 186.9 kB / 415.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004452/0.5142, allocations: 2.258 MB / 417.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.5142, allocations: 4.562 kB / 417.4 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002545/0.5167, allocations: 1.488 MB / 418.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/0.5199, allocations: 408.9 kB / 419.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.5301, allocations: 5.428 MB / 424.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/0.5323, allocations: 1.822 MB / 426.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001782/0.5341, allocations: 393.5 kB / 427 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/0.5347, allocations: 107.4 kB / 427.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5347, allocations: 0 / 427.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of Templates: time 0.05506/0.5898, allocations: 24.5 MB / 451.6 MB, free: 2.941 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)