Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001502/0.001502, 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.001584/0.001584, allocations: 194.8 kB / 16.25 MB, free: 6.629 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.066/2.066, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.001505/0.001505, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4737, allocations: 46.62 MB / 324.9 MB, free: 1.895 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01686/0.4907, allocations: 9.583 MB / 334.4 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.5018, allocations: 3.026 MB / 337.5 MB, free: 7.457 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00399/0.5059, allocations: 35.81 kB / 337.5 MB, free: 7.422 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.5091, allocations: 0.5555 MB / 338.1 MB, free: 6.863 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005547/0.5147, allocations: 0.672 MB / 338.7 MB, free: 6.188 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.517, allocations: 335.7 kB / 339.1 MB, free: 5.859 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007022/0.524, allocations: 2.448 MB / 341.5 MB, free: 3.395 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00406/0.5281, allocations: 1.723 MB / 343.2 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/0.5316, allocations: 1.078 MB / 344.3 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004247/0.5359, allocations: 1.339 MB / 345.6 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001689/0.5376, allocations: 280 kB / 345.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.5402, allocations: 375.8 kB / 346.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002343/0.5426, allocations: 0.7713 MB / 347.1 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005176/0.5478, allocations: 1.272 MB / 348.3 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006819/0.5546, allocations: 3.61 MB / 351.9 MB, free: 8.895 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.5547, allocations: 0 / 351.9 MB, free: 8.895 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5547, allocations: 4 kB / 351.9 MB, free: 8.891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002048/0.5549, allocations: 0 / 351.9 MB, free: 8.891 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.008455/0.5634, allocations: 2.579 MB / 354.5 MB, free: 6.254 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.047e-05/0.5635, allocations: 11.89 kB / 354.5 MB, free: 6.242 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009478/0.5645, allocations: 262.1 kB / 354.8 MB, free: 5.984 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002684/0.5672, allocations: 1.256 MB / 356 MB, free: 4.672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.5673, allocations: 144.1 kB / 356.2 MB, free: 4.531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003177/0.5676, allocations: 196 kB / 356.4 MB, free: 4.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005066/0.5727, allocations: 2.419 MB / 358.8 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.387e-05/0.5728, allocations: 15.83 kB / 358.8 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.573, allocations: 76 kB / 358.9 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.5731, allocations: 87.69 kB / 359 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003947/0.5771, allocations: 1.963 MB / 360.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01682/0.5939, allocations: 7.847 MB / 368.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.596, allocations: 1.231 MB / 370 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.5979, allocations: 0.9333 MB / 370.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.5982, allocations: 122.1 kB / 371.1 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/0.5983, allocations: 43.56 kB / 371.1 MB, free: 5.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 4.869e-06/0.5983, allocations: 0 / 371.1 MB, free: 5.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01547/0.6138, allocations: 5.879 MB / 377 MB, free: 15.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.6139, allocations: 64.41 kB / 377 MB, free: 15.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002783/0.6167, allocations: 1.306 MB / 378.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.6169, allocations: 45.7 kB / 378.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.618, allocations: 0.916 MB / 379.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004729/0.6184, allocations: 394.4 kB / 379.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005456/0.619, allocations: 251.4 kB / 379.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.6193, allocations: 361.9 kB / 380.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.6204, allocations: 0.6325 MB / 380.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.6221, allocations: 1 MB / 381.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/0.6249, allocations: 1.735 MB / 383.7 MB, free: 8.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.625, allocations: 4 kB / 383.7 MB, free: 8.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004564/0.6295, allocations: 2.249 MB / 385.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.6296, allocations: 12 kB / 385.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/0.6297, allocations: 8 kB / 385.9 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/0.6312, allocations: 0.4884 MB / 386.4 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.6324, allocations: 299.5 kB / 386.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008145/0.6405, allocations: 7.14 MB / 393.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.6426, allocations: 79.92 kB / 393.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/0.6428, allocations: 59.97 kB / 394 MB, free: 13.4 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.001765/0.6446, allocations: 0.6106 MB / 394.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006314/0.6452, allocations: 146.2 kB / 394.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.6493, allocations: 1.964 MB / 396.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.6493, allocations: 15.98 kB / 396.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.6494, allocations: 4 kB / 396.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.6494, allocations: 3.984 kB / 396.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009278/0.6587, allocations: 4.128 MB / 400.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.6587, allocations: 4 kB / 400.9 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/0.6596, allocations: 184 kB / 401 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/0.6612, allocations: 0.5465 MB / 401.6 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.246e-05/0.6613, allocations: 31.92 kB / 401.6 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/0.6752, allocations: 8.766 MB / 410.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/0.6753, allocations: 7.969 kB / 410.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006204/0.6815, allocations: 2.842 MB / 413.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.6828, allocations: 359.2 kB / 413.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.6831, allocations: 31.92 kB / 413.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008345/0.6839, allocations: 63.92 kB / 413.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/0.6842, allocations: 88.86 kB / 413.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.959e-05/0.6843, allocations: 36.05 kB / 413.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001991/0.6863, allocations: 0.8956 MB / 414.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.01e-07/0.6863, allocations: 0 / 414.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002549/0.6889, allocations: 440 kB / 415.1 MB, free: 7.461 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.0008555/0.6898, allocations: 179.6 kB / 415.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006202/0.696, allocations: 2.572 MB / 417.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/0.696, allocations: 0 / 417.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002832/0.6989, allocations: 1.499 MB / 419.4 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.7016, allocations: 412.8 kB / 419.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009482/0.7111, allocations: 4.977 MB / 424.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001929/0.7132, allocations: 1.642 MB / 426.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00165/0.7148, allocations: 324.8 kB / 426.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.7152, allocations: 95.44 kB / 426.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.214e-06/0.7152, allocations: 0 / 426.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Templates: time 0.0588/0.774, allocations: 23.71 MB / 450.5 MB, free: 3.781 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)