Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001557/0.001557, 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.001428/0.001428, allocations: 197 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.001643/0.001643, allocations: 44.39 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4859, allocations: 46.62 MB / 324.8 MB, free: 2.07 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01681/0.5028, allocations: 8.836 MB / 333.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008049/0.5109, allocations: 2.864 MB / 336.5 MB, free: 8.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.5129, allocations: 35.81 kB / 336.6 MB, free: 8.445 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.5153, allocations: 0.5376 MB / 337.1 MB, free: 7.906 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.5184, allocations: 0.6567 MB / 337.8 MB, free: 7.246 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.5195, allocations: 287.7 kB / 338.1 MB, free: 6.965 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00324/0.5228, allocations: 2.389 MB / 340.4 MB, free: 4.562 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002632/0.5254, allocations: 1.722 MB / 342.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.527, allocations: 1.063 MB / 343.2 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.5292, allocations: 1.374 MB / 344.6 MB, free: 360 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004296/0.5297, allocations: 283.9 kB / 344.9 MB, free: 76 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008126/0.5305, allocations: 363.9 kB / 345.2 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007447/0.5313, allocations: 0.8064 MB / 346 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.5327, allocations: 1.256 MB / 347.3 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003442/0.5361, allocations: 3.645 MB / 350.9 MB, free: 9.992 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.5361, allocations: 0 / 350.9 MB, free: 9.992 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5361, allocations: 0 / 350.9 MB, free: 9.992 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.931e-05/0.5362, allocations: 0 / 350.9 MB, free: 9.992 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.004842/0.5411, allocations: 2.575 MB / 353.5 MB, free: 7.359 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.5411, allocations: 19.77 kB / 353.5 MB, free: 7.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006184/0.5418, allocations: 270 kB / 353.8 MB, free: 7.074 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.5437, allocations: 1.295 MB / 355.1 MB, free: 5.723 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-05/0.5438, allocations: 135.9 kB / 355.2 MB, free: 5.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002854/0.5441, allocations: 188 kB / 355.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003835/0.5479, allocations: 2.41 MB / 357.8 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.977e-05/0.548, allocations: 4 kB / 357.8 MB, free: 2.957 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/0.5482, allocations: 72 kB / 357.9 MB, free: 2.887 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.848e-05/0.5483, allocations: 87.48 kB / 358 MB, free: 2.801 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/0.5514, allocations: 2.016 MB / 360 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.5633, allocations: 7.448 MB / 367.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.5651, allocations: 1.276 MB / 368.7 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.5667, allocations: 0.9042 MB / 369.6 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/0.5669, allocations: 118 kB / 369.7 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.567, allocations: 47.56 kB / 369.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 2.735e-06/0.567, allocations: 0 / 369.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.009543/0.5766, allocations: 5.009 MB / 374.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.5766, allocations: 68.39 kB / 374.9 MB, free: 1.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.5786, allocations: 1.372 MB / 376.2 MB, free: 108 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.5788, allocations: 41.7 kB / 376.3 MB, free: 60 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006672/0.5795, allocations: 0.9047 MB / 377.2 MB, free: 15.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.5798, allocations: 343 kB / 377.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00038/0.5802, allocations: 214.8 kB / 377.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5803, allocations: 349.9 kB / 378.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009348/0.5813, allocations: 0.6389 MB / 378.7 MB, free: 13.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.5824, allocations: 0.922 MB / 379.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.5846, allocations: 1.653 MB / 381.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.5846, allocations: 0 / 381.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004073/0.5886, allocations: 2.384 MB / 383.7 MB, free: 8.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.5887, allocations: 11.98 kB / 383.7 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.5887, allocations: 8 kB / 383.7 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.5905, allocations: 0.7121 MB / 384.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008663/0.5914, allocations: 243.6 kB / 384.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.6028, allocations: 8.733 MB / 393.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.6043, allocations: 87.84 kB / 393.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.6044, allocations: 56.06 kB / 393.5 MB, free: 14.25 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.001191/0.6056, allocations: 0.6262 MB / 394.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.6059, allocations: 146.2 kB / 394.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.6091, allocations: 1.901 MB / 396.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.6092, allocations: 8 kB / 396.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6092, allocations: 4 kB / 396.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.6092, allocations: 7.984 kB / 396.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006245/0.6154, allocations: 4.014 MB / 400.2 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.6155, allocations: 4 kB / 400.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007831/0.6163, allocations: 175.8 kB / 400.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.6174, allocations: 471 kB / 400.8 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/0.6175, allocations: 31.98 kB / 400.9 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006701/0.6242, allocations: 6.696 MB / 407.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.6243, allocations: 11.86 kB / 407.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/0.6289, allocations: 2.779 MB / 410.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.6301, allocations: 355.3 kB / 410.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.6304, allocations: 20 kB / 410.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007855/0.6312, allocations: 79.91 kB / 410.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.6315, allocations: 76.83 kB / 410.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.6315, allocations: 27.98 kB / 410.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00143/0.633, allocations: 0.9582 MB / 411.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.633, allocations: 0 / 411.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001558/0.6346, allocations: 435.9 kB / 412.3 MB, free: 10.83 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.0004103/0.635, allocations: 171 kB / 412.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004365/0.6393, allocations: 2.37 MB / 414.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6394, allocations: 0 / 414.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.6415, allocations: 1.349 MB / 416.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.6434, allocations: 388.9 kB / 416.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007498/0.6509, allocations: 4.833 MB / 421.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.6524, allocations: 1.689 MB / 423.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001201/0.6536, allocations: 320 kB / 423.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/0.6539, allocations: 95.42 kB / 423.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6539, allocations: 0 / 423.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Templates: time 0.04571/0.6996, allocations: 23.99 MB / 447.5 MB, free: 7.418 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)