Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking") Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003646, allocations: 12 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09229/0.09268, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Braking): time 0.02173/0.1145, allocations: 12.72 MB / 321.8 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.1269, allocations: 4.903 MB / 326.7 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/0.1297, allocations: 79.62 kB / 326.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004035/0.1338, allocations: 0.9094 MB / 327.7 MB, free: 13.68 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 NFTyping.typeBindings: time 0.006081/0.1399, allocations: 1.375 MB / 329.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003436/0.1434, allocations: 0.7035 MB / 329.8 MB, free: 11.6 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 NFFlatten.flatten: time 0.00726/0.1507, allocations: 2.742 MB / 332.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004258/0.155, allocations: 2.143 MB / 334.7 MB, free: 6.672 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.002785/0.1578, allocations: 1.23 MB / 335.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003436/0.1613, allocations: 1.506 MB / 337.4 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008417/0.1621, allocations: 200 kB / 337.6 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.1639, allocations: 351.8 kB / 337.9 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.1653, allocations: 0.7709 MB / 338.7 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.1666, allocations: 0.7342 MB / 339.4 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008529/0.1752, allocations: 5.189 MB / 344.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1753, allocations: 3.938 kB / 344.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.145e-06/0.1753, allocations: 0 / 344.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001719/0.1755, allocations: 0 / 344.6 MB, free: 12.66 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 * Number of variables: 817 Notification: Performance of Generate backend data structure: time 0.01382/0.1893, allocations: 3.677 MB / 348.3 MB, free: 8.914 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.1894, allocations: 8.031 kB / 348.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/0.1941, allocations: 0.6319 MB / 348.9 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006434/0.2006, allocations: 2.118 MB / 351.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003024/0.201, allocations: 230.2 kB / 351.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009539/0.2019, allocations: 311.9 kB / 351.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/0.2142, allocations: 4.126 MB / 355.7 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001112/0.2144, allocations: 3.906 kB / 355.7 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004803/0.2149, allocations: 128 kB / 355.8 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002313/0.2151, allocations: 146 kB / 356 MB, free: 1.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.2265, allocations: 3.537 MB / 359.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2814/0.5079, allocations: 13.72 MB / 373.2 MB, free: 55.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008953/0.5169, allocations: 5.885 MB / 379.1 MB, free: 51.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009904/0.5269, allocations: 3.183 MB / 382.3 MB, free: 50.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.527, allocations: 48.56 kB / 382.4 MB, free: 50.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=143): time 4.959e-06/0.527, allocations: 0 / 382.4 MB, free: 50.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=147): time 0.02256/0.5496, allocations: 6.719 MB / 389.1 MB, free: 46.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.5497, allocations: 95.77 kB / 389.2 MB, free: 46.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003683/0.5533, allocations: 1.836 MB / 391 MB, free: 46.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002757/0.5537, allocations: 53.61 kB / 391.1 MB, free: 46.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.5548, allocations: 1.455 MB / 392.5 MB, free: 44.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005425/0.5553, allocations: 0.4897 MB / 393 MB, free: 44.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.5555, allocations: 35.84 kB / 393 MB, free: 44.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5556, allocations: 384.2 kB / 393.4 MB, free: 44.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.5575, allocations: 0.7565 MB / 394.2 MB, free: 43.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.5596, allocations: 1.292 MB / 395.5 MB, free: 42.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.5618, allocations: 0.9575 MB / 396.4 MB, free: 42.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.5618, allocations: 3.906 kB / 396.4 MB, free: 42.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.00647/0.5683, allocations: 2.76 MB / 399.2 MB, free: 40.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003134/0.5687, allocations: 0.5755 MB / 399.8 MB, free: 40.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.5687, allocations: 20.59 kB / 399.8 MB, free: 40.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/0.5706, allocations: 0.5186 MB / 400.3 MB, free: 39.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/0.5732, allocations: 384.6 kB / 400.7 MB, free: 39.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.5834, allocations: 7.402 MB / 408.1 MB, free: 33.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/0.5858, allocations: 92.62 kB / 408.2 MB, free: 33.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.586, allocations: 85.23 kB / 408.2 MB, free: 33.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.586, allocations: 3.75 kB / 408.3 MB, free: 33.5 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005691/0.5917, allocations: 2.526 MB / 410.8 MB, free: 31.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-05/0.5918, allocations: 16 kB / 410.8 MB, free: 31.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.5937, allocations: 0.5263 MB / 411.3 MB, free: 30.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/0.5963, allocations: 379.4 kB / 411.7 MB, free: 30.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009856/0.6062, allocations: 7.397 MB / 419.1 MB, free: 22.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.6085, allocations: 87.75 kB / 419.2 MB, free: 22.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.6088, allocations: 76 kB / 419.2 MB, free: 22.4 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (194): * Single equations (assignments): 190 * 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 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.002301/0.6111, allocations: 1.071 MB / 420.3 MB, free: 21.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005396/0.6116, allocations: 209.5 kB / 420.5 MB, free: 21.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005846/0.6175, allocations: 2.532 MB / 423.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/0.6176, allocations: 7.969 kB / 423.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.6176, allocations: 3.953 kB / 423.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/0.6189, allocations: 462.4 kB / 423.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/0.6194, allocations: 24 kB / 423.5 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/0.621, allocations: 79.92 kB / 423.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/0.6213, allocations: 113.1 kB / 423.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007963/0.6293, allocations: 2.535 MB / 426.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005923/0.6353, allocations: 2.829 MB / 429.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001716/0.637, allocations: 0.7988 MB / 429.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002478/0.6395, allocations: 1.254 MB / 431.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of Backend: time 7.61e-07/0.6396, allocations: 0 / 431.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.008356/0.6479, allocations: 3.73 MB / 434.9 MB, free: 6.555 MB / 314.7 MB Notification: Performance of SimCode: time 0.01564/0.6636, allocations: 7.577 MB / 442.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of Templates: time 0.1203/0.7839, allocations: 42.02 MB / 484.5 MB, free: 4.934 MB / 362.7 MB