Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking") Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09131, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Braking): time 0.01716/0.1085, allocations: 9.382 MB / 318.4 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.1228, allocations: 3.642 MB / 322.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.1255, allocations: 47.75 kB / 322.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.1299, allocations: 0.6958 MB / 322.8 MB, free: 2.543 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5426:20-5426:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5437:20-5437:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.005902/0.1359, allocations: 0.8452 MB / 323.7 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.1375, allocations: 311.5 kB / 324 MB, free: 1.391 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5426:20-5426:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5437:20-5437:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFFlatten.flatten: time 0.00578/0.1433, allocations: 2.161 MB / 326.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004331/0.1477, allocations: 1.675 MB / 327.8 MB, free: 13.52 MB / 282.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5426:20-5426:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5437:20-5437:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.1505, allocations: 1.012 MB / 328.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003847/0.1544, allocations: 1.28 MB / 330.1 MB, free: 11.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008641/0.1553, allocations: 164 kB / 330.3 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.1569, allocations: 223.9 kB / 330.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.1586, allocations: 0.7672 MB / 331.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.1599, allocations: 0.6095 MB / 331.9 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01539/0.1753, allocations: 4.048 MB / 335.9 MB, free: 5.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1754, allocations: 0 / 335.9 MB, free: 5.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.25e-06/0.1754, allocations: 4 kB / 335.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001621/0.1756, allocations: 3.938 kB / 335.9 MB, free: 5.387 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 652 * Number of variables: 652 Notification: Performance of Generate backend data structure: time 0.02503/0.2007, allocations: 2.946 MB / 338.9 MB, free: 2.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.2007, allocations: 8.031 kB / 338.9 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.203, allocations: 344 kB / 339.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.2151, allocations: 1.718 MB / 340.9 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003997/0.2192, allocations: 185 kB / 341.1 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/0.2204, allocations: 248 kB / 341.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/0.2339, allocations: 3.378 MB / 344.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001437/0.2341, allocations: 15.84 kB / 344.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005659/0.2347, allocations: 96 kB / 344.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002782/0.235, allocations: 128.7 kB / 345 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.2471, allocations: 2.908 MB / 347.9 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03225/0.2794, allocations: 10.88 MB / 358.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005073/0.2846, allocations: 2.425 MB / 361.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000425/0.285, allocations: 122.4 kB / 361.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/0.2851, allocations: 51.88 kB / 361.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=133): time 4.439e-06/0.2851, allocations: 0 / 361.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=147): time 0.02622/0.3113, allocations: 7.148 MB / 368.5 MB, free: 3.969 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/0.3115, allocations: 94.42 kB / 368.6 MB, free: 3.859 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003985/0.3155, allocations: 1.764 MB / 370.3 MB, free: 2.098 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003314/0.3159, allocations: 49.7 kB / 370.4 MB, free: 2.043 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.3172, allocations: 1.218 MB / 371.6 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008358/0.3181, allocations: 0.489 MB / 372.1 MB, free: 320 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.3183, allocations: 36 kB / 372.1 MB, free: 284 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.2439/0.5622, allocations: 375.8 kB / 372.5 MB, free: 59.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/0.5653, allocations: 0.8383 MB / 373.3 MB, free: 59.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/0.5681, allocations: 1.313 MB / 374.7 MB, free: 59.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002748/0.5709, allocations: 1.021 MB / 375.7 MB, free: 58.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-05/0.571, allocations: 8.062 kB / 375.7 MB, free: 58.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.007677/0.5786, allocations: 2.849 MB / 378.5 MB, free: 57.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003226/0.579, allocations: 0.5055 MB / 379 MB, free: 57.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/0.5791, allocations: 14.19 kB / 379.1 MB, free: 57.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002755/0.5818, allocations: 0.6653 MB / 379.7 MB, free: 56.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/0.5845, allocations: 359.8 kB / 380.1 MB, free: 56.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01472/0.5993, allocations: 8.507 MB / 388.6 MB, free: 50.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003842/0.6032, allocations: 115.1 kB / 388.7 MB, free: 50.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004447/0.6037, allocations: 70.39 kB / 388.8 MB, free: 50.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.6037, allocations: 9.094 kB / 388.8 MB, free: 50.93 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01042/0.6141, allocations: 2.628 MB / 391.4 MB, free: 49.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-05/0.6143, allocations: 11.72 kB / 391.4 MB, free: 49.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/0.6182, allocations: 0.664 MB / 392.1 MB, free: 49.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003753/0.622, allocations: 351 kB / 392.4 MB, free: 49.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/0.6395, allocations: 8.513 MB / 400.9 MB, free: 42.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.6418, allocations: 97.94 kB / 401 MB, free: 42.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.642, allocations: 75.98 kB / 401.1 MB, free: 42.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 6 (diodeBridge2mPulse.diode_p.idealDiode[1].off,diodeBridge2mPulse.diode_p.idealDiode[2].off,diodeBridge2mPulse.diode_p.idealDiode[3].off,diodeBridge2mPulse.diode_n.idealDiode[1].off,diodeBridge2mPulse.diode_n.idealDiode[2].off,diodeBridge2mPulse.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (181): * Single equations (assignments): 177 * 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: 3 * 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: 2 {(2,100.0%) 9,(1,100.0%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.001966/0.644, allocations: 0.919 MB / 402 MB, free: 41.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005303/0.6445, allocations: 204.2 kB / 402.2 MB, free: 41.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006163/0.6507, allocations: 2.551 MB / 404.8 MB, free: 38.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/0.6508, allocations: 7.969 kB / 404.8 MB, free: 38.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.6508, allocations: 0 / 404.8 MB, free: 38.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.6522, allocations: 470.5 kB / 405.2 MB, free: 38.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004796/0.6527, allocations: 32.47 kB / 405.3 MB, free: 38.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/0.6543, allocations: 99.88 kB / 405.4 MB, free: 38.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/0.6546, allocations: 105.1 kB / 405.5 MB, free: 38.09 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008386/0.663, allocations: 2.74 MB / 408.2 MB, free: 35.37 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006565/0.6697, allocations: 3.229 MB / 411.4 MB, free: 32.12 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001979/0.6717, allocations: 0.9237 MB / 412.4 MB, free: 31.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002325/0.674, allocations: 1.201 MB / 413.6 MB, free: 30.01 MB / 314.7 MB Notification: Performance of Backend: time 1.082e-06/0.6741, allocations: 0 / 413.6 MB, free: 30.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01218/0.6863, allocations: 3.815 MB / 417.4 MB, free: 26.07 MB / 314.7 MB Notification: Performance of SimCode: time 0.0146/0.7009, allocations: 6.676 MB / 424.1 MB, free: 19.37 MB / 314.7 MB Notification: Performance of Templates: time 0.1049/0.8058, allocations: 41.14 MB / 465.2 MB, free: 10.24 MB / 346.7 MB