Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.703/1.703, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003528, allocations: 8 kB / 264 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07861/0.07899, allocations: 44.5 MB / 308.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4609/0.5399, allocations: 110.6 MB / 419 MB, free: 10.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000422/0.5404, allocations: 86.2 kB / 419.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2369/0.7773, allocations: 61.97 MB / 481.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.881e-06/0.7774, allocations: 0 / 481.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002665/0.7776, allocations: 75.94 kB / 481.2 MB, free: 8.855 MB / 362.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.01014/0.7878, allocations: 3.405 MB / 484.6 MB, free: 5.379 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7879, allocations: 8.031 kB / 484.6 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/0.7902, allocations: 487.5 kB / 485 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005996/0.7963, allocations: 2.06 MB / 487.1 MB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004349/0.7967, allocations: 383.8 kB / 487.5 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008489/0.7976, allocations: 283.9 kB / 487.8 MB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00916/0.8068, allocations: 3.631 MB / 491.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.482e-05/0.8069, allocations: 11.94 kB / 491.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00044/0.8074, allocations: 123.9 kB / 491.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.8075, allocations: 113.5 kB / 491.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00797/0.8155, allocations: 2.926 MB / 494.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02656/0.8421, allocations: 11.75 MB / 0.4944 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004959/0.8471, allocations: 2.867 MB / 0.4972 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003848/0.8475, allocations: 142.3 kB / 0.4974 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002604/0.8502, allocations: 1.171 MB / 0.4985 GB, free: 10.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 5.51e-06/0.8502, allocations: 0 / 0.4985 GB, free: 10.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=178): time 0.03082/0.881, allocations: 9.921 MB / 0.5082 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002177/0.8813, allocations: 312.7 kB / 0.5085 GB, free: 124 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00413/0.8854, allocations: 1.83 MB / 0.5103 GB, free: 14.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003409/0.8858, allocations: 61.69 kB / 0.5104 GB, free: 14.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.8874, allocations: 1.265 MB / 0.5116 GB, free: 12.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008895/0.8883, allocations: 0.5931 MB / 0.5122 GB, free: 12.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.8885, allocations: 40 kB / 0.5122 GB, free: 12.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002788/0.8888, allocations: 394.8 kB / 0.5126 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/0.8912, allocations: 1.046 MB / 0.5136 GB, free: 10.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003014/0.8943, allocations: 1.575 MB / 0.5151 GB, free: 9.039 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.8971, allocations: 1.24 MB / 0.5164 GB, free: 7.801 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.8971, allocations: 4 kB / 0.5164 GB, free: 7.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008574/0.9057, allocations: 3.517 MB / 0.5198 GB, free: 4.246 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2243/1.13, allocations: 4.977 MB / 0.5247 GB, free: 98.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/1.13, allocations: 11.44 kB / 0.5247 GB, free: 98.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004238/1.134, allocations: 1.197 MB / 0.5258 GB, free: 98.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/1.136, allocations: 377.7 kB / 0.5262 GB, free: 98.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/1.157, allocations: 14.87 MB / 0.5407 GB, free: 90.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/1.16, allocations: 171.8 kB / 0.5409 GB, free: 90.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000306/1.161, allocations: 77.97 kB / 0.541 GB, free: 90.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.161, allocations: 8.188 kB / 0.541 GB, free: 90.16 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008106/1.169, allocations: 3.397 MB / 0.5443 GB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.187e-05/1.169, allocations: 16.3 kB / 0.5443 GB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003513/1.172, allocations: 1.15 MB / 0.5454 GB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/1.174, allocations: 373.8 kB / 0.5458 GB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01892/1.193, allocations: 15 MB / 0.5604 GB, free: 82.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/1.195, allocations: 161.9 kB / 0.5606 GB, free: 82.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/1.195, allocations: 82.3 kB / 0.5607 GB, free: 82.1 MB / 410.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.002233/1.198, allocations: 0.9682 MB / 0.5616 GB, free: 81.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006253/1.198, allocations: 233 kB / 0.5618 GB, free: 81.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008518/1.207, allocations: 3.484 MB / 0.5652 GB, free: 81.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/1.207, allocations: 21.34 kB / 0.5652 GB, free: 81.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.207, allocations: 2.953 kB / 0.5652 GB, free: 81.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.14e-05/1.207, allocations: 13.61 kB / 0.5653 GB, free: 81.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/1.222, allocations: 6.71 MB / 0.5718 GB, free: 78.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.222, allocations: 3.781 kB / 0.5718 GB, free: 78.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/1.224, allocations: 203.2 kB / 0.572 GB, free: 78.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005043/1.229, allocations: 1.421 MB / 0.5734 GB, free: 78.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002852/1.229, allocations: 43.17 kB / 0.5734 GB, free: 78.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02231/1.251, allocations: 15.18 MB / 0.5883 GB, free: 68.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.937e-06/1.251, allocations: 3.875 kB / 0.5883 GB, free: 68.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.262, allocations: 4.931 MB / 0.5931 GB, free: 66.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/1.263, allocations: 0.5243 MB / 0.5936 GB, free: 66.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004572/1.264, allocations: 49.95 kB / 0.5936 GB, free: 66.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/1.265, allocations: 143.7 kB / 0.5938 GB, free: 66.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005854/1.266, allocations: 220.3 kB / 0.594 GB, free: 66.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/1.266, allocations: 56.33 kB / 0.594 GB, free: 66.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002622/1.269, allocations: 1.406 MB / 0.5954 GB, free: 65.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.23e-07/1.269, allocations: 3 kB / 0.5954 GB, free: 65.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005154/1.274, allocations: 1.251 MB / 0.5966 GB, free: 65.48 MB / 410.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.0006842/1.275, allocations: 343 kB / 0.597 GB, free: 65.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01248/1.287, allocations: 6.392 MB / 0.6032 GB, free: 62.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.287, allocations: 2.75 kB / 0.6032 GB, free: 62.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005059/1.292, allocations: 2.352 MB / 0.6055 GB, free: 60.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/1.296, allocations: 0.5067 MB / 0.606 GB, free: 60.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/1.31, allocations: 7.353 MB / 0.6132 GB, free: 55.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/1.313, allocations: 2.274 MB / 0.6154 GB, free: 53.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008456/1.313, allocations: 146.5 kB / 0.6155 GB, free: 53.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.679e-06/1.313, allocations: 0 / 0.6155 GB, free: 53.19 MB / 410.7 MB Notification: Performance of Templates: time 0.3549/1.668, allocations: 116.9 MB / 0.7297 GB, free: 80.18 MB / 410.7 MB