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.001419/0.001419, allocations: 170.2 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.269/1.269, 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.001595/0.001595, allocations: 102.8 kB / 223.2 MB, free: 4.105 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.724e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07449/0.07455, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2863/0.3609, allocations: 93.17 MB / 400.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.3612, allocations: 85.7 kB / 400.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1078/0.469, allocations: 41.14 MB / 442 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4691, allocations: 0 / 442 MB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001336/0.4692, allocations: 47.94 kB / 442.1 MB, free: 11.61 MB / 330.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.00434/0.4736, allocations: 1.981 MB / 444.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4736, allocations: 8.031 kB / 444.1 MB, free: 9.574 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008168/0.4744, allocations: 261.2 kB / 444.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.4771, allocations: 1.365 MB / 445.7 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.4772, allocations: 143.6 kB / 445.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003187/0.4775, allocations: 179.9 kB / 446 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003916/0.4815, allocations: 2.322 MB / 448.3 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/0.4815, allocations: 11.89 kB / 448.3 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.4817, allocations: 80 kB / 448.4 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-05/0.4818, allocations: 75.48 kB / 448.5 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/0.4848, allocations: 1.845 MB / 450.3 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.4971, allocations: 7.456 MB / 457.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.499, allocations: 1.288 MB / 459.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.5004, allocations: 0.8138 MB / 459.9 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/0.5007, allocations: 133.8 kB / 460 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.5007, allocations: 39.34 kB / 460.1 MB, free: 9.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 3.176e-06/0.5007, allocations: 0 / 460.1 MB, free: 9.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.008048/0.5088, allocations: 4.102 MB / 464.2 MB, free: 4.941 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.5089, allocations: 60.41 kB / 464.2 MB, free: 4.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.5108, allocations: 1.165 MB / 465.4 MB, free: 3.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.511, allocations: 49.69 kB / 465.4 MB, free: 3.637 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006864/0.5117, allocations: 0.8853 MB / 466.3 MB, free: 2.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.5121, allocations: 366.8 kB / 466.7 MB, free: 2.375 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.5121, allocations: 24 kB / 466.7 MB, free: 2.352 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5123, allocations: 353.9 kB / 467 MB, free: 2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009131/0.5132, allocations: 0.6078 MB / 467.7 MB, free: 1.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.5143, allocations: 0.8987 MB / 468.6 MB, free: 384 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.163/0.6774, allocations: 0.7373 MB / 469.3 MB, free: 86.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.6774, allocations: 2.875 kB / 469.3 MB, free: 86.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004498/0.6819, allocations: 2.38 MB / 471.7 MB, free: 86.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.682, allocations: 11.92 kB / 471.7 MB, free: 86.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.682, allocations: 9.906 kB / 471.7 MB, free: 86.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/0.684, allocations: 0.7718 MB / 472.5 MB, free: 86.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009391/0.685, allocations: 234.1 kB / 472.7 MB, free: 86.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.696, allocations: 8.549 MB / 481.2 MB, free: 83.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.6973, allocations: 85.89 kB / 481.3 MB, free: 83.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.6975, allocations: 53.03 kB / 481.4 MB, free: 83.74 MB / 346.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 () * 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.0002668/0.6978, allocations: 174.2 kB / 481.5 MB, free: 83.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.698, allocations: 146.5 kB / 481.7 MB, free: 83.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.701, allocations: 1.859 MB / 483.5 MB, free: 83.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.7011, allocations: 11.34 kB / 483.6 MB, free: 83.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.7011, allocations: 14.61 kB / 483.6 MB, free: 83.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.7011, allocations: 9.203 kB / 483.6 MB, free: 83.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005724/0.7068, allocations: 3.951 MB / 487.5 MB, free: 83.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.7069, allocations: 3.984 kB / 487.5 MB, free: 83.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007666/0.7076, allocations: 203.1 kB / 487.7 MB, free: 83.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.7087, allocations: 462.5 kB / 488.2 MB, free: 83.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/0.7088, allocations: 29.86 kB / 488.2 MB, free: 83.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004754/0.7136, allocations: 6.164 MB / 494.4 MB, free: 78.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7136, allocations: 6.828 kB / 494.4 MB, free: 78.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/0.7171, allocations: 2.865 MB / 497.3 MB, free: 77.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007543/0.7179, allocations: 364.9 kB / 497.6 MB, free: 77.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.7181, allocations: 24.11 kB / 497.6 MB, free: 77.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/0.7188, allocations: 76.77 kB / 497.7 MB, free: 77.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.719, allocations: 91.52 kB / 497.8 MB, free: 77.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-05/0.7191, allocations: 33.5 kB / 497.8 MB, free: 77.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001152/0.7202, allocations: 0.8971 MB / 498.7 MB, free: 76.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7203, allocations: 0 / 498.7 MB, free: 76.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001462/0.7217, allocations: 465.3 kB / 499.2 MB, free: 76.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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.0004734/0.7222, allocations: 297.2 kB / 499.5 MB, free: 76.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.7249, allocations: 1.991 MB / 0.4897 GB, free: 75.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.725, allocations: 1.719 kB / 0.4897 GB, free: 75.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.7266, allocations: 1.339 MB / 0.491 GB, free: 75.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.7281, allocations: 351 kB / 0.4914 GB, free: 74.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.7326, allocations: 3.279 MB / 0.4946 GB, free: 73.56 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009868/0.7336, allocations: 1.738 MB / 0.4963 GB, free: 72.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009276/0.7346, allocations: 311.3 kB / 0.4965 GB, free: 72.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.7348, allocations: 98.47 kB / 0.4966 GB, free: 72.62 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.7348, allocations: 0 / 0.4966 GB, free: 72.62 MB / 346.7 MB Notification: Performance of Templates: time 0.03579/0.7706, allocations: 24.49 MB / 0.5206 GB, free: 63.01 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)