Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001375/0.001376, allocations: 91.48 kB / 16.3 MB, free: 6.457 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.001478/0.001478, allocations: 180.6 kB / 17.2 MB, free: 6.34 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.775/1.775, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.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.0006062/0.0006063, allocations: 15.28 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1474, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01238/0.1599, allocations: 9.508 MB / 337.2 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009271/0.1692, allocations: 3.732 MB / 340.9 MB, free: 6.809 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.171, allocations: 51.75 kB / 341 MB, free: 6.758 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.173, allocations: 0.7308 MB / 341.7 MB, free: 6.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.1766, allocations: 0.8802 MB / 342.6 MB, free: 5.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.1778, allocations: 311.6 kB / 342.9 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005092/0.1829, allocations: 2.656 MB / 345.6 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00316/0.1861, allocations: 2.193 MB / 347.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.1892, allocations: 1.3 MB / 349.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.1919, allocations: 1.634 MB / 350.7 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00042/0.1923, allocations: 212 kB / 350.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000859/0.1932, allocations: 279.9 kB / 351.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.1942, allocations: 0.9854 MB / 352.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.1953, allocations: 0.7537 MB / 352.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005849/0.2012, allocations: 5.224 MB / 358.1 MB, free: 5.531 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2012, allocations: 0 / 358.1 MB, free: 5.531 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2012, allocations: 0 / 358.1 MB, free: 5.531 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002566/0.2015, allocations: 0 / 358.1 MB, free: 5.531 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.01056/0.2121, allocations: 3.659 MB / 361.8 MB, free: 1.805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.2121, allocations: 8.031 kB / 361.8 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.2145, allocations: 447 kB / 362.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005956/0.2205, allocations: 2.169 MB / 364.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.2208, allocations: 230.1 kB / 364.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006961/0.2215, allocations: 307.9 kB / 364.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008596/0.2301, allocations: 4.326 MB / 369.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.188e-05/0.2302, allocations: 7.938 kB / 369.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.2305, allocations: 124 kB / 369.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001534/0.2306, allocations: 126 kB / 369.5 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006904/0.2376, allocations: 3.771 MB / 373.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3148/0.5524, allocations: 13.56 MB / 386.8 MB, free: 29.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004724/0.5572, allocations: 2.899 MB / 389.7 MB, free: 29.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/0.5575, allocations: 125.9 kB / 389.9 MB, free: 28.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.5575, allocations: 52.22 kB / 389.9 MB, free: 28.9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.098e-06/0.5576, allocations: 0 / 389.9 MB, free: 28.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01998/0.5775, allocations: 9.359 MB / 399.3 MB, free: 27.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.5776, allocations: 70.41 kB / 399.3 MB, free: 27.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/0.581, allocations: 2.289 MB / 401.6 MB, free: 26.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.5812, allocations: 56.11 kB / 401.7 MB, free: 26.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009763/0.5822, allocations: 1.47 MB / 403.2 MB, free: 26.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/0.5826, allocations: 0.6024 MB / 403.8 MB, free: 25.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.5828, allocations: 44.91 kB / 403.8 MB, free: 25.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5829, allocations: 382.5 kB / 404.2 MB, free: 25.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.5844, allocations: 1.138 MB / 405.3 MB, free: 25.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.5863, allocations: 1.587 MB / 406.9 MB, free: 24.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.588, allocations: 1.351 MB / 408.2 MB, free: 23.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.588, allocations: 3.781 kB / 408.2 MB, free: 23.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005242/0.5933, allocations: 3.617 MB / 411.9 MB, free: 20.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.5933, allocations: 12 kB / 411.9 MB, free: 20.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.5933, allocations: 12 kB / 411.9 MB, free: 20.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.595, allocations: 0.8037 MB / 412.7 MB, free: 20.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.5966, allocations: 464.8 kB / 413.1 MB, free: 19.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008713/0.6054, allocations: 10.51 MB / 423.7 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.6078, allocations: 135.9 kB / 423.8 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.608, allocations: 76.77 kB / 423.9 MB, free: 8.27 MB / 318.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 (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 initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002711/0.6107, allocations: 1.089 MB / 425 MB, free: 7.195 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006087/0.6113, allocations: 245 kB / 425.2 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004866/0.6162, allocations: 3.338 MB / 428.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.6163, allocations: 20 kB / 428.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.6163, allocations: 5.969 kB / 428.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.6163, allocations: 11.97 kB / 428.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/0.6285, allocations: 6.873 MB / 435.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.6286, allocations: 0 / 435.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.6298, allocations: 303.1 kB / 435.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002252/0.6321, allocations: 0.9284 MB / 436.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.6322, allocations: 39.98 kB / 436.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.645, allocations: 13.72 MB / 450.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.645, allocations: 3.562 kB / 450.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008165/0.6532, allocations: 5.057 MB / 455.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/0.6556, allocations: 0.5604 MB / 456 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004489/0.6561, allocations: 39.98 kB / 456.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.6573, allocations: 131.9 kB / 456.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004358/0.6578, allocations: 160.2 kB / 456.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.6579, allocations: 47.98 kB / 456.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002471/0.6604, allocations: 1.574 MB / 458 MB, free: 5.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6604, allocations: 0 / 458 MB, free: 5.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00259/0.663, allocations: 0.6978 MB / 458.7 MB, free: 4.406 MB / 350.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 (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004272/0.6634, allocations: 179.4 kB / 458.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005371/0.6688, allocations: 3.616 MB / 462.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.6688, allocations: 0 / 462.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003495/0.6723, allocations: 2.533 MB / 465 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/0.6756, allocations: 0.6591 MB / 465.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.6885, allocations: 7.972 MB / 473.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/0.6911, allocations: 2.587 MB / 476.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00229/0.6934, allocations: 0.5866 MB / 476.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/0.6939, allocations: 155.4 kB / 477 MB, free: 1.938 MB / 366.1 MB Notification: Performance of SimCode: time 1.843e-06/0.6939, allocations: 0 / 477 MB, free: 1.938 MB / 366.1 MB Notification: Performance of Templates: time 0.07291/0.7668, allocations: 38.24 MB / 0.5031 GB, free: 11.72 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) Environment - environmentSimulation: