Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001494/0.001495, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001542/0.001542, allocations: 193.7 kB / 16.14 MB, free: 6.715 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.062/2.062, allocations: 205.1 MB / 222 MB, free: 4.766 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.001488/0.001489, allocations: 59.91 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3259, allocations: 46.62 MB / 324.7 MB, free: 2.168 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01764/0.3437, allocations: 11.67 MB / 336.4 MB, free: 8.598 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00915/0.3529, allocations: 3.765 MB / 340.1 MB, free: 4.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003709/0.3566, allocations: 55.69 kB / 340.2 MB, free: 4.766 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003503/0.3602, allocations: 0.7614 MB / 340.9 MB, free: 4 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006555/0.3668, allocations: 0.9988 MB / 341.9 MB, free: 2.996 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.3694, allocations: 443.6 kB / 342.4 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007572/0.377, allocations: 4.901 MB / 347.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003821/0.3808, allocations: 2.655 MB / 349.9 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003547/0.3844, allocations: 1.615 MB / 351.5 MB, free: 9.301 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005299/0.3898, allocations: 2.23 MB / 353.8 MB, free: 7.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.3913, allocations: 300 kB / 354.1 MB, free: 6.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.3937, allocations: 407.8 kB / 354.5 MB, free: 6.371 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001905/0.3956, allocations: 1.18 MB / 355.6 MB, free: 5.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00403/0.3997, allocations: 1.986 MB / 357.6 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008706/0.4084, allocations: 6.309 MB / 363.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.4085, allocations: 0 / 363.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.4085, allocations: 0 / 363.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003514/0.4088, allocations: 0 / 363.9 MB, free: 12.86 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.01586/0.4247, allocations: 4.29 MB / 368.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/0.4248, allocations: 12.03 kB / 368.2 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/0.4269, allocations: 440.1 kB / 368.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005621/0.4326, allocations: 2.223 MB / 370.9 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.4329, allocations: 242.1 kB / 371.1 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.4342, allocations: 307.9 kB / 371.4 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.4457, allocations: 4.365 MB / 375.8 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.4458, allocations: 8 kB / 375.8 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004173/0.4463, allocations: 128 kB / 375.9 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001814/0.4464, allocations: 134 kB / 376.1 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.4573, allocations: 3.775 MB / 379.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03/0.4874, allocations: 13.54 MB / 393.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004659/0.4921, allocations: 2.907 MB / 396.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.4951, allocations: 1.68 MB / 398 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/0.4955, allocations: 134.4 kB / 398.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.4955, allocations: 47.88 kB / 398.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 4.258e-06/0.4956, allocations: 0 / 398.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02295/0.5185, allocations: 9.211 MB / 407.3 MB, free: 452 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.284e-05/0.5186, allocations: 69.41 kB / 407.4 MB, free: 372 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006705/0.5254, allocations: 2.361 MB / 409.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005617/0.526, allocations: 57.7 kB / 409.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001498/0.5275, allocations: 1.466 MB / 411.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001321/0.5288, allocations: 0.6007 MB / 411.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/0.5302, allocations: 375.2 kB / 412.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5304, allocations: 305.1 kB / 412.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002647/0.5331, allocations: 1.128 MB / 413.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/0.5361, allocations: 1.571 MB / 415.3 MB, free: 8.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005325/0.5415, allocations: 2.78 MB / 418 MB, free: 5.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.189e-05/0.5415, allocations: 4 kB / 418 MB, free: 5.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.008059/0.5496, allocations: 3.596 MB / 421.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.5497, allocations: 8 kB / 421.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.8e-05/0.5498, allocations: 15.94 kB / 421.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002717/0.5525, allocations: 0.7986 MB / 422.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/0.5548, allocations: 463.3 kB / 422.9 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.5673, allocations: 10.28 MB / 433.2 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003057/0.5704, allocations: 123.9 kB / 433.3 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005206/0.571, allocations: 75.98 kB / 433.4 MB, free: 5.242 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.00313/0.5741, allocations: 1.091 MB / 434.5 MB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/0.5752, allocations: 245 kB / 434.7 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006899/0.5821, allocations: 3.305 MB / 438 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/0.5821, allocations: 20 kB / 438 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.182e-05/0.5822, allocations: 4 kB / 438.1 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.094e-05/0.5822, allocations: 7.969 kB / 438.1 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.5986, allocations: 6.892 MB / 445 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.5986, allocations: 3.938 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.6, allocations: 295.5 kB / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00271/0.6027, allocations: 0.9277 MB / 446.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002758/0.6031, allocations: 43.98 kB / 446.2 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3068/0.9098, allocations: 13.45 MB / 459.7 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.9099, allocations: 2.312 kB / 459.7 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.9203, allocations: 4.865 MB / 464.5 MB, free: 105.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/0.9227, allocations: 0.5642 MB / 465.1 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008924/0.9236, allocations: 39.62 kB / 465.1 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.9255, allocations: 125.7 kB / 465.3 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006018/0.9261, allocations: 154.7 kB / 465.4 MB, free: 105.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/0.9263, allocations: 49.81 kB / 465.5 MB, free: 105.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003331/0.9296, allocations: 1.633 MB / 467.1 MB, free: 104.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9296, allocations: 0 / 467.1 MB, free: 104.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005/0.9347, allocations: 0.7083 MB / 467.8 MB, free: 104.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.001082/0.9358, allocations: 198.8 kB / 468 MB, free: 104.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007275/0.9431, allocations: 3.571 MB / 471.6 MB, free: 102.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.9432, allocations: 0 / 471.6 MB, free: 102.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004573/0.9477, allocations: 2.517 MB / 474.1 MB, free: 101 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005093/0.9529, allocations: 0.6736 MB / 474.8 MB, free: 100.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.9677, allocations: 8.17 MB / 482.9 MB, free: 92.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002214/0.9699, allocations: 2.521 MB / 485.4 MB, free: 90.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002441/0.9724, allocations: 0.5868 MB / 486 MB, free: 89.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000663/0.9731, allocations: 159.4 kB / 486.2 MB, free: 89.27 MB / 382.1 MB Notification: Performance of SimCode: time 1.443e-06/0.9731, allocations: 0 / 486.2 MB, free: 89.27 MB / 382.1 MB Notification: Performance of Templates: time 0.07149/1.045, allocations: 40.55 MB / 0.5144 GB, free: 48.67 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)