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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,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=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009291/0.009291, allocations: 166.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.393/1.393, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001632/0.001632, allocations: 106.7 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003296, allocations: 11.98 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2349, allocations: 38.76 MB / 312.9 MB, free: 38.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.3606, allocations: 100.7 MB / 413.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.3609, allocations: 87.95 kB / 413.7 MB, free: 5.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3401/0.701, allocations: 65.4 MB / 479.1 MB, free: 46 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.938e-06/0.7011, allocations: 3.984 kB / 479.1 MB, free: 46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002623/0.7014, allocations: 91.86 kB / 479.2 MB, free: 45.91 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 795 * Number of variables: 795 Notification: Performance of Generate backend data structure: time 0.0115/0.7129, allocations: 3.632 MB / 482.8 MB, free: 42.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.7129, allocations: 12.03 kB / 482.9 MB, free: 42.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.7151, allocations: 439.2 kB / 483.3 MB, free: 41.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/0.721, allocations: 2.351 MB / 485.6 MB, free: 39.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.7211, allocations: 234 kB / 485.9 MB, free: 39.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006343/0.7218, allocations: 308 kB / 486.2 MB, free: 38.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006255/0.728, allocations: 4.318 MB / 490.5 MB, free: 34.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.918e-05/0.7281, allocations: 15.84 kB / 490.5 MB, free: 34.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.7284, allocations: 124 kB / 490.6 MB, free: 34.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.344e-05/0.7285, allocations: 130 kB / 490.8 MB, free: 34.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005056/0.7336, allocations: 3.603 MB / 494.4 MB, free: 30.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01851/0.7521, allocations: 13.57 MB / 0.496 GB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/0.755, allocations: 2.946 MB / 0.4989 GB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.7553, allocations: 143 kB / 0.499 GB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.7554, allocations: 56.55 kB / 0.4991 GB, free: 13.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=167): time 4.649e-06/0.7554, allocations: 0 / 0.4991 GB, free: 13.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=183): time 0.01708/0.7725, allocations: 9.432 MB / 0.5083 GB, free: 3.594 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.7725, allocations: 69.41 kB / 0.5084 GB, free: 3.516 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002925/0.7755, allocations: 2.046 MB / 0.5104 GB, free: 1.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.7757, allocations: 57.7 kB / 0.5104 GB, free: 1.383 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007639/0.7764, allocations: 1.451 MB / 0.5118 GB, free: 15.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006159/0.7771, allocations: 0.6122 MB / 0.5124 GB, free: 15.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.7772, allocations: 36 kB / 0.5125 GB, free: 15.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.7774, allocations: 393.6 kB / 0.5128 GB, free: 14.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.7792, allocations: 1.156 MB / 0.514 GB, free: 13.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/0.7815, allocations: 1.549 MB / 0.5155 GB, free: 12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.7837, allocations: 1.368 MB / 0.5168 GB, free: 10.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.7837, allocations: 4 kB / 0.5168 GB, free: 10.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.006722/0.7904, allocations: 3.62 MB / 0.5204 GB, free: 6.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.7905, allocations: 8 kB / 0.5204 GB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/0.7905, allocations: 16 kB / 0.5204 GB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/0.7926, allocations: 0.8023 MB / 0.5212 GB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.7946, allocations: 455.3 kB / 0.5216 GB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.8053, allocations: 10.51 MB / 0.5319 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.8078, allocations: 123.9 kB / 0.532 GB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/0.808, allocations: 83.94 kB / 0.5321 GB, free: 10.3 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * 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.00249/0.8105, allocations: 1.086 MB / 0.5331 GB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000689/0.8112, allocations: 252.9 kB / 0.5334 GB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006079/0.8173, allocations: 3.395 MB / 0.5367 GB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.8174, allocations: 20 kB / 0.5367 GB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.8174, allocations: 7.953 kB / 0.5367 GB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.8174, allocations: 11.95 kB / 0.5367 GB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2375/1.055, allocations: 6.915 MB / 0.5435 GB, free: 75.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/1.055, allocations: 7.188 kB / 0.5435 GB, free: 75.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/1.056, allocations: 308.9 kB / 0.5438 GB, free: 75.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/1.059, allocations: 0.928 MB / 0.5447 GB, free: 75.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003155/1.059, allocations: 44.62 kB / 0.5447 GB, free: 75.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/1.07, allocations: 13.76 MB / 0.5582 GB, free: 67.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.07, allocations: 6.375 kB / 0.5582 GB, free: 67.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009658/1.08, allocations: 5.161 MB / 0.5632 GB, free: 66.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002338/1.082, allocations: 0.5874 MB / 0.5638 GB, free: 66.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/1.083, allocations: 38.19 kB / 0.5638 GB, free: 66.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.084, allocations: 129.1 kB / 0.5639 GB, free: 66.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004605/1.085, allocations: 160 kB / 0.5641 GB, free: 66.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/1.085, allocations: 51.92 kB / 0.5641 GB, free: 66.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002596/1.087, allocations: 1.577 MB / 0.5657 GB, free: 66.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.087, allocations: 0 / 0.5657 GB, free: 66.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003212/1.091, allocations: 0.7457 MB / 0.5664 GB, free: 66.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * 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.0007952/1.092, allocations: 369.7 kB / 0.5668 GB, free: 66.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006164/1.098, allocations: 3.654 MB / 0.5703 GB, free: 65.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/1.098, allocations: 5.125 kB / 0.5703 GB, free: 65.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00374/1.101, allocations: 2.573 MB / 0.5728 GB, free: 64.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003462/1.105, allocations: 0.6519 MB / 0.5735 GB, free: 64.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/1.118, allocations: 7.971 MB / 0.5813 GB, free: 61.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/1.12, allocations: 2.585 MB / 0.5838 GB, free: 60.14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002516/1.123, allocations: 0.5807 MB / 0.5844 GB, free: 60.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005941/1.123, allocations: 150.8 kB / 0.5845 GB, free: 60.08 MB / 346.7 MB Notification: Performance of SimCode: time 2.104e-06/1.123, allocations: 1.219 kB / 0.5845 GB, free: 60.08 MB / 346.7 MB Notification: Performance of Templates: time 0.08475/1.208, allocations: 41.5 MB / 0.625 GB, free: 36.11 MB / 346.7 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)