Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007577/0.007576, allocations: 164.7 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.357/1.357, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001864/0.001864, allocations: 114.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2418, allocations: 38.77 MB / 312.9 MB, free: 38.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.3486, allocations: 93.25 MB / 406.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.3489, allocations: 87.95 kB / 406.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2633/0.6122, allocations: 41.07 MB / 447.3 MB, free: 76.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6122, allocations: 0 / 447.3 MB, free: 76.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002241/0.6125, allocations: 51.77 kB / 447.4 MB, free: 76.82 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.006934/0.6195, allocations: 2.197 MB / 449.6 MB, free: 74.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.6195, allocations: 12.03 kB / 449.6 MB, free: 74.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.6208, allocations: 269.1 kB / 449.8 MB, free: 74.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/0.6242, allocations: 1.375 MB / 451.2 MB, free: 72.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.6243, allocations: 136.3 kB / 451.3 MB, free: 72.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005833/0.6249, allocations: 187.9 kB / 451.5 MB, free: 72.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004691/0.6296, allocations: 2.38 MB / 453.9 MB, free: 70.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.385e-05/0.6297, allocations: 7.984 kB / 453.9 MB, free: 70.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.63, allocations: 72 kB / 454 MB, free: 70.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/0.63, allocations: 83.48 kB / 454.1 MB, free: 69.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003322/0.6334, allocations: 1.919 MB / 456 MB, free: 68.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.6448, allocations: 7.472 MB / 463.4 MB, free: 60.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.6465, allocations: 1.313 MB / 464.8 MB, free: 59.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.6468, allocations: 133.5 kB / 464.9 MB, free: 58.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.6469, allocations: 51.55 kB / 464.9 MB, free: 58.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 3.176e-06/0.6469, allocations: 0 / 464.9 MB, free: 58.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.008837/0.6557, allocations: 5.062 MB / 470 MB, free: 53.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.6558, allocations: 64.41 kB / 470.1 MB, free: 53.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.6579, allocations: 1.167 MB / 471.2 MB, free: 52.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.658, allocations: 41.7 kB / 471.3 MB, free: 52.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005136/0.6585, allocations: 0.896 MB / 472.2 MB, free: 51.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.6588, allocations: 364.5 kB / 472.5 MB, free: 51.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.6589, allocations: 24 kB / 472.6 MB, free: 51.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.659, allocations: 353.9 kB / 472.9 MB, free: 50.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009883/0.66, allocations: 0.6467 MB / 473.5 MB, free: 50.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.6613, allocations: 0.9415 MB / 474.5 MB, free: 49.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.6625, allocations: 0.7798 MB / 475.3 MB, free: 48.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.6625, allocations: 0 / 475.3 MB, free: 48.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004402/0.667, allocations: 2.48 MB / 477.7 MB, free: 45.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.667, allocations: 10.19 kB / 477.8 MB, free: 45.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.667, allocations: 12 kB / 477.8 MB, free: 45.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/0.669, allocations: 0.7743 MB / 478.5 MB, free: 44.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009143/0.67, allocations: 235.6 kB / 478.8 MB, free: 44.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009581/0.6796, allocations: 8.867 MB / 487.6 MB, free: 35.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.681, allocations: 87.83 kB / 487.7 MB, free: 35.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.6812, allocations: 48.33 kB / 487.8 MB, free: 35.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001351/0.6826, allocations: 0.6339 MB / 488.4 MB, free: 34.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000413/0.683, allocations: 146.3 kB / 488.5 MB, free: 34.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.6862, allocations: 1.956 MB / 490.5 MB, free: 32.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.6862, allocations: 8 kB / 490.5 MB, free: 32.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.6862, allocations: 11.94 kB / 490.5 MB, free: 32.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.6862, allocations: 3.984 kB / 490.5 MB, free: 32.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007575/0.6938, allocations: 4.02 MB / 494.5 MB, free: 28.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.6939, allocations: 4 kB / 494.6 MB, free: 28.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/0.6947, allocations: 203.9 kB / 494.7 MB, free: 28.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.6959, allocations: 462.9 kB / 495.2 MB, free: 27.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.696, allocations: 27.98 kB / 495.2 MB, free: 27.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004999/0.701, allocations: 6.315 MB / 0.4898 GB, free: 21.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7011, allocations: 7.938 kB / 0.4898 GB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/0.7056, allocations: 2.949 MB / 0.4927 GB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.7067, allocations: 371.1 kB / 0.493 GB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/0.7071, allocations: 20 kB / 0.493 GB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.7082, allocations: 79.92 kB / 0.4931 GB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.7086, allocations: 80.81 kB / 0.4932 GB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.7087, allocations: 31.98 kB / 0.4932 GB, free: 17.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001761/0.7105, allocations: 0.9113 MB / 0.4941 GB, free: 16.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7105, allocations: 0 / 0.4941 GB, free: 16.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002264/0.7127, allocations: 468 kB / 0.4946 GB, free: 16.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006325/0.7134, allocations: 294.9 kB / 0.4949 GB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003532/0.7169, allocations: 2.094 MB / 0.4969 GB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.717, allocations: 0 / 0.4969 GB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.7188, allocations: 1.38 MB / 0.4982 GB, free: 12.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.7217, allocations: 356.5 kB / 0.4986 GB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008954/0.7307, allocations: 4.763 MB / 0.5032 GB, free: 7.062 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.7323, allocations: 1.731 MB / 0.5049 GB, free: 5.297 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001284/0.7336, allocations: 308.1 kB / 0.5052 GB, free: 4.992 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.734, allocations: 95.42 kB / 0.5053 GB, free: 4.898 MB / 314.7 MB Notification: Performance of SimCode: time 1.312e-06/0.734, allocations: 0 / 0.5053 GB, free: 4.898 MB / 314.7 MB Notification: Performance of Templates: time 0.0466/0.7806, allocations: 24.11 MB / 0.5289 GB, free: 12.78 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)