Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001593, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002214/0.002214, allocations: 195 kB / 16.25 MB, free: 6.637 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.784/1.784, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.001167/0.001167, allocations: 43.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.346, allocations: 46.64 MB / 324.9 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01244/0.3585, allocations: 9.581 MB / 334.4 MB, free: 10.39 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008095/0.3666, allocations: 3.025 MB / 337.5 MB, free: 7.461 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.369, allocations: 31.88 kB / 337.5 MB, free: 7.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.3712, allocations: 0.5594 MB / 338.1 MB, free: 6.867 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.3743, allocations: 0.6643 MB / 338.7 MB, free: 6.199 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3753, allocations: 339.6 kB / 339.1 MB, free: 5.867 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003623/0.379, allocations: 2.444 MB / 341.5 MB, free: 3.406 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002269/0.3813, allocations: 1.727 MB / 343.2 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.3829, allocations: 1.074 MB / 344.3 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.3845, allocations: 1.343 MB / 345.6 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003327/0.3849, allocations: 280 kB / 345.9 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006049/0.3855, allocations: 371.7 kB / 346.3 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007007/0.3862, allocations: 0.7752 MB / 347.1 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.3876, allocations: 1.268 MB / 348.3 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004089/0.3917, allocations: 3.614 MB / 351.9 MB, free: 8.902 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3917, allocations: 0 / 351.9 MB, free: 8.902 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3917, allocations: 0 / 351.9 MB, free: 8.902 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.902e-05/0.3918, allocations: 0 / 351.9 MB, free: 8.902 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005085/0.3969, allocations: 2.579 MB / 354.5 MB, free: 6.266 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.796e-05/0.397, allocations: 15.88 kB / 354.5 MB, free: 6.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000756/0.3978, allocations: 262.1 kB / 354.8 MB, free: 5.992 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.4, allocations: 1.264 MB / 356.1 MB, free: 4.672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.4001, allocations: 140.2 kB / 356.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/0.4005, allocations: 200 kB / 356.4 MB, free: 4.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004369/0.4048, allocations: 2.419 MB / 358.8 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.595e-05/0.4049, allocations: 11.89 kB / 358.8 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.4051, allocations: 76 kB / 358.9 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.4052, allocations: 87.69 kB / 359 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003485/0.4087, allocations: 1.959 MB / 360.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.4217, allocations: 7.843 MB / 368.8 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.4234, allocations: 1.235 MB / 370 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.425, allocations: 0.9362 MB / 370.9 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.4253, allocations: 122.1 kB / 371.1 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.059e-05/0.4254, allocations: 51.55 kB / 371.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 3.106e-06/0.4254, allocations: 0 / 371.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01253/0.4379, allocations: 5.871 MB / 377 MB, free: 15.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.438, allocations: 64.41 kB / 377.1 MB, free: 15.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.4401, allocations: 1.306 MB / 378.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.4402, allocations: 45.7 kB / 378.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007133/0.4409, allocations: 0.916 MB / 379.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/0.4413, allocations: 390.4 kB / 379.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/0.4417, allocations: 247.4 kB / 379.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.4419, allocations: 365.9 kB / 380.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009792/0.4429, allocations: 0.6364 MB / 380.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.4441, allocations: 1 MB / 381.9 MB, free: 10.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.4463, allocations: 1.727 MB / 383.7 MB, free: 8.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.4464, allocations: 4 kB / 383.7 MB, free: 8.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003918/0.4503, allocations: 2.249 MB / 385.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.4503, allocations: 16.06 kB / 385.9 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.4504, allocations: 8 kB / 385.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.4517, allocations: 495.9 kB / 386.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.4528, allocations: 303.5 kB / 386.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007411/0.4602, allocations: 7.144 MB / 393.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.4619, allocations: 83.98 kB / 393.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.4621, allocations: 55.98 kB / 394 MB, free: 13.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001417/0.4635, allocations: 0.6066 MB / 394.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/0.4639, allocations: 142.2 kB / 394.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/0.4674, allocations: 1.972 MB / 396.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.4675, allocations: 12 kB / 396.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.4675, allocations: 4 kB / 396.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.4675, allocations: 7.969 kB / 396.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00735/0.4748, allocations: 4.128 MB / 400.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4749, allocations: 4 kB / 400.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000841/0.4757, allocations: 183.7 kB / 401.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.4772, allocations: 0.5468 MB / 401.6 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-05/0.4773, allocations: 31.92 kB / 401.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009653/0.487, allocations: 8.754 MB / 410.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.4871, allocations: 15.97 kB / 410.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00613/0.4932, allocations: 2.849 MB / 413.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.4944, allocations: 351.2 kB / 413.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.4946, allocations: 27.98 kB / 413.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008468/0.4955, allocations: 71.86 kB / 413.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.4958, allocations: 84.83 kB / 413.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.519e-05/0.4959, allocations: 31.98 kB / 413.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001365/0.4972, allocations: 0.8956 MB / 414.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4973, allocations: 0 / 414.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001825/0.4991, allocations: 440 kB / 415.1 MB, free: 7.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0004545/0.4996, allocations: 179.6 kB / 415.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004493/0.5041, allocations: 2.572 MB / 417.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5041, allocations: 0 / 417.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.5063, allocations: 1.498 MB / 419.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.5085, allocations: 420.5 kB / 419.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008172/0.5167, allocations: 4.965 MB / 424.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.5181, allocations: 1.65 MB / 426.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001125/0.5193, allocations: 324.8 kB / 426.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.5195, allocations: 99.42 kB / 426.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of SimCode: time 1.793e-06/0.5196, allocations: 0 / 426.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of Templates: time 0.04577/0.5653, allocations: 23.7 MB / 450.5 MB, free: 3.789 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)