Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, 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.001644/0.001645, allocations: 193.4 kB / 16.14 MB, free: 6.668 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.888/1.888, allocations: 205.1 MB / 222 MB, free: 4.754 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.001147/0.001147, allocations: 51.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3639, allocations: 46.64 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01636/0.3804, allocations: 11.66 MB / 336.3 MB, free: 8.449 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.3929, allocations: 3.765 MB / 340.1 MB, free: 4.672 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004016/0.397, allocations: 55.69 kB / 340.2 MB, free: 4.617 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003583/0.4006, allocations: 0.7575 MB / 340.9 MB, free: 3.855 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005267/0.4059, allocations: 0.9988 MB / 341.9 MB, free: 2.852 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.408, allocations: 451.5 kB / 342.4 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.008716/0.4167, allocations: 4.905 MB / 347.3 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004887/0.4217, allocations: 2.666 MB / 349.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003863/0.4256, allocations: 1.603 MB / 351.5 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005359/0.431, allocations: 2.23 MB / 353.8 MB, free: 6.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002064/0.4331, allocations: 304 kB / 354.1 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.4358, allocations: 399.8 kB / 354.5 MB, free: 6.219 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002033/0.4379, allocations: 1.184 MB / 355.6 MB, free: 5.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005561/0.4435, allocations: 1.979 MB / 357.6 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009924/0.4535, allocations: 6.305 MB / 363.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.318e-05/0.4535, allocations: 4 kB / 363.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.4536, allocations: 4 kB / 363.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003563/0.4539, allocations: 0 / 363.9 MB, free: 12.71 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01778/0.4717, allocations: 4.298 MB / 368.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.939e-05/0.4718, allocations: 8.031 kB / 368.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.474, allocations: 432.1 kB / 368.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005833/0.4798, allocations: 2.239 MB / 370.9 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.4802, allocations: 230.1 kB / 371.1 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.4815, allocations: 303.9 kB / 371.4 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.4928, allocations: 4.373 MB / 375.8 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.675e-05/0.493, allocations: 3.984 kB / 375.8 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003658/0.4934, allocations: 124 kB / 375.9 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.4935, allocations: 134 kB / 376 MB, free: 388 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009955/0.5035, allocations: 3.775 MB / 379.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03883/0.5424, allocations: 13.55 MB / 393.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005346/0.5478, allocations: 2.896 MB / 396.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/0.5509, allocations: 1.688 MB / 398 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/0.5514, allocations: 126.4 kB / 398.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.985e-05/0.5515, allocations: 59.81 kB / 398.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 4.538e-06/0.5515, allocations: 0 / 398.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02236/0.5738, allocations: 9.207 MB / 407.3 MB, free: 292 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.574, allocations: 69.41 kB / 407.4 MB, free: 212 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004576/0.5785, allocations: 2.365 MB / 409.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004987/0.5791, allocations: 57.7 kB / 409.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.5805, allocations: 1.462 MB / 411.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.5816, allocations: 0.6046 MB / 411.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007623/0.5823, allocations: 359.3 kB / 412.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5825, allocations: 305.1 kB / 412.5 MB, free: 11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/0.5845, allocations: 1.128 MB / 413.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/0.5868, allocations: 1.571 MB / 415.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004247/0.5911, allocations: 2.78 MB / 418 MB, free: 5.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/0.5911, allocations: 4 kB / 418 MB, free: 5.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007375/0.5985, allocations: 3.592 MB / 421.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.5986, allocations: 11.94 kB / 421.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/0.5987, allocations: 19.94 kB / 421.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.601, allocations: 0.7985 MB / 422.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/0.6035, allocations: 459.3 kB / 422.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.6159, allocations: 10.29 MB / 433.2 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/0.6193, allocations: 115.9 kB / 433.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005774/0.6199, allocations: 72.12 kB / 433.4 MB, free: 5.098 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,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 (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003918/0.6238, allocations: 1.111 MB / 434.5 MB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/0.6251, allocations: 245 kB / 434.7 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006783/0.6319, allocations: 3.301 MB / 438 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.171e-05/0.632, allocations: 19.94 kB / 438.1 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.753e-05/0.6321, allocations: 8 kB / 438.1 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.418e-05/0.6321, allocations: 7.969 kB / 438.1 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/0.6494, allocations: 6.892 MB / 445 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.6495, allocations: 8.062 kB / 445 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.6509, allocations: 291.6 kB / 445.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/0.6537, allocations: 0.9197 MB / 446.2 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000307/0.654, allocations: 39.98 kB / 446.2 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.322/0.9761, allocations: 13.44 MB / 459.7 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9761, allocations: 1.406 kB / 459.7 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008367/0.9845, allocations: 4.865 MB / 464.5 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/0.9862, allocations: 0.5645 MB / 465.1 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004827/0.9867, allocations: 45.84 kB / 465.1 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.988, allocations: 120 kB / 465.2 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004784/0.9885, allocations: 156 kB / 465.4 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.9887, allocations: 45.56 kB / 465.4 MB, free: 104.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002631/0.9913, allocations: 1.627 MB / 467.1 MB, free: 103.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.9913, allocations: 3.188 kB / 467.1 MB, free: 103.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003674/0.995, allocations: 0.7047 MB / 467.8 MB, free: 103.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.000675/0.9957, allocations: 203.3 kB / 468 MB, free: 103.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005192/1.001, allocations: 3.582 MB / 471.6 MB, free: 101.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.001, allocations: 3.906 kB / 471.6 MB, free: 101.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003301/1.004, allocations: 2.502 MB / 474.1 MB, free: 99.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00438/1.009, allocations: 0.6785 MB / 474.7 MB, free: 99.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/1.023, allocations: 8.185 MB / 482.9 MB, free: 91.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/1.025, allocations: 2.52 MB / 485.4 MB, free: 88.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002508/1.027, allocations: 0.5829 MB / 486 MB, free: 88.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/1.028, allocations: 155.4 kB / 486.2 MB, free: 88.08 MB / 382.1 MB Notification: Performance of SimCode: time 1.833e-06/1.028, allocations: 4 kB / 486.2 MB, free: 88.07 MB / 382.1 MB Notification: Performance of Templates: time 0.06853/1.096, allocations: 40.56 MB / 0.5144 GB, free: 47.47 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)