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.797/1.797, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.0005099, allocations: 12 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08661/0.08715, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003835/0.09103, allocations: 2.168 MB / 274.8 MB, free: 9.355 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.0928, allocations: 0.6902 MB / 275.5 MB, free: 8.664 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.09301, allocations: 4 kB / 275.5 MB, free: 8.66 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.473e-05/0.09312, allocations: 35.75 kB / 275.5 MB, free: 8.625 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003904/0.09352, allocations: 107.7 kB / 275.6 MB, free: 8.52 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.09381, allocations: 71.83 kB / 275.7 MB, free: 8.449 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004346/0.09426, allocations: 235.5 kB / 275.9 MB, free: 8.219 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.09448, allocations: 65.14 kB / 276 MB, free: 8.152 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.09476, allocations: 119.6 kB / 276.1 MB, free: 8.035 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.09506, allocations: 143.5 kB / 276.2 MB, free: 7.895 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/0.09514, allocations: 16 kB / 276.3 MB, free: 7.879 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.09522, allocations: 16 kB / 276.3 MB, free: 7.863 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.0953, allocations: 51.81 kB / 276.3 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.0954, allocations: 77.52 kB / 276.4 MB, free: 7.73 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.09578, allocations: 247.5 kB / 276.6 MB, free: 7.488 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.0958, allocations: 0 / 276.6 MB, free: 7.488 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.09581, allocations: 0 / 276.6 MB, free: 7.488 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.09583, allocations: 0 / 276.6 MB, free: 7.488 MB / 234.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.002182/0.09802, allocations: 0.6158 MB / 277.3 MB, free: 6.824 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.09808, allocations: 8.031 kB / 277.3 MB, free: 6.816 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.0982, allocations: 31.62 kB / 277.3 MB, free: 6.785 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.09863, allocations: 243.6 kB / 277.5 MB, free: 6.504 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.09867, allocations: 20.39 kB / 277.6 MB, free: 6.484 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.09875, allocations: 23.94 kB / 277.6 MB, free: 6.461 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.09988, allocations: 328.3 kB / 277.9 MB, free: 6.117 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.09991, allocations: 0 / 277.9 MB, free: 6.117 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/0.09997, allocations: 8 kB / 277.9 MB, free: 6.109 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.09999, allocations: 4 kB / 277.9 MB, free: 6.105 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.1014, allocations: 293.5 kB / 278.2 MB, free: 5.82 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.1043, allocations: 1.253 MB / 279.5 MB, free: 4.48 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003425/0.1077, allocations: 482.3 kB / 279.9 MB, free: 4 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.1078, allocations: 7.984 kB / 279.9 MB, free: 3.992 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1079, allocations: 34.5 kB / 280 MB, free: 3.949 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 3.606e-06/0.1079, allocations: 4 kB / 280 MB, free: 3.945 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.009119/0.117, allocations: 1.12 MB / 281.1 MB, free: 2.797 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.1171, allocations: 51.41 kB / 281.1 MB, free: 2.734 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.1175, allocations: 224.9 kB / 281.4 MB, free: 2.508 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.1175, allocations: 29.7 kB / 281.4 MB, free: 2.473 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1177, allocations: 172 kB / 281.6 MB, free: 2.301 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/0.1178, allocations: 43.27 kB / 281.6 MB, free: 2.258 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.1178, allocations: 7.938 kB / 281.6 MB, free: 2.25 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.118, allocations: 334.8 kB / 281.9 MB, free: 1.914 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006144/0.1186, allocations: 119.9 kB / 282.1 MB, free: 1.797 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/0.1193, allocations: 147.3 kB / 282.2 MB, free: 1.641 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/0.1199, allocations: 117 kB / 282.3 MB, free: 1.527 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.12, allocations: 0 / 282.3 MB, free: 1.527 MB / 234.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.005448/0.1254, allocations: 0.7069 MB / 283 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.1255, allocations: 12 kB / 283 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.1255, allocations: 3.984 kB / 283 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.1268, allocations: 236.6 kB / 283.3 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.1272, allocations: 43.97 kB / 283.3 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.1392, allocations: 2.689 MB / 286 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.1398, allocations: 39.81 kB / 286 MB, free: 13.65 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.1398, allocations: 16 kB / 286.1 MB, free: 13.64 MB / 250.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.0002279/0.14, allocations: 136.6 kB / 286.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.369e-05/0.1401, allocations: 23.67 kB / 286.2 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.099e-05/0.1402, allocations: 25.83 kB / 286.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1402, allocations: 4 kB / 286.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1402, allocations: 0 / 286.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.1404, allocations: 116.8 kB / 286.4 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.1405, allocations: 4 kB / 286.4 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/0.141, allocations: 39.97 kB / 286.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.1411, allocations: 7.984 kB / 286.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004443/0.1456, allocations: 0.6579 MB / 287.1 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002098/0.1477, allocations: 0.5767 MB / 287.6 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005998/0.1483, allocations: 112 kB / 287.7 MB, free: 11.89 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002426/0.1486, allocations: 160.5 kB / 287.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of Backend: time 6.61e-07/0.1486, allocations: 4 kB / 287.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002426/0.151, allocations: 452.9 kB / 288.3 MB, free: 11.27 MB / 250.7 MB Notification: Performance of SimCode: time 0.00156/0.1526, allocations: 1.052 MB / 289.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of Templates: time 0.01221/0.1649, allocations: 3.878 MB / 293.3 MB, free: 6.293 MB / 250.7 MB