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.001205/0.001206, 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.00131/0.00131, allocations: 194.6 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 1.961/1.961, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.002006/0.002006, allocations: 56.34 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4623, allocations: 46.64 MB / 324.9 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01589/0.4783, allocations: 9.29 MB / 334.2 MB, free: 10.56 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009521/0.4879, allocations: 2.97 MB / 337.1 MB, free: 7.805 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003066/0.4911, allocations: 35.81 kB / 337.2 MB, free: 7.77 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.4939, allocations: 0.575 MB / 337.7 MB, free: 7.191 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004739/0.4987, allocations: 0.7033 MB / 338.4 MB, free: 6.484 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.5003, allocations: 311.7 kB / 338.7 MB, free: 6.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005249/0.5056, allocations: 2.685 MB / 341.4 MB, free: 3.48 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002826/0.5084, allocations: 1.9 MB / 343.3 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003373/0.5118, allocations: 1.187 MB / 344.5 MB, free: 340 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003982/0.5158, allocations: 1.526 MB / 346 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000829/0.5167, allocations: 308 kB / 346.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.5182, allocations: 407.8 kB / 346.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009646/0.5192, allocations: 0.8805 MB / 347.6 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002194/0.5214, allocations: 1.404 MB / 349 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006174/0.5276, allocations: 4.042 MB / 353.1 MB, free: 7.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.5277, allocations: 8 kB / 353.1 MB, free: 7.746 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.5277, allocations: 0 / 353.1 MB, free: 7.746 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002445/0.5279, allocations: 0 / 353.1 MB, free: 7.746 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.009951/0.5379, allocations: 2.853 MB / 355.9 MB, free: 4.828 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.215e-05/0.538, allocations: 11.89 kB / 355.9 MB, free: 4.816 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.539, allocations: 285.7 kB / 356.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.5422, allocations: 1.438 MB / 357.7 MB, free: 3.039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.5424, allocations: 152.4 kB / 357.8 MB, free: 2.887 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003641/0.5427, allocations: 212 kB / 358 MB, free: 2.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006186/0.5489, allocations: 2.732 MB / 360.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.139e-05/0.549, allocations: 4 kB / 360.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.5493, allocations: 84 kB / 360.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.5494, allocations: 91.94 kB / 360.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004978/0.5544, allocations: 2.322 MB / 363.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01887/0.5733, allocations: 8.411 MB / 371.6 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003059/0.5765, allocations: 1.775 MB / 373.4 MB, free: 2.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/0.5787, allocations: 1.066 MB / 374.5 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003613/0.5791, allocations: 118.1 kB / 374.6 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.134e-05/0.5792, allocations: 51.56 kB / 374.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 4.328e-06/0.5792, allocations: 0 / 374.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01605/0.5953, allocations: 6.313 MB / 381 MB, free: 11.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.5954, allocations: 64.41 kB / 381 MB, free: 11.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004133/0.5996, allocations: 1.512 MB / 382.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003925/0.6, allocations: 45.7 kB / 382.6 MB, free: 9.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.6012, allocations: 0.9873 MB / 383.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007799/0.602, allocations: 414 kB / 384 MB, free: 8.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008031/0.6028, allocations: 255.4 kB / 384.2 MB, free: 7.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.6031, allocations: 361.9 kB / 384.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.6047, allocations: 0.7378 MB / 385.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.6064, allocations: 1.052 MB / 386.4 MB, free: 5.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/0.6097, allocations: 1.875 MB / 388.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/0.6097, allocations: 0 / 388.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005527/0.6153, allocations: 2.353 MB / 390.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.033e-05/0.6154, allocations: 12 kB / 390.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/0.6154, allocations: 8 kB / 390.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.6167, allocations: 419.1 kB / 391 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.6181, allocations: 323.5 kB / 391.3 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007112/0.6253, allocations: 5.056 MB / 396.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.6275, allocations: 95.77 kB / 396.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004362/0.628, allocations: 52 kB / 396.5 MB, free: 10.89 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.002601/0.6306, allocations: 0.7198 MB / 397.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009528/0.6316, allocations: 158 kB / 397.4 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005257/0.6368, allocations: 2.137 MB / 399.6 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.6369, allocations: 12 kB / 399.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/0.6369, allocations: 4 kB / 399.6 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/0.637, allocations: 7.969 kB / 399.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.6488, allocations: 4.585 MB / 404.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/0.6489, allocations: 0 / 404.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.65, allocations: 227.9 kB / 404.4 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.6515, allocations: 466.8 kB / 404.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.6517, allocations: 35.98 kB / 404.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00877/0.6605, allocations: 6.685 MB / 411.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.53e-05/0.6606, allocations: 4 kB / 411.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007992/0.6686, allocations: 3.182 MB / 414.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/0.6703, allocations: 403 kB / 415.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006991/0.671, allocations: 27.94 kB / 415.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.6725, allocations: 75.91 kB / 415.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004168/0.673, allocations: 112.7 kB / 415.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.6731, allocations: 32 kB / 415.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002916/0.676, allocations: 1.048 MB / 416.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6761, allocations: 0 / 416.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0033/0.6794, allocations: 463.9 kB / 416.9 MB, free: 5.898 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.0007853/0.6802, allocations: 183 kB / 417.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007018/0.6872, allocations: 2.827 MB / 419.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-05/0.6873, allocations: 0 / 419.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003324/0.6907, allocations: 1.489 MB / 421.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/0.6951, allocations: 444.7 kB / 421.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.7096, allocations: 5.406 MB / 427.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/0.712, allocations: 1.822 MB / 429 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001894/0.7139, allocations: 393.5 kB / 429.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/0.7143, allocations: 111.4 kB / 429.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of SimCode: time 6.742e-06/0.7144, allocations: 0 / 429.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of Templates: time 0.3605/1.075, allocations: 25.43 MB / 455 MB, free: 114 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)