Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.107/1.107, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.949e-05, allocations: 8 kB / 154.4 MB, free: 13.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1708, allocations: 25.15 MB / 179.5 MB, free: 0.6953 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06519/0.236, allocations: 35.42 MB / 214.9 MB, free: 13.6 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.2363, allocations: 55.97 kB / 215 MB, free: 13.54 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02347/0.2598, allocations: 4.536 MB / 219.5 MB, free: 8.992 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2598, allocations: 0 / 219.5 MB, free: 8.992 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.2599, allocations: 4 kB / 219.5 MB, free: 8.988 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001893/0.2618, allocations: 0.545 MB / 220.1 MB, free: 8.395 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.2619, allocations: 8.031 kB / 220.1 MB, free: 8.387 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.262, allocations: 58.55 kB / 220.2 MB, free: 8.32 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.2622, allocations: 27.62 kB / 220.2 MB, free: 8.293 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.2627, allocations: 247.6 kB / 220.4 MB, free: 8.008 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/0.2628, allocations: 12.44 kB / 220.4 MB, free: 7.996 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.116e-05/0.2629, allocations: 20 kB / 220.5 MB, free: 7.977 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009597/0.2639, allocations: 254.6 kB / 220.7 MB, free: 7.715 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.2639, allocations: 0 / 220.7 MB, free: 7.715 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.264, allocations: 12 kB / 220.7 MB, free: 7.703 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.264, allocations: 4 kB / 220.7 MB, free: 7.699 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008831/0.2649, allocations: 173.7 kB / 220.9 MB, free: 7.527 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/0.2688, allocations: 1.085 MB / 222 MB, free: 6.359 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.2721, allocations: 338.5 kB / 222.3 MB, free: 6.02 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.2726, allocations: 104.7 kB / 222.4 MB, free: 5.914 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.2726, allocations: 0 / 222.4 MB, free: 5.914 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.2727, allocations: 42.55 kB / 222.4 MB, free: 5.863 MB / 186.7 MB Notification: Performance of pre-optimization done (n=14): time 2.796e-06/0.2727, allocations: 0 / 222.4 MB, free: 5.863 MB / 186.7 MB Notification: Performance of matching and sorting (n=14): time 0.005944/0.2787, allocations: 0.5174 MB / 223 MB, free: 5.336 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.2788, allocations: 59.34 kB / 223 MB, free: 5.266 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.2793, allocations: 192.9 kB / 223.2 MB, free: 5.07 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.576e-05/0.2793, allocations: 25.7 kB / 223.2 MB, free: 5.039 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.2796, allocations: 218.5 kB / 223.4 MB, free: 4.824 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2797, allocations: 43.34 kB / 223.5 MB, free: 4.781 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.2797, allocations: 8 kB / 223.5 MB, free: 4.773 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2799, allocations: 318.8 kB / 223.8 MB, free: 4.453 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.2802, allocations: 56 kB / 223.9 MB, free: 4.398 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.2806, allocations: 83.67 kB / 223.9 MB, free: 4.312 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.281, allocations: 67.91 kB / 224 MB, free: 4.246 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.281, allocations: 0 / 224 MB, free: 4.246 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00631/0.2874, allocations: 0.5351 MB / 224.5 MB, free: 3.703 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.2875, allocations: 4 kB / 224.6 MB, free: 3.699 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2875, allocations: 0 / 224.6 MB, free: 3.699 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007089/0.2882, allocations: 140.8 kB / 224.7 MB, free: 3.559 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.2886, allocations: 35.92 kB / 224.7 MB, free: 3.523 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.2996, allocations: 2.152 MB / 226.9 MB, free: 1.242 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.3003, allocations: 39.84 kB / 226.9 MB, free: 1.203 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.3004, allocations: 8 kB / 226.9 MB, free: 1.195 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: CL.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0002098/0.3006, allocations: 117 kB / 227 MB, free: 1.074 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.3007, allocations: 15.81 kB / 227.1 MB, free: 1.059 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.3009, allocations: 29.95 kB / 227.1 MB, free: 1.027 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3009, allocations: 96 / 227.1 MB, free: 1.027 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3009, allocations: 0 / 227.1 MB, free: 1.027 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.3009, allocations: 7.938 kB / 227.1 MB, free: 1.02 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008535/0.3018, allocations: 329.4 kB / 227.4 MB, free: 0.6484 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3018, allocations: 3.938 kB / 227.4 MB, free: 0.6445 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.3022, allocations: 39.91 kB / 227.5 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006199/0.3029, allocations: 132.8 kB / 227.6 MB, free: 484 kB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.3029, allocations: 4 kB / 227.6 MB, free: 480 kB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/0.3135, allocations: 2.157 MB / 229.7 MB, free: 14.18 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3136, allocations: 0 / 229.7 MB, free: 14.18 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006623/0.3202, allocations: 0.707 MB / 230.5 MB, free: 13.45 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.3206, allocations: 124.9 kB / 230.6 MB, free: 13.31 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.648e-05/0.3206, allocations: 0 / 230.6 MB, free: 13.31 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/0.3214, allocations: 39.97 kB / 230.6 MB, free: 13.27 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/0.3215, allocations: 7.984 kB / 230.6 MB, free: 13.27 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.3215, allocations: 4 kB / 230.6 MB, free: 13.26 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0003066/0.3219, allocations: 161.4 kB / 230.8 MB, free: 13.11 MB / 202.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3219, allocations: 0 / 230.8 MB, free: 13.11 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001057/0.323, allocations: 83.84 kB / 230.9 MB, free: 13.02 MB / 202.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 () * 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.007011/0.33, allocations: 1.263 MB / 232.1 MB, free: 11.73 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.002018/0.3321, allocations: 370.4 kB / 232.5 MB, free: 11.35 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3321, allocations: 0 / 232.5 MB, free: 11.35 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.3337, allocations: 294.5 kB / 232.8 MB, free: 11.05 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.3345, allocations: 56.56 kB / 232.8 MB, free: 11 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.3358, allocations: 429.5 kB / 233.3 MB, free: 10.53 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.3362, allocations: 0.7441 MB / 234 MB, free: 9.762 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3364, allocations: 71.41 kB / 234.1 MB, free: 9.691 MB / 202.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3364, allocations: 0 / 234.1 MB, free: 9.691 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.651/2.988, allocations: 5.03 MB / 239.1 MB, free: 4.66 MB / 202.7 MB