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.00105/0.00105, allocations: 170.1 kB / 12.72 MB, free: 2.594 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.121/1.121, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001296/0.001297, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.096e-05/2.099e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07292/0.07296, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3076/0.3806, allocations: 100.6 MB / 408.3 MB, free: 8.152 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/0.3809, allocations: 86.39 kB / 408.4 MB, free: 8.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3595/0.7404, allocations: 65.54 MB / 473.9 MB, free: 73.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.7405, allocations: 0 / 473.9 MB, free: 73.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002658/0.7408, allocations: 90.62 kB / 474 MB, free: 73.42 MB / 346.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.007481/0.7482, allocations: 3.248 MB / 477.3 MB, free: 72.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.7483, allocations: 9.656 kB / 477.3 MB, free: 72.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.75, allocations: 452.8 kB / 477.7 MB, free: 72.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005174/0.7552, allocations: 2.325 MB / 480 MB, free: 71.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.7555, allocations: 234.4 kB / 480.3 MB, free: 71.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006166/0.7561, allocations: 303.5 kB / 480.6 MB, free: 71.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007106/0.7632, allocations: 4.232 MB / 484.8 MB, free: 71.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-05/0.7633, allocations: 4.844 kB / 484.8 MB, free: 71.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003043/0.7636, allocations: 131.8 kB / 484.9 MB, free: 71.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-05/0.7637, allocations: 134.2 kB / 485 MB, free: 71.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005097/0.7688, allocations: 3.467 MB / 488.5 MB, free: 71.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01987/0.7887, allocations: 13.57 MB / 0.4903 GB, free: 67.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/0.7914, allocations: 2.895 MB / 0.4931 GB, free: 65.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.7935, allocations: 1.591 MB / 0.4947 GB, free: 65.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.7938, allocations: 140.8 kB / 0.4948 GB, free: 65.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.7938, allocations: 62.77 kB / 0.4949 GB, free: 65.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=167): time 3.426e-06/0.7938, allocations: 0 / 0.4949 GB, free: 65.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=183): time 0.01316/0.807, allocations: 7.308 MB / 0.502 GB, free: 62.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.8071, allocations: 70.53 kB / 0.5021 GB, free: 62.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/0.8099, allocations: 2.022 MB / 0.5041 GB, free: 61.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.8101, allocations: 60.36 kB / 0.5041 GB, free: 61.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000712/0.8108, allocations: 1.459 MB / 0.5055 GB, free: 60.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/0.8112, allocations: 0.6096 MB / 0.5061 GB, free: 59.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.8113, allocations: 39.72 kB / 0.5062 GB, free: 59.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.8114, allocations: 384.7 kB / 0.5065 GB, free: 59.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.8128, allocations: 1.079 MB / 0.5076 GB, free: 59.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.8142, allocations: 1.482 MB / 0.509 GB, free: 58.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.8157, allocations: 1.303 MB / 0.5103 GB, free: 57.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.8157, allocations: 3.531 kB / 0.5103 GB, free: 57.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004683/0.8204, allocations: 3.5 MB / 0.5137 GB, free: 56.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.8204, allocations: 13.88 kB / 0.5138 GB, free: 56.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.8204, allocations: 11.28 kB / 0.5138 GB, free: 56.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/0.8222, allocations: 0.8139 MB / 0.5146 GB, free: 56.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.8238, allocations: 461.8 kB / 0.515 GB, free: 56.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008195/0.832, allocations: 10.82 MB / 0.5256 GB, free: 47.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.8349, allocations: 125 kB / 0.5257 GB, free: 47.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004668/0.8354, allocations: 75.19 kB / 0.5258 GB, free: 47.66 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 () * 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.0005351/0.836, allocations: 215.5 kB / 0.526 GB, free: 47.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008502/0.8368, allocations: 248.3 kB / 0.5262 GB, free: 47.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005108/0.8419, allocations: 3.283 MB / 0.5294 GB, free: 45.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.842, allocations: 16 kB / 0.5294 GB, free: 45.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.842, allocations: 8 kB / 0.5294 GB, free: 45.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.842, allocations: 6.562 kB / 0.5294 GB, free: 45.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.8524, allocations: 6.94 MB / 0.5362 GB, free: 40.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.8525, allocations: 6.25 kB / 0.5362 GB, free: 40.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.8538, allocations: 315.1 kB / 0.5365 GB, free: 39.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002258/0.8561, allocations: 0.9177 MB / 0.5374 GB, free: 39.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.8563, allocations: 42.95 kB / 0.5375 GB, free: 39.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009507/0.8658, allocations: 13.48 MB / 0.5506 GB, free: 25.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.8658, allocations: 4 kB / 0.5506 GB, free: 25.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006621/0.8725, allocations: 4.988 MB / 0.5555 GB, free: 21.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002069/0.8746, allocations: 0.577 MB / 0.5561 GB, free: 20.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000894/0.8755, allocations: 39.84 kB / 0.5561 GB, free: 20.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/0.8774, allocations: 131.1 kB / 0.5562 GB, free: 20.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004541/0.8779, allocations: 161.1 kB / 0.5564 GB, free: 20.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/0.8781, allocations: 55.75 kB / 0.5564 GB, free: 20.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003033/0.8811, allocations: 1.557 MB / 0.558 GB, free: 19.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8811, allocations: 0 / 0.558 GB, free: 19.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003381/0.8845, allocations: 0.7384 MB / 0.5587 GB, free: 18.27 MB / 346.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.000825/0.8854, allocations: 367.9 kB / 0.559 GB, free: 17.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004976/0.8903, allocations: 3.536 MB / 0.5625 GB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.8904, allocations: 0.6875 kB / 0.5625 GB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003206/0.8936, allocations: 2.487 MB / 0.5649 GB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004073/0.8977, allocations: 0.6756 MB / 0.5656 GB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.909, allocations: 5.602 MB / 0.571 GB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002857/0.9119, allocations: 2.578 MB / 0.5736 GB, free: 4.801 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002352/0.9143, allocations: 0.5693 MB / 0.5741 GB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007439/0.915, allocations: 158.3 kB / 0.5743 GB, free: 4.25 MB / 346.7 MB Notification: Performance of SimCode: time 1.663e-06/0.915, allocations: 0 / 0.5743 GB, free: 4.25 MB / 346.7 MB Notification: Performance of Templates: time 0.2752/1.19, allocations: 42.04 MB / 0.6153 GB, free: 70.63 MB / 362.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)