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.001401/0.001401, 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.00156/0.001561, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.904/1.904, allocations: 205.1 MB / 222 MB, free: 4.781 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.001394/0.001394, allocations: 51.94 kB / 278.1 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4053, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01392/0.4193, allocations: 9.279 MB / 334 MB, free: 10.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008868/0.4282, allocations: 3.008 MB / 337 MB, free: 7.832 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003244/0.4317, allocations: 39.81 kB / 337 MB, free: 7.793 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002734/0.4344, allocations: 0.5477 MB / 337.6 MB, free: 7.242 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004144/0.4386, allocations: 0.7072 MB / 338.3 MB, free: 6.531 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.4399, allocations: 319.7 kB / 338.6 MB, free: 6.219 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005036/0.445, allocations: 3.09 MB / 341.7 MB, free: 3.113 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002452/0.4474, allocations: 1.579 MB / 343.2 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.4499, allocations: 1.023 MB / 344.3 MB, free: 464 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.452, allocations: 1.44 MB / 345.7 MB, free: 15 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004078/0.4524, allocations: 188 kB / 345.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008819/0.4533, allocations: 287.8 kB / 346.2 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009315/0.4543, allocations: 0.7594 MB / 346.9 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001952/0.4562, allocations: 1.279 MB / 348.2 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004222/0.4605, allocations: 3.937 MB / 352.1 MB, free: 8.547 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4605, allocations: 0 / 352.1 MB, free: 8.547 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4605, allocations: 0 / 352.1 MB, free: 8.547 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.422e-05/0.4606, allocations: 0 / 352.1 MB, free: 8.547 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.006294/0.4669, allocations: 2.853 MB / 355 MB, free: 5.629 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/0.4669, allocations: 8.031 kB / 355 MB, free: 5.621 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008434/0.4678, allocations: 293.7 kB / 355.3 MB, free: 5.332 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.4703, allocations: 1.43 MB / 356.7 MB, free: 3.844 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.4705, allocations: 156.4 kB / 356.9 MB, free: 3.688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.4708, allocations: 204 kB / 357.1 MB, free: 3.488 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004773/0.4756, allocations: 2.732 MB / 359.8 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/0.4757, allocations: 7.938 kB / 359.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.4759, allocations: 80 kB / 359.9 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.476, allocations: 95.92 kB / 360 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004253/0.4803, allocations: 2.33 MB / 362.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/0.4949, allocations: 8.407 MB / 370.7 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.4972, allocations: 1.784 MB / 372.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/0.4991, allocations: 1.058 MB / 373.6 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/0.4994, allocations: 118.1 kB / 373.7 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.4995, allocations: 47.56 kB / 373.7 MB, free: 2.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 3.586e-06/0.4995, allocations: 0 / 373.7 MB, free: 2.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.01426/0.5137, allocations: 6.318 MB / 380 MB, free: 11.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.5139, allocations: 68.41 kB / 380.1 MB, free: 11.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.5165, allocations: 1.512 MB / 381.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.5166, allocations: 45.7 kB / 381.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008724/0.5175, allocations: 0.9912 MB / 382.7 MB, free: 9.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.5179, allocations: 414 kB / 383.1 MB, free: 8.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004202/0.5183, allocations: 247.5 kB / 383.3 MB, free: 8.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.5185, allocations: 361.9 kB / 383.7 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.5198, allocations: 0.7339 MB / 384.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.5212, allocations: 1.055 MB / 385.4 MB, free: 6.309 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.5237, allocations: 1.875 MB / 387.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.5238, allocations: 4 kB / 387.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004342/0.5281, allocations: 2.349 MB / 389.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.5282, allocations: 12 kB / 389.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.5282, allocations: 11.94 kB / 389.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.5293, allocations: 407.5 kB / 390.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.5306, allocations: 331.5 kB / 390.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005624/0.5363, allocations: 4.653 MB / 395.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.5378, allocations: 83.91 kB / 395.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.5379, allocations: 52 kB / 395.2 MB, free: 12.11 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.001772/0.5397, allocations: 0.7082 MB / 395.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005615/0.5402, allocations: 162 kB / 396.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003716/0.544, allocations: 2.133 MB / 398.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.544, allocations: 12 kB / 398.2 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.544, allocations: 7.938 kB / 398.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.544, allocations: 11.91 kB / 398.2 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007957/0.552, allocations: 4.581 MB / 402.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.552, allocations: 4 kB / 402.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009846/0.553, allocations: 231.9 kB / 403 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001227/0.5543, allocations: 462.9 kB / 403.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.373e-05/0.5544, allocations: 31.98 kB / 403.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006021/0.5604, allocations: 6.141 MB / 409.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.5604, allocations: 8.094 kB / 409.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005206/0.5657, allocations: 3.186 MB / 412.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000956/0.5666, allocations: 398.9 kB / 413.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.5669, allocations: 31.98 kB / 413.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008727/0.5677, allocations: 79.91 kB / 413.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003822/0.5681, allocations: 100.8 kB / 413.5 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/0.5682, allocations: 39.92 kB / 413.5 MB, free: 9.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001983/0.5702, allocations: 1.048 MB / 414.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5702, allocations: 0 / 414.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001895/0.5721, allocations: 460.1 kB / 415 MB, free: 7.691 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.0004944/0.5726, allocations: 186.9 kB / 415.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003537/0.5762, allocations: 2.261 MB / 417.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5762, allocations: 1.875 kB / 417.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002166/0.5784, allocations: 1.484 MB / 418.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.5804, allocations: 420.8 kB / 419.3 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008897/0.5893, allocations: 5.42 MB / 424.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/0.5914, allocations: 1.826 MB / 426.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001682/0.5931, allocations: 393.5 kB / 427 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.5935, allocations: 111.4 kB / 427.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.875e-06/0.5935, allocations: 0 / 427.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of Templates: time 0.04835/0.6419, allocations: 24.49 MB / 451.6 MB, free: 2.848 MB / 382.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)