Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003539, allocations: 15.94 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09229/0.09266, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003813/0.09653, allocations: 2.169 MB / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.09828, allocations: 0.6908 MB / 311.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.0985, allocations: 4 kB / 311.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.346e-05/0.09861, allocations: 31.77 kB / 312 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004236/0.09905, allocations: 103.6 kB / 312.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.09936, allocations: 75.89 kB / 312.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004556/0.09983, allocations: 239.3 kB / 312.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.1001, allocations: 65.14 kB / 312.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.1003, allocations: 119.6 kB / 312.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.1006, allocations: 139.5 kB / 312.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.066e-05/0.1007, allocations: 16 kB / 312.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.398e-05/0.1008, allocations: 16 kB / 312.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.1009, allocations: 55.75 kB / 312.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.124e-05/0.101, allocations: 77.52 kB / 312.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.1013, allocations: 243.6 kB / 313.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1013, allocations: 0 / 313.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1014, allocations: 4 kB / 313.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1014, allocations: 0 / 313.1 MB, free: 12.31 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.002209/0.1036, allocations: 0.6196 MB / 313.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.1037, allocations: 8.031 kB / 313.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.1038, allocations: 23.72 kB / 313.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.1042, allocations: 255.5 kB / 314 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.1043, allocations: 12.44 kB / 314 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.1043, allocations: 20 kB / 314 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.1054, allocations: 320.3 kB / 314.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1055, allocations: 7.984 kB / 314.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.1055, allocations: 12 kB / 314.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1055, allocations: 4 kB / 314.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.1069, allocations: 289.5 kB / 314.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.1097, allocations: 1.253 MB / 315.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/0.1132, allocations: 478.3 kB / 316.4 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.1133, allocations: 4 kB / 316.4 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1133, allocations: 38.5 kB / 316.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.148e-05/0.1133, allocations: 0 / 316.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.009061/0.1224, allocations: 1.124 MB / 317.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.1225, allocations: 59.41 kB / 317.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.1229, allocations: 228.9 kB / 317.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.123, allocations: 29.7 kB / 317.8 MB, free: 7.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1231, allocations: 171.9 kB / 318 MB, free: 7.113 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.41e-05/0.1232, allocations: 47.27 kB / 318.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.1232, allocations: 4 kB / 318.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1234, allocations: 326.8 kB / 318.4 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006196/0.124, allocations: 119.9 kB / 318.5 MB, free: 6.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/0.1247, allocations: 147.4 kB / 318.6 MB, free: 6.461 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.1253, allocations: 125.8 kB / 318.8 MB, free: 6.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1254, allocations: 0 / 318.8 MB, free: 6.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.005474/0.1308, allocations: 0.7047 MB / 319.5 MB, free: 5.625 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.1309, allocations: 8 kB / 319.5 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1309, allocations: 0 / 319.5 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.1322, allocations: 236.7 kB / 319.7 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.1326, allocations: 35.98 kB / 319.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/0.145, allocations: 2.693 MB / 322.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.1455, allocations: 39.83 kB / 322.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.1456, allocations: 7.984 kB / 322.5 MB, free: 2.473 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.1458, allocations: 137.9 kB / 322.6 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.1459, allocations: 19.72 kB / 322.6 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.785e-05/0.146, allocations: 29.83 kB / 322.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.146, allocations: 0 / 322.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.146, allocations: 0 / 322.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/0.1461, allocations: 88.92 kB / 322.8 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.1462, allocations: 4 kB / 322.8 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005544/0.1468, allocations: 43.92 kB / 322.8 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/0.1468, allocations: 19.97 kB / 322.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004474/0.1513, allocations: 0.6419 MB / 323.5 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002121/0.1535, allocations: 0.5788 MB / 324 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006091/0.1542, allocations: 112 kB / 324.1 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002475/0.1544, allocations: 164.5 kB / 324.3 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of Backend: time 3.105e-06/0.1545, allocations: 8 kB / 324.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.157, allocations: 448.8 kB / 324.8 MB, free: 128 kB / 266.7 MB Notification: Performance of SimCode: time 0.001649/0.1587, allocations: 1.06 MB / 325.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of Templates: time 0.01312/0.1719, allocations: 3.871 MB / 329.7 MB, free: 11.15 MB / 282.7 MB