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.1/2.1, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004043, allocations: 12 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.09834, allocations: 44.5 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5314/0.6298, allocations: 73.21 MB / 382.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.6301, allocations: 77.94 kB / 382.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02201/0.6522, allocations: 4.704 MB / 387 MB, free: 14.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6522, allocations: 0 / 387 MB, free: 14.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.889e-05/0.6523, allocations: 5.188 kB / 387 MB, free: 14.76 MB / 314.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.001477/0.6537, allocations: 0.5606 MB / 387.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.6538, allocations: 12.91 kB / 387.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.6539, allocations: 29.73 kB / 387.6 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.6543, allocations: 251 kB / 387.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.6543, allocations: 14.16 kB / 387.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.6544, allocations: 20.97 kB / 387.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/0.6554, allocations: 324.3 kB / 388.2 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.6554, allocations: 0 / 388.2 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.6555, allocations: 13.34 kB / 388.2 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.6555, allocations: 3.938 kB / 388.2 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.6568, allocations: 293.1 kB / 388.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.6593, allocations: 1.262 MB / 389.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/0.6626, allocations: 497.6 kB / 390.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.6626, allocations: 3.828 kB / 390.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.6627, allocations: 34.5 kB / 390.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.835e-06/0.6627, allocations: 0 / 390.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.009703/0.6724, allocations: 1.149 MB / 391.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.6725, allocations: 59.31 kB / 391.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.6728, allocations: 225.3 kB / 391.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.6729, allocations: 28.45 kB / 391.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/0.673, allocations: 158 kB / 391.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.294e-05/0.6731, allocations: 58.7 kB / 392 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.6731, allocations: 0 / 392 MB, free: 12.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.6732, allocations: 330.5 kB / 392.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/0.6739, allocations: 117.7 kB / 392.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005781/0.6745, allocations: 148.1 kB / 392.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.6751, allocations: 121 kB / 392.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6751, allocations: 0 / 392.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.005488/0.6806, allocations: 0.7156 MB / 393.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.6807, allocations: 3.875 kB / 393.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6807, allocations: 3.906 kB / 393.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.6819, allocations: 231.5 kB / 393.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.6823, allocations: 43.67 kB / 393.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.6938, allocations: 2.688 MB / 396.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005381/0.6944, allocations: 45.17 kB / 396.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.6945, allocations: 9.75 kB / 396.4 MB, free: 10.71 MB / 314.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.0001916/0.6947, allocations: 128.5 kB / 396.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.6948, allocations: 19.16 kB / 396.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/0.6948, allocations: 34.19 kB / 396.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6949, allocations: 0 / 396.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6949, allocations: 0 / 396.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.6949, allocations: 10.72 kB / 396.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.6953, allocations: 326.9 kB / 396.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6954, allocations: 96 / 396.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.6956, allocations: 29.02 kB / 397 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.6967, allocations: 238.4 kB / 397.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.6967, allocations: 6.188 kB / 397.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.7078, allocations: 2.675 MB / 399.9 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7079, allocations: 3.938 kB / 399.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006056/0.714, allocations: 0.9155 MB / 400.8 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.7141, allocations: 103.4 kB / 400.9 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/0.7142, allocations: 64 / 400.9 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.7147, allocations: 42.55 kB / 400.9 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.7148, allocations: 7.781 kB / 400.9 MB, free: 8.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.7148, allocations: 3.812 kB / 400.9 MB, free: 8.668 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001951/0.715, allocations: 163.1 kB / 401.1 MB, free: 8.586 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7151, allocations: 4 kB / 401.1 MB, free: 8.582 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006709/0.7157, allocations: 85.22 kB / 401.2 MB, free: 8.57 MB / 314.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.0001769/0.7159, allocations: 111.3 kB / 401.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002842/0.7188, allocations: 0.4896 MB / 401.8 MB, free: 8.352 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.7188, allocations: 3.75 kB / 401.8 MB, free: 8.352 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.7208, allocations: 362.2 kB / 402.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.7213, allocations: 38.66 kB / 402.2 MB, free: 8.223 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.7233, allocations: 0.6776 MB / 402.9 MB, free: 7.855 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.7235, allocations: 0.7517 MB / 403.6 MB, free: 7.152 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000147/0.7237, allocations: 21.09 kB / 403.6 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.7237, allocations: 15.19 kB / 403.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.7238, allocations: 0 / 403.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of Templates: time 0.01174/0.7355, allocations: 4.511 MB / 408.2 MB, free: 6.059 MB / 314.7 MB