Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.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.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001027/0.001027, 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.401/1.401, 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.001497/0.001497, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.765e-05, allocations: 0 / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07337/0.07342, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3048/0.3782, allocations: 105 MB / 412.7 MB, free: 3.777 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.3785, allocations: 83.45 kB / 412.8 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3136/0.6922, allocations: 61.63 MB / 474.4 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6922, allocations: 3.828 kB / 474.4 MB, free: 76.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002487/0.6924, allocations: 75.55 kB / 474.5 MB, free: 76.19 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: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.007273/0.6997, allocations: 2.992 MB / 477.5 MB, free: 75.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6998, allocations: 9.125 kB / 477.5 MB, free: 75.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.7018, allocations: 482.5 kB / 477.9 MB, free: 74.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004356/0.7061, allocations: 1.983 MB / 479.9 MB, free: 74.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/0.7065, allocations: 382.2 kB / 480.3 MB, free: 74.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005647/0.707, allocations: 282.9 kB / 480.6 MB, free: 74.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006312/0.7133, allocations: 3.582 MB / 484.2 MB, free: 73.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.112e-05/0.7134, allocations: 3.188 kB / 484.2 MB, free: 73.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002921/0.7137, allocations: 132 kB / 484.3 MB, free: 73.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.665e-05/0.7138, allocations: 113.1 kB / 484.4 MB, free: 73.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004494/0.7183, allocations: 2.816 MB / 487.2 MB, free: 73.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0179/0.7363, allocations: 11.78 MB / 499 MB, free: 70.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/0.7388, allocations: 2.775 MB / 0.49 GB, free: 69.33 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.7401, allocations: 1.107 MB / 0.4911 GB, free: 68.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/0.7405, allocations: 137.9 kB / 0.4912 GB, free: 68.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.7418, allocations: 1.119 MB / 0.4923 GB, free: 68.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=155): time 3.737e-06/0.7418, allocations: 0 / 0.4923 GB, free: 68.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=179): time 0.01721/0.759, allocations: 7.974 MB / 0.5001 GB, free: 65.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.7592, allocations: 337.8 kB / 0.5004 GB, free: 65.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/0.7623, allocations: 1.752 MB / 0.5021 GB, free: 64.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003648/0.7626, allocations: 64.41 kB / 0.5022 GB, free: 64.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.7638, allocations: 1.349 MB / 0.5035 GB, free: 63.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006083/0.7645, allocations: 0.5963 MB / 0.5041 GB, free: 62.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.7646, allocations: 43.06 kB / 0.5041 GB, free: 62.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7647, allocations: 388.9 kB / 0.5045 GB, free: 62.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.766, allocations: 0.9999 MB / 0.5055 GB, free: 62.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.7675, allocations: 1.527 MB / 0.507 GB, free: 61.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.769, allocations: 1.218 MB / 0.5082 GB, free: 60.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.769, allocations: 3.531 kB / 0.5082 GB, free: 60.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005514/0.7745, allocations: 3.605 MB / 0.5117 GB, free: 59.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.7746, allocations: 13.34 kB / 0.5117 GB, free: 59.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.7746, allocations: 12.41 kB / 0.5117 GB, free: 59.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00267/0.7773, allocations: 1.187 MB / 0.5129 GB, free: 59.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.7787, allocations: 378 kB / 0.5132 GB, free: 59.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/0.7912, allocations: 14.56 MB / 0.5274 GB, free: 48.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.7941, allocations: 170.3 kB / 0.5276 GB, free: 48.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.7943, allocations: 78.78 kB / 0.5277 GB, free: 48.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 202 * 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: 6 * 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 {(4,100.0%) 14,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00047/0.7948, allocations: 246.6 kB / 0.5279 GB, free: 48.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005392/0.7953, allocations: 229.2 kB / 0.5281 GB, free: 47.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005879/0.8012, allocations: 3.386 MB / 0.5314 GB, free: 45.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.8013, allocations: 20 kB / 0.5315 GB, free: 45.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.8013, allocations: 3.141 kB / 0.5315 GB, free: 45.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.8013, allocations: 7.453 kB / 0.5315 GB, free: 45.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.8126, allocations: 6.641 MB / 0.538 GB, free: 39.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.8126, allocations: 8.031 kB / 0.538 GB, free: 39.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/0.8135, allocations: 200.2 kB / 0.5382 GB, free: 39.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003265/0.8167, allocations: 1.391 MB / 0.5395 GB, free: 38.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/0.8169, allocations: 50 kB / 0.5396 GB, free: 38.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/0.8318, allocations: 14.57 MB / 0.5538 GB, free: 24.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8319, allocations: 4 kB / 0.5538 GB, free: 24.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007057/0.8389, allocations: 4.875 MB / 0.5586 GB, free: 20.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.8406, allocations: 0.5213 MB / 0.5591 GB, free: 19.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007898/0.8414, allocations: 58.03 kB / 0.5591 GB, free: 19.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/0.8434, allocations: 133.6 kB / 0.5592 GB, free: 19.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005907/0.844, allocations: 241.9 kB / 0.5595 GB, free: 19.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.8441, allocations: 51.64 kB / 0.5595 GB, free: 19.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002518/0.8466, allocations: 1.346 MB / 0.5608 GB, free: 18.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8467, allocations: 0 / 0.5608 GB, free: 18.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003726/0.8504, allocations: 0.7575 MB / 0.5616 GB, free: 17.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008018/0.8512, allocations: 341.3 kB / 0.5619 GB, free: 17.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005586/0.8568, allocations: 3.556 MB / 0.5654 GB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.8568, allocations: 4 kB / 0.5654 GB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003587/0.8604, allocations: 2.42 MB / 0.5677 GB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/0.8636, allocations: 0.493 MB / 0.5682 GB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.8749, allocations: 5.044 MB / 0.5732 GB, free: 6.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/0.8779, allocations: 2.279 MB / 0.5754 GB, free: 5.035 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002152/0.8801, allocations: 428.5 kB / 0.5758 GB, free: 4.742 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008611/0.881, allocations: 135.1 kB / 0.5759 GB, free: 4.613 MB / 346.7 MB Notification: Performance of SimCode: time 1.994e-06/0.881, allocations: 0 / 0.5759 GB, free: 4.613 MB / 346.7 MB Notification: Performance of Templates: time 0.2793/1.16, allocations: 41.78 MB / 0.6167 GB, free: 75.48 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1)