Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.008585/0.008585, allocations: 102 kB / 15.73 MB, free: 6.051 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.001835/0.001836, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.732/1.732, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.001426/0.001426, allocations: 47.92 kB / 326.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1498, allocations: 46.61 MB / 373.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.3444/0.4943, allocations: 9.33 MB / 382.5 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.5055, allocations: 3.027 MB / 385.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/0.5095, allocations: 41.25 kB / 385.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004006/0.5135, allocations: 0.6742 MB / 386.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.5187, allocations: 0.8123 MB / 387.1 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.5207, allocations: 356.6 kB / 387.4 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006768/0.5275, allocations: 2.686 MB / 390.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005964/0.5334, allocations: 1.904 MB / 392 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004509/0.538, allocations: 1.191 MB / 393.2 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004914/0.5429, allocations: 1.491 MB / 394.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001953/0.5449, allocations: 307.6 kB / 395 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003521/0.5484, allocations: 404.7 kB / 395.4 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002922/0.5514, allocations: 0.8822 MB / 396.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006348/0.5578, allocations: 1.408 MB / 397.7 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.5698, allocations: 4.089 MB / 401.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.5699, allocations: 0 / 401.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.27e-06/0.5699, allocations: 1.281 kB / 401.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003717/0.5703, allocations: 0 / 401.8 MB, free: 14.58 MB / 334.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.0135/0.5838, allocations: 2.843 MB / 404.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/0.5839, allocations: 13.17 kB / 404.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.5852, allocations: 289.5 kB / 404.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/0.589, allocations: 1.442 MB / 406.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.5893, allocations: 159 kB / 406.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004519/0.5897, allocations: 203.6 kB / 406.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007614/0.5974, allocations: 2.738 MB / 409.4 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.032e-05/0.5975, allocations: 10.11 kB / 409.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/0.5977, allocations: 82.66 kB / 409.5 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/0.5979, allocations: 93 kB / 409.6 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00533/0.6032, allocations: 2.321 MB / 411.9 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01746/0.6207, allocations: 8.313 MB / 420.2 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/0.6233, allocations: 1.772 MB / 422 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.6254, allocations: 1.073 MB / 423.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.6258, allocations: 122.1 kB / 423.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.602e-05/0.6258, allocations: 47.56 kB / 423.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 4.949e-06/0.6259, allocations: 0 / 423.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=120): time 0.01667/0.6425, allocations: 6.312 MB / 429.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.6426, allocations: 64.41 kB / 429.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/0.6455, allocations: 1.516 MB / 431.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.6457, allocations: 49.64 kB / 431.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.6468, allocations: 0.9834 MB / 432.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000518/0.6474, allocations: 418 kB / 432.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005043/0.6479, allocations: 251.4 kB / 432.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.6481, allocations: 361.9 kB / 433.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.6495, allocations: 0.7339 MB / 433.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.651, allocations: 1.052 MB / 435 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002782/0.6538, allocations: 1.879 MB / 436.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.557e-06/0.6539, allocations: 4 kB / 436.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00499/0.6589, allocations: 2.349 MB / 439.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.6589, allocations: 8 kB / 439.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.659, allocations: 8 kB / 439.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.6601, allocations: 416.2 kB / 439.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.6614, allocations: 323.5 kB / 439.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006064/0.6675, allocations: 5.059 MB / 445 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.6698, allocations: 91.95 kB / 445.1 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.6699, allocations: 59.92 kB / 445.1 MB, free: 6.23 MB / 366.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.002172/0.6721, allocations: 0.7081 MB / 445.9 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006016/0.6727, allocations: 158 kB / 446 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/0.6769, allocations: 2.141 MB / 448.1 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.6769, allocations: 12 kB / 448.2 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.6769, allocations: 4 kB / 448.2 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.6769, allocations: 7.969 kB / 448.2 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008962/0.6859, allocations: 4.569 MB / 452.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.686, allocations: 0 / 452.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009847/0.687, allocations: 227.9 kB / 453 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.6882, allocations: 466.9 kB / 453.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.535e-05/0.6883, allocations: 31.92 kB / 453.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007179/0.6955, allocations: 6.689 MB / 460.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.6956, allocations: 4 kB / 460.1 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005899/0.7015, allocations: 3.173 MB / 463.3 MB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/0.7029, allocations: 403 kB / 463.7 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.7032, allocations: 32 kB / 463.7 MB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008984/0.7041, allocations: 75.91 kB / 463.8 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/0.7045, allocations: 108.7 kB / 463.9 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.7046, allocations: 28 kB / 463.9 MB, free: 2.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002508/0.7071, allocations: 1.052 MB / 465 MB, free: 1.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7071, allocations: 0 / 465 MB, free: 1.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002725/0.7099, allocations: 463.9 kB / 465.5 MB, free: 1.27 MB / 382.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.0006623/0.7105, allocations: 191 kB / 465.6 MB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004576/0.7151, allocations: 2.275 MB / 467.9 MB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/0.7152, allocations: 8.062 kB / 467.9 MB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002618/0.7178, allocations: 1.488 MB / 469.4 MB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/0.7208, allocations: 442.8 kB / 469.8 MB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.7313, allocations: 4.46 MB / 474.3 MB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/0.7334, allocations: 1.826 MB / 476.1 MB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001828/0.7353, allocations: 397.5 kB / 476.5 MB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/0.7357, allocations: 111.4 kB / 476.6 MB, free: 5.863 MB / 398.1 MB Notification: Performance of SimCode: time 2.094e-06/0.7357, allocations: 0 / 476.6 MB, free: 5.863 MB / 398.1 MB Notification: Performance of Templates: time 0.06036/0.7961, allocations: 25.97 MB / 0.4908 GB, free: 11.85 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)