Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001509/0.001509, allocations: 169.8 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.174/1.174, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001455/0.001455, allocations: 99.52 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.899e-05, allocations: 0 / 268.9 MB, free: 20.9 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.064/0.06404, allocations: 38.77 MB / 307.6 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2946/0.3587, allocations: 102.1 MB / 409.7 MB, free: 6.395 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.359, allocations: 90.94 kB / 409.8 MB, free: 6.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4024/0.7614, allocations: 94.39 MB / 0.4924 GB, free: 71.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.7614, allocations: 0 / 0.4924 GB, free: 71.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002359/0.7617, allocations: 97.88 kB / 0.4925 GB, free: 71.52 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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.006765/0.7684, allocations: 3.533 MB / 0.4959 GB, free: 70.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.7685, allocations: 11.22 kB / 0.496 GB, free: 70.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.7701, allocations: 0.5045 MB / 0.4965 GB, free: 69.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005638/0.7758, allocations: 2.505 MB / 0.4989 GB, free: 69.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.776, allocations: 264 kB / 0.4991 GB, free: 69.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.777, allocations: 355.7 kB / 0.4995 GB, free: 69.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008389/0.7854, allocations: 4.822 MB / 0.5042 GB, free: 68.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.99e-05/0.7855, allocations: 7.469 kB / 0.5042 GB, free: 68.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003454/0.7859, allocations: 153.4 kB / 0.5044 GB, free: 67.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/0.786, allocations: 170.3 kB / 0.5045 GB, free: 67.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005533/0.7916, allocations: 3.892 MB / 0.5083 GB, free: 66.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02507/0.8167, allocations: 14.89 MB / 0.5229 GB, free: 58.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003858/0.8206, allocations: 4.153 MB / 0.5269 GB, free: 55.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.8229, allocations: 1.839 MB / 0.5287 GB, free: 54.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003242/0.8233, allocations: 141.7 kB / 0.5288 GB, free: 54.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.8233, allocations: 60.52 kB / 0.5289 GB, free: 53.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.268e-06/0.8234, allocations: 0 / 0.5289 GB, free: 53.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.01642/0.8398, allocations: 8.339 MB / 0.537 GB, free: 46.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.8399, allocations: 73.41 kB / 0.5371 GB, free: 46.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00401/0.8439, allocations: 2.157 MB / 0.5392 GB, free: 44.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002863/0.8442, allocations: 61.7 kB / 0.5393 GB, free: 44.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.8453, allocations: 1.601 MB / 0.5408 GB, free: 43.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006133/0.8459, allocations: 0.7329 MB / 0.5416 GB, free: 42.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.8461, allocations: 48 kB / 0.5416 GB, free: 42.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.8462, allocations: 393.9 kB / 0.542 GB, free: 42.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.8479, allocations: 1.24 MB / 0.5432 GB, free: 41.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.8497, allocations: 1.664 MB / 0.5448 GB, free: 39.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.8517, allocations: 1.488 MB / 0.5463 GB, free: 38.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.8517, allocations: 4 kB / 0.5463 GB, free: 38.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005779/0.8575, allocations: 3.91 MB / 0.5501 GB, free: 34.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.8575, allocations: 12 kB / 0.5501 GB, free: 34.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.8576, allocations: 12 kB / 0.5501 GB, free: 34.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/0.8593, allocations: 0.7506 MB / 0.5508 GB, free: 33.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/0.8614, allocations: 0.5305 MB / 0.5514 GB, free: 32.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008159/0.8695, allocations: 8.71 MB / 0.5599 GB, free: 23.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/0.8721, allocations: 119.9 kB / 0.56 GB, free: 23.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000429/0.8726, allocations: 87.98 kB / 0.5601 GB, free: 23.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006694/0.8733, allocations: 231.7 kB / 0.5603 GB, free: 23.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000863/0.8741, allocations: 280.7 kB / 0.5606 GB, free: 23.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005974/0.8801, allocations: 3.633 MB / 0.5641 GB, free: 19.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.8802, allocations: 24 kB / 0.5641 GB, free: 19.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/0.8802, allocations: 11.7 kB / 0.5641 GB, free: 19.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/0.8802, allocations: 15.91 kB / 0.5642 GB, free: 19.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/0.8961, allocations: 7.941 MB / 0.5719 GB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.8962, allocations: 4 kB / 0.5719 GB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.8978, allocations: 395.8 kB / 0.5723 GB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002252/0.9001, allocations: 0.8118 MB / 0.5731 GB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002773/0.9004, allocations: 51.98 kB / 0.5731 GB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009422/0.9099, allocations: 10.21 MB / 0.5831 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.9099, allocations: 7.969 kB / 0.5831 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009318/0.9192, allocations: 5.618 MB / 0.5886 GB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/0.9212, allocations: 0.6421 MB / 0.5892 GB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007519/0.922, allocations: 51.98 kB / 0.5893 GB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/0.9238, allocations: 123.9 kB / 0.5894 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005/0.9243, allocations: 181.7 kB / 0.5896 GB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/0.9245, allocations: 59.98 kB / 0.5896 GB, free: 8.617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003287/0.9278, allocations: 1.663 MB / 0.5912 GB, free: 6.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.9278, allocations: 0 / 0.5912 GB, free: 6.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003245/0.9311, allocations: 0.8321 MB / 0.5921 GB, free: 6.105 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007578/0.9318, allocations: 385.7 kB / 0.5924 GB, free: 5.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006112/0.938, allocations: 3.779 MB / 0.5961 GB, free: 1.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.938, allocations: 4.812 kB / 0.5961 GB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1986/1.137, allocations: 2.424 MB / 0.5985 GB, free: 78.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/1.141, allocations: 0.7363 MB / 0.5992 GB, free: 78.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.154, allocations: 6.421 MB / 0.6055 GB, free: 77.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003014/1.157, allocations: 2.833 MB / 0.6082 GB, free: 76.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002731/1.16, allocations: 0.6759 MB / 0.6089 GB, free: 76.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007738/1.161, allocations: 181 kB / 0.6091 GB, free: 76.33 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/1.161, allocations: 0 / 0.6091 GB, free: 76.33 MB / 362.7 MB Notification: Performance of Templates: time 0.073/1.234, allocations: 46.25 MB / 0.6542 GB, free: 69.59 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)