Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 1.585/1.585, allocations: 171.3 MB / 179.2 MB, free: 7.59 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.161e-05, allocations: 7.938 kB / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07006/0.07011, allocations: 38.77 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.448, allocations: 104.4 MB / 365.7 MB, free: 412 kB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4483, allocations: 83.14 kB / 365.7 MB, free: 372 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4308/0.8792, allocations: 60.85 MB / 426.6 MB, free: 82.56 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.33e-06/0.8792, allocations: 0 / 426.6 MB, free: 82.56 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003127/0.8795, allocations: 80.64 kB / 426.7 MB, free: 82.55 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.008846/0.8884, allocations: 2.991 MB / 429.7 MB, free: 81.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.8884, allocations: 9.5 kB / 429.7 MB, free: 81.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/0.8912, allocations: 478.8 kB / 430.1 MB, free: 81.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005979/0.8972, allocations: 1.987 MB / 432.1 MB, free: 80.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/0.8976, allocations: 287.7 kB / 432.4 MB, free: 80.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.8986, allocations: 170.2 kB / 432.6 MB, free: 80.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007479/0.9061, allocations: 2.662 MB / 435.2 MB, free: 80.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008684/0.9148, allocations: 3.178 MB / 438.4 MB, free: 80.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.915, allocations: 5.656 kB / 438.4 MB, free: 80.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/0.9153, allocations: 9.672 kB / 438.4 MB, free: 80.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.9155, allocations: 119.7 kB / 438.5 MB, free: 80.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0253/0.9408, allocations: 11.22 MB / 449.8 MB, free: 76.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00352/0.9443, allocations: 2.712 MB / 452.5 MB, free: 75.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/0.9465, allocations: 1.057 MB / 453.5 MB, free: 74.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/0.9469, allocations: 141.4 kB / 453.7 MB, free: 74.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002131/0.9491, allocations: 1.073 MB / 454.7 MB, free: 74.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=155): time 5.738e-06/0.9491, allocations: 0 / 454.7 MB, free: 74.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=179): time 0.01654/0.9657, allocations: 6.372 MB / 461.1 MB, free: 71.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/0.9658, allocations: 342.3 kB / 461.5 MB, free: 71.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003133/0.969, allocations: 1.477 MB / 462.9 MB, free: 70.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003727/0.9694, allocations: 39.8 kB / 463 MB, free: 70.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.9706, allocations: 1.288 MB / 464.3 MB, free: 69.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007678/0.9714, allocations: 0.5757 MB / 464.8 MB, free: 69.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.9715, allocations: 0 / 464.8 MB, free: 69.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.9717, allocations: 400.4 kB / 465.2 MB, free: 68.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/0.9735, allocations: 0.9531 MB / 466.2 MB, free: 68.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.9759, allocations: 1.478 MB / 467.7 MB, free: 67.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.9781, allocations: 1.162 MB / 468.8 MB, free: 67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-05/0.9782, allocations: 3.781 kB / 468.8 MB, free: 67 MB / 346.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007507/0.9857, allocations: 3.253 MB / 472.1 MB, free: 65.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.9858, allocations: 16.03 kB / 472.1 MB, free: 65.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.9858, allocations: 16.25 kB / 472.1 MB, free: 65.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003765/0.9896, allocations: 1.167 MB / 473.3 MB, free: 65.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.9916, allocations: 371.6 kB / 473.6 MB, free: 65.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/1.009, allocations: 14 MB / 487.6 MB, free: 55.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/1.012, allocations: 138.9 kB / 487.8 MB, free: 55.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/1.012, allocations: 78.75 kB / 487.8 MB, free: 55.17 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[3].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[2].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[1].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] 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 {(2,100.0%) 16,(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.0005447/1.013, allocations: 176.7 kB / 488 MB, free: 55.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005763/1.014, allocations: 221.2 kB / 488.2 MB, free: 54.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007092/1.021, allocations: 3.201 MB / 491.4 MB, free: 52.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/1.021, allocations: 19 kB / 491.5 MB, free: 52.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.353e-06/1.021, allocations: 0 / 491.5 MB, free: 52.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-05/1.021, allocations: 15.12 kB / 491.5 MB, free: 52.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/1.035, allocations: 6.095 MB / 497.6 MB, free: 47.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/1.035, allocations: 4 kB / 497.6 MB, free: 47.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/1.036, allocations: 207.8 kB / 497.8 MB, free: 47.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004586/1.041, allocations: 1.372 MB / 499.1 MB, free: 46.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003059/1.041, allocations: 22.7 kB / 499.2 MB, free: 46.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01981/1.061, allocations: 14.09 MB / 0.5012 GB, free: 32.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.405e-06/1.061, allocations: 0 / 0.5012 GB, free: 32.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008882/1.07, allocations: 4.704 MB / 0.5058 GB, free: 28.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/1.072, allocations: 0.5006 MB / 0.5063 GB, free: 28.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007099/1.072, allocations: 19.47 kB / 0.5063 GB, free: 28.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/1.075, allocations: 111.5 kB / 0.5064 GB, free: 28.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008041/1.075, allocations: 238 kB / 0.5067 GB, free: 28.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/1.076, allocations: 54 kB / 0.5067 GB, free: 27.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002382/1.078, allocations: 1.109 MB / 0.5078 GB, free: 26.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.566e-06/1.078, allocations: 0 / 0.5078 GB, free: 26.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0039/1.082, allocations: 0.644 MB / 0.5084 GB, free: 26.35 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.0007525/1.083, allocations: 320.9 kB / 0.5087 GB, free: 26.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006519/1.089, allocations: 3.379 MB / 0.512 GB, free: 22.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.435e-06/1.089, allocations: 4.062 kB / 0.512 GB, free: 22.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0047/1.094, allocations: 2.221 MB / 0.5142 GB, free: 20.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/1.097, allocations: 401.5 kB / 0.5146 GB, free: 20.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/1.11, allocations: 4.96 MB / 0.5194 GB, free: 15.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0028/1.113, allocations: 2.252 MB / 0.5216 GB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008253/1.114, allocations: 127.4 kB / 0.5218 GB, free: 12.96 MB / 346.7 MB Notification: Performance of SimCode: time 2.203e-06/1.114, allocations: 0 / 0.5218 GB, free: 12.96 MB / 346.7 MB Notification: Performance of Templates: time 0.3778/1.492, allocations: 113.7 MB / 0.6328 GB, free: 12.86 MB / 346.7 MB