Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.000393, allocations: 15.98 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09813/0.09855, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5188, allocations: 68.09 MB / 340.7 MB, free: 5.305 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.5192, allocations: 78.02 kB / 340.8 MB, free: 5.266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02286/0.542, allocations: 4.774 MB / 345.6 MB, free: 1.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5421, allocations: 0 / 345.6 MB, free: 1.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.539e-05/0.5421, allocations: 8 kB / 345.6 MB, free: 1.129 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.00152/0.5437, allocations: 0.5753 MB / 346.1 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5437, allocations: 8.031 kB / 346.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.5438, allocations: 31.62 kB / 346.2 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.5442, allocations: 251.9 kB / 346.4 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.5443, allocations: 13.44 kB / 346.4 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.5444, allocations: 23.25 kB / 346.5 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.5454, allocations: 324.1 kB / 346.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.5455, allocations: 0 / 346.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.5455, allocations: 7.812 kB / 346.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.5456, allocations: 8 kB / 346.8 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.547, allocations: 292.6 kB / 347.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.5496, allocations: 1.268 MB / 348.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003351/0.553, allocations: 481.3 kB / 348.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.5531, allocations: 0 / 348.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.5531, allocations: 36.94 kB / 348.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.763e-06/0.5531, allocations: 0 / 348.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.009367/0.5625, allocations: 1.152 MB / 350 MB, free: 12.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.5626, allocations: 51.41 kB / 350.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.5629, allocations: 226 kB / 350.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.563, allocations: 29.2 kB / 350.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.5632, allocations: 175.1 kB / 350.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.5632, allocations: 42.48 kB / 350.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.5633, allocations: 3.875 kB / 350.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5634, allocations: 333.7 kB / 350.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/0.5641, allocations: 124.2 kB / 351 MB, free: 12.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/0.5647, allocations: 146.6 kB / 351.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.5654, allocations: 127.7 kB / 351.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5654, allocations: 3.938 kB / 351.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00561/0.571, allocations: 0.7142 MB / 351.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.5711, allocations: 11.98 kB / 352 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5711, allocations: 0 / 352 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.5723, allocations: 234.3 kB / 352.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.5727, allocations: 36.48 kB / 352.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.5847, allocations: 2.69 MB / 354.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.5853, allocations: 50.06 kB / 355 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.5854, allocations: 15.5 kB / 355 MB, free: 8.309 MB / 282.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.0002239/0.5856, allocations: 136.2 kB / 355.1 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.5857, allocations: 19.81 kB / 355.1 MB, free: 8.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.913e-05/0.5858, allocations: 21.03 kB / 355.2 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.5858, allocations: 4 kB / 355.2 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5858, allocations: 0 / 355.2 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.5858, allocations: 7.984 kB / 355.2 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/0.5864, allocations: 325.3 kB / 355.5 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.5864, allocations: 4 kB / 355.5 MB, free: 7.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.5867, allocations: 32.55 kB / 355.5 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.5879, allocations: 232 kB / 355.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.5879, allocations: 7.984 kB / 355.8 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/0.5999, allocations: 2.669 MB / 358.4 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.5999, allocations: 15.95 kB / 358.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006187/0.6061, allocations: 0.91 MB / 359.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.6063, allocations: 123.6 kB / 359.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.6064, allocations: 3.953 kB / 359.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/0.6069, allocations: 43.66 kB / 359.5 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.607, allocations: 7.984 kB / 359.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.607, allocations: 8.062 kB / 359.5 MB, free: 4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002271/0.6073, allocations: 165.9 kB / 359.7 MB, free: 3.859 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.715e-06/0.6073, allocations: 0 / 359.7 MB, free: 3.859 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006486/0.6079, allocations: 86.78 kB / 359.8 MB, free: 3.781 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0001873/0.6081, allocations: 107.2 kB / 359.9 MB, free: 3.668 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002778/0.6109, allocations: 497.2 kB / 360.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.611, allocations: 3.938 kB / 360.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.613, allocations: 375 kB / 360.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.6135, allocations: 26.36 kB / 360.8 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.6157, allocations: 0.6682 MB / 361.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.6162, allocations: 0.7556 MB / 362.2 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.6163, allocations: 17.55 kB / 362.2 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.6164, allocations: 19.42 kB / 362.2 MB, free: 1.383 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6164, allocations: 0 / 362.2 MB, free: 1.383 MB / 282.7 MB Notification: Performance of Templates: time 0.01392/0.6304, allocations: 4.51 MB / 366.7 MB, free: 12.9 MB / 298.7 MB