Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.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_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009578/0.0009578, allocations: 179.2 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.135/1.135, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001608/0.001608, allocations: 117.8 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002834, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08133/0.08162, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2762/0.3578, allocations: 110.6 MB / 465.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.3581, allocations: 97.17 kB / 465.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3479/0.7061, allocations: 61.96 MB / 0.5153 GB, free: 87.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7061, allocations: 0 / 0.5153 GB, free: 87.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004748/0.7066, allocations: 77.97 kB / 0.5154 GB, free: 87.23 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: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.009616/0.7163, allocations: 3.41 MB / 0.5187 GB, free: 86.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.7163, allocations: 10.19 kB / 0.5187 GB, free: 86.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.7181, allocations: 478.1 kB / 0.5192 GB, free: 86.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004868/0.723, allocations: 2.055 MB / 0.5212 GB, free: 85.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/0.7233, allocations: 385.9 kB / 0.5216 GB, free: 85.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000606/0.7239, allocations: 283.7 kB / 0.5218 GB, free: 85.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006482/0.7304, allocations: 3.637 MB / 0.5254 GB, free: 85.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.714e-05/0.7305, allocations: 10.17 kB / 0.5254 GB, free: 85.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.7308, allocations: 122.8 kB / 0.5255 GB, free: 85.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.7309, allocations: 113.1 kB / 0.5256 GB, free: 85.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005039/0.736, allocations: 2.927 MB / 0.5285 GB, free: 85.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01932/0.7553, allocations: 11.75 MB / 0.54 GB, free: 82.15 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/0.7582, allocations: 2.858 MB / 0.5427 GB, free: 80.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.7585, allocations: 147 kB / 0.5429 GB, free: 80.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.7599, allocations: 1.172 MB / 0.544 GB, free: 80.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 3.707e-06/0.76, allocations: 0 / 0.544 GB, free: 80.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=178): time 0.0195/0.7795, allocations: 9.919 MB / 0.5537 GB, free: 77.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/0.7796, allocations: 315.6 kB / 0.554 GB, free: 77.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.7819, allocations: 1.827 MB / 0.5558 GB, free: 76.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.7821, allocations: 64.91 kB / 0.5559 GB, free: 76.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009167/0.783, allocations: 1.358 MB / 0.5572 GB, free: 75.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/0.7834, allocations: 0.5917 MB / 0.5578 GB, free: 75.08 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.7835, allocations: 42.78 kB / 0.5578 GB, free: 75.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.7836, allocations: 385.4 kB / 0.5582 GB, free: 74.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.7849, allocations: 1.049 MB / 0.5592 GB, free: 74.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.7864, allocations: 1.576 MB / 0.5607 GB, free: 73.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.7879, allocations: 1.25 MB / 0.562 GB, free: 72.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.788, allocations: 3.875 kB / 0.562 GB, free: 72.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00505/0.793, allocations: 3.654 MB / 0.5655 GB, free: 71.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008303/0.7939, allocations: 5.211 MB / 0.5706 GB, free: 66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.7939, allocations: 14.2 kB / 0.5706 GB, free: 66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/0.7965, allocations: 1.197 MB / 0.5718 GB, free: 65.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.7979, allocations: 380.7 kB / 0.5722 GB, free: 65.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.81, allocations: 14.87 MB / 0.5867 GB, free: 54.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.8124, allocations: 183.2 kB / 0.5869 GB, free: 54.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/0.8126, allocations: 81.19 kB / 0.5869 GB, free: 54.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/0.8126, allocations: 2.469 kB / 0.5869 GB, free: 54.77 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004606/0.8172, allocations: 3.399 MB / 0.5903 GB, free: 53.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.8173, allocations: 12.16 kB / 0.5903 GB, free: 53.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/0.82, allocations: 1.191 MB / 0.5914 GB, free: 53.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.8216, allocations: 375.6 kB / 0.5918 GB, free: 53.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/0.8345, allocations: 14.83 MB / 0.6063 GB, free: 42.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/0.8371, allocations: 166.1 kB / 0.6064 GB, free: 42.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.8374, allocations: 80.16 kB / 0.6065 GB, free: 42.15 MB / 394.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].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 201 * 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.001737/0.8391, allocations: 0.9841 MB / 0.6075 GB, free: 41.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/0.8396, allocations: 230.7 kB / 0.6077 GB, free: 41.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005393/0.845, allocations: 3.49 MB / 0.6111 GB, free: 38.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.845, allocations: 16 kB / 0.6111 GB, free: 38.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.8451, allocations: 5.188 kB / 0.6111 GB, free: 38.65 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.8451, allocations: 7.781 kB / 0.6111 GB, free: 38.65 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.8557, allocations: 6.709 MB / 0.6177 GB, free: 33.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.8558, allocations: 7.188 kB / 0.6177 GB, free: 33.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007812/0.8565, allocations: 196.6 kB / 0.6179 GB, free: 33.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003172/0.8597, allocations: 1.422 MB / 0.6193 GB, free: 31.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.8599, allocations: 45.95 kB / 0.6193 GB, free: 31.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01403/0.8739, allocations: 15.17 MB / 0.6341 GB, free: 17.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.874, allocations: 11.89 kB / 0.6341 GB, free: 17.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006723/0.8807, allocations: 4.922 MB / 0.6389 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/0.8825, allocations: 0.5329 MB / 0.6395 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004091/0.8829, allocations: 57.12 kB / 0.6395 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.8843, allocations: 131 kB / 0.6396 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004603/0.8847, allocations: 226.5 kB / 0.6399 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.8848, allocations: 51.56 kB / 0.6399 GB, free: 12.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001797/0.8866, allocations: 1.41 MB / 0.6413 GB, free: 11.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8866, allocations: 0 / 0.6413 GB, free: 11.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003849/0.8905, allocations: 1.258 MB / 0.6425 GB, free: 10.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 105 * 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.0005536/0.8911, allocations: 336.1 kB / 0.6428 GB, free: 9.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008337/0.8994, allocations: 6.35 MB / 0.649 GB, free: 4.047 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.8995, allocations: 4 kB / 0.649 GB, free: 4.043 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003234/0.9027, allocations: 2.428 MB / 0.6514 GB, free: 1.816 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.905, allocations: 0.5062 MB / 0.6519 GB, free: 1.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.9164, allocations: 7.295 MB / 0.659 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/0.9185, allocations: 2.309 MB / 0.6613 GB, free: 7.742 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002174/0.9207, allocations: 0.5946 MB / 0.6619 GB, free: 7.164 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/0.9212, allocations: 135.4 kB / 0.662 GB, free: 7.031 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.9212, allocations: 2.625 kB / 0.662 GB, free: 7.031 MB / 410.7 MB Notification: Performance of Templates: time 0.2353/1.156, allocations: 47.48 MB / 0.7084 GB, free: 85.76 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.pipe 2>&1)