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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.000999/0.000999, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.385/1.385, allocations: 194.2 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001602/0.001602, allocations: 120.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.604e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07103/0.07107, allocations: 44.51 MB / 349.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.323/0.3941, allocations: 105.8 MB / 455.2 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.3944, allocations: 87.44 kB / 455.3 MB, free: 6.031 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1664/0.5609, allocations: 65.4 MB / 0.5085 GB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5609, allocations: 0 / 0.5085 GB, free: 11.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002708/0.5612, allocations: 79.94 kB / 0.5086 GB, free: 10.96 MB / 378.7 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.008443/0.5696, allocations: 3.249 MB / 0.5118 GB, free: 7.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.5697, allocations: 15.91 kB / 0.5118 GB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.5716, allocations: 439.2 kB / 0.5122 GB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005097/0.5767, allocations: 2.383 MB / 0.5145 GB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.5769, allocations: 234.1 kB / 0.5147 GB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006477/0.5775, allocations: 303.9 kB / 0.515 GB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007566/0.5851, allocations: 4.249 MB / 0.5192 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.066e-05/0.5852, allocations: 7.984 kB / 0.5192 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003267/0.5856, allocations: 139.9 kB / 0.5193 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.5857, allocations: 126 kB / 0.5194 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005585/0.5913, allocations: 3.479 MB / 0.5228 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2356/0.8269, allocations: 13.6 MB / 0.5361 GB, free: 80.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003947/0.8309, allocations: 2.887 MB / 0.5389 GB, free: 80.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/0.8334, allocations: 1.584 MB / 0.5405 GB, free: 80.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/0.8337, allocations: 143.5 kB / 0.5406 GB, free: 79.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.8338, allocations: 54.81 kB / 0.5407 GB, free: 79.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=167): time 3.737e-06/0.8338, allocations: 0 / 0.5407 GB, free: 79.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.01531/0.8491, allocations: 7.308 MB / 0.5478 GB, free: 79.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.8492, allocations: 74.28 kB / 0.5479 GB, free: 79.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/0.8526, allocations: 2.042 MB / 0.5499 GB, free: 78.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000208/0.8528, allocations: 59.7 kB / 0.5499 GB, free: 78.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009163/0.8537, allocations: 1.462 MB / 0.5514 GB, free: 78.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004759/0.8542, allocations: 0.6171 MB / 0.552 GB, free: 78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.8543, allocations: 35.44 kB / 0.552 GB, free: 78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8545, allocations: 386.9 kB / 0.5524 GB, free: 77.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.8559, allocations: 1.077 MB / 0.5534 GB, free: 77.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.8574, allocations: 1.491 MB / 0.5549 GB, free: 77.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.8589, allocations: 1.295 MB / 0.5561 GB, free: 77.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.8589, allocations: 3.938 kB / 0.5561 GB, free: 77.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004771/0.8637, allocations: 3.491 MB / 0.5596 GB, free: 76.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.8637, allocations: 11.75 kB / 0.5596 GB, free: 76.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.8638, allocations: 11.41 kB / 0.5596 GB, free: 76.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/0.866, allocations: 0.8141 MB / 0.5604 GB, free: 76.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.8677, allocations: 461.3 kB / 0.5608 GB, free: 76.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008535/0.8762, allocations: 10.82 MB / 0.5714 GB, free: 70.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.8786, allocations: 132.6 kB / 0.5715 GB, free: 70.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.8788, allocations: 75.47 kB / 0.5716 GB, free: 70.31 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 207 * 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%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003807/0.8791, allocations: 231 kB / 0.5718 GB, free: 70.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.8795, allocations: 245.4 kB / 0.572 GB, free: 70.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004743/0.8843, allocations: 3.269 MB / 0.5752 GB, free: 69.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.8843, allocations: 16.97 kB / 0.5752 GB, free: 69.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.8843, allocations: 9.562 kB / 0.5752 GB, free: 69.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.8844, allocations: 6.75 kB / 0.5753 GB, free: 69.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.8946, allocations: 6.963 MB / 0.5821 GB, free: 66.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.8946, allocations: 0 / 0.5821 GB, free: 66.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.8958, allocations: 311.6 kB / 0.5823 GB, free: 66.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002153/0.898, allocations: 0.9177 MB / 0.5832 GB, free: 66.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.8982, allocations: 39.95 kB / 0.5833 GB, free: 66.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009563/0.9077, allocations: 13.48 MB / 0.5964 GB, free: 55.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.9078, allocations: 7.344 kB / 0.5965 GB, free: 55.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006912/0.9147, allocations: 4.995 MB / 0.6013 GB, free: 53.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/0.9163, allocations: 0.5776 MB / 0.6019 GB, free: 53.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/0.9166, allocations: 38.69 kB / 0.6019 GB, free: 53.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.9179, allocations: 132 kB / 0.6021 GB, free: 53.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/0.9183, allocations: 167 kB / 0.6022 GB, free: 53.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.9184, allocations: 54.95 kB / 0.6023 GB, free: 53.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002018/0.9204, allocations: 1.569 MB / 0.6038 GB, free: 52.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9204, allocations: 0 / 0.6038 GB, free: 52.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002259/0.9227, allocations: 0.7407 MB / 0.6045 GB, free: 52.38 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 141 * 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.0005556/0.9233, allocations: 364.2 kB / 0.6049 GB, free: 52.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00431/0.9276, allocations: 3.526 MB / 0.6083 GB, free: 50.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.9276, allocations: 4.25 kB / 0.6083 GB, free: 50.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002839/0.9305, allocations: 2.499 MB / 0.6108 GB, free: 49.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/0.9334, allocations: 0.6575 MB / 0.6114 GB, free: 48.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008338/0.9418, allocations: 5.629 MB / 0.6169 GB, free: 46.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.9436, allocations: 2.577 MB / 0.6194 GB, free: 44.06 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001904/0.9455, allocations: 0.5807 MB / 0.62 GB, free: 43.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.946, allocations: 162.2 kB / 0.6201 GB, free: 43.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.213e-06/0.946, allocations: 0 / 0.6201 GB, free: 43.5 MB / 394.7 MB Notification: Performance of Templates: time 0.05648/1.002, allocations: 42.4 MB / 0.6615 GB, free: 10.19 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (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)