Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001006/0.001006, allocations: 178.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.157/1.157, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001528/0.001528, allocations: 113.6 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002922, allocations: 12 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07255/0.07286, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2682/0.3411, allocations: 109.1 MB / 464.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.3414, allocations: 87.52 kB / 464.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3797/0.7211, allocations: 82.69 MB / 0.5341 GB, free: 85.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.7212, allocations: 0 / 0.5341 GB, free: 85.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000221/0.7214, allocations: 69.02 kB / 0.5342 GB, free: 85.04 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.007345/0.7287, allocations: 2.971 MB / 0.5371 GB, free: 83.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.7288, allocations: 9.031 kB / 0.5371 GB, free: 83.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.7304, allocations: 417.5 kB / 0.5375 GB, free: 83.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003937/0.7344, allocations: 1.839 MB / 0.5393 GB, free: 83.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.7346, allocations: 188.4 kB / 0.5395 GB, free: 83.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/0.7349, allocations: 248.2 kB / 0.5397 GB, free: 83.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004744/0.7397, allocations: 3.217 MB / 0.5428 GB, free: 82.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.677e-05/0.7398, allocations: 7.094 kB / 0.5429 GB, free: 82.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00024/0.74, allocations: 109.4 kB / 0.543 GB, free: 82.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.689e-05/0.7401, allocations: 109.8 kB / 0.5431 GB, free: 82.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/0.7439, allocations: 2.566 MB / 0.5456 GB, free: 82.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.7569, allocations: 10.43 MB / 0.5557 GB, free: 79.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.7587, allocations: 1.809 MB / 0.5575 GB, free: 78.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002975/0.759, allocations: 218 kB / 0.5577 GB, free: 78.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.759, allocations: 46.72 kB / 0.5578 GB, free: 78.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 3.166e-06/0.759, allocations: 1.031 kB / 0.5578 GB, free: 78.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=142): time 0.01734/0.7764, allocations: 8.859 MB / 0.5664 GB, free: 75.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.7765, allocations: 63.56 kB / 0.5665 GB, free: 75.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/0.7788, allocations: 1.641 MB / 0.5681 GB, free: 74.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-05/0.7789, allocations: 53.03 kB / 0.5681 GB, free: 74.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/0.7795, allocations: 1.236 MB / 0.5693 GB, free: 73.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/0.7798, allocations: 490.6 kB / 0.5698 GB, free: 73.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.193e-05/0.7799, allocations: 39.53 kB / 0.5698 GB, free: 73.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.78, allocations: 370.9 kB / 0.5702 GB, free: 72.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.7812, allocations: 0.8744 MB / 0.5711 GB, free: 72.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.7825, allocations: 1.357 MB / 0.5724 GB, free: 71.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.7839, allocations: 1.073 MB / 0.5734 GB, free: 71.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.7839, allocations: 7.219 kB / 0.5734 GB, free: 71.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.004191/0.7881, allocations: 2.979 MB / 0.5763 GB, free: 70.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.7881, allocations: 12.03 kB / 0.5764 GB, free: 70.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/0.7882, allocations: 16.28 kB / 0.5764 GB, free: 70.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.7895, allocations: 0.5908 MB / 0.5769 GB, free: 69.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.7908, allocations: 410.4 kB / 0.5773 GB, free: 69.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005929/0.7967, allocations: 5.666 MB / 0.5829 GB, free: 66.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.7984, allocations: 130.5 kB / 0.583 GB, free: 66.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.7985, allocations: 82.75 kB / 0.5831 GB, free: 66.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (186): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001438/0.8, allocations: 0.7885 MB / 0.5838 GB, free: 66.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.8003, allocations: 204.4 kB / 0.584 GB, free: 66.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003836/0.8041, allocations: 2.637 MB / 0.5866 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.8041, allocations: 11.19 kB / 0.5866 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8042, allocations: 7.156 kB / 0.5866 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.8042, allocations: 7.125 kB / 0.5866 GB, free: 65.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00755/0.8117, allocations: 5.504 MB / 0.592 GB, free: 62.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.8118, allocations: 7.875 kB / 0.592 GB, free: 62.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009568/0.8127, allocations: 249.2 kB / 0.5923 GB, free: 62.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.8142, allocations: 0.6422 MB / 0.5929 GB, free: 62.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-05/0.8143, allocations: 34.36 kB / 0.5929 GB, free: 62.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007003/0.8214, allocations: 7.397 MB / 0.6001 GB, free: 56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8214, allocations: 4 kB / 0.6001 GB, free: 56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005854/0.8272, allocations: 4.061 MB / 0.6041 GB, free: 52.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/0.8292, allocations: 471.6 kB / 0.6046 GB, free: 51.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/0.8295, allocations: 35.75 kB / 0.6046 GB, free: 51.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.8306, allocations: 111.3 kB / 0.6047 GB, free: 51.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/0.831, allocations: 118.9 kB / 0.6048 GB, free: 51.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.8311, allocations: 43.09 kB / 0.6049 GB, free: 51.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001969/0.8331, allocations: 1.268 MB / 0.6061 GB, free: 50.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8331, allocations: 0 / 0.6061 GB, free: 50.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002216/0.8353, allocations: 0.6315 MB / 0.6067 GB, free: 49.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * 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 (109): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006092/0.8359, allocations: 330.4 kB / 0.607 GB, free: 49.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003827/0.8398, allocations: 2.609 MB / 0.6096 GB, free: 47.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.8398, allocations: 5.875 kB / 0.6096 GB, free: 47.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002347/0.8422, allocations: 1.625 MB / 0.6112 GB, free: 45.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.8444, allocations: 406.7 kB / 0.6116 GB, free: 45.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/0.8524, allocations: 6.095 MB / 0.6175 GB, free: 40 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/0.8538, allocations: 2.064 MB / 0.6195 GB, free: 38.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001495/0.8553, allocations: 420.9 kB / 0.6199 GB, free: 38.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/0.8557, allocations: 126.8 kB / 0.62 GB, free: 37.95 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/0.8557, allocations: 0 / 0.62 GB, free: 37.95 MB / 394.7 MB Notification: Performance of Templates: time 0.04529/0.901, allocations: 30.8 MB / 0.6501 GB, free: 7.688 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1)