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.038/1.038, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002636, allocations: 8 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05298/0.05329, allocations: 25.16 MB / 183.6 MB, free: 5.891 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2286/0.282, allocations: 35.51 MB / 219.1 MB, free: 6.316 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.2823, allocations: 63.28 kB / 219.2 MB, free: 6.309 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02024/0.3025, allocations: 4.521 MB / 223.7 MB, free: 4.547 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3026, allocations: 0 / 223.7 MB, free: 4.547 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.3026, allocations: 3.812 kB / 223.7 MB, free: 4.547 MB / 170.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.001364/0.304, allocations: 0.564 MB / 224.3 MB, free: 4.074 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.304, allocations: 11.5 kB / 224.3 MB, free: 4.074 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.918e-05/0.3041, allocations: 53.02 kB / 224.3 MB, free: 4.027 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/0.3042, allocations: 31 kB / 224.3 MB, free: 4.012 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.3046, allocations: 251.4 kB / 224.6 MB, free: 3.77 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3046, allocations: 19.47 kB / 224.6 MB, free: 3.766 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.3047, allocations: 18.69 kB / 224.6 MB, free: 3.766 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/0.3056, allocations: 310.7 kB / 224.9 MB, free: 3.641 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.3056, allocations: 4 kB / 224.9 MB, free: 3.637 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.3057, allocations: 10.81 kB / 224.9 MB, free: 3.633 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3057, allocations: 7.281 kB / 225 MB, free: 3.633 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.3069, allocations: 286.7 kB / 225.2 MB, free: 3.578 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.3094, allocations: 1.073 MB / 226.3 MB, free: 2.84 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/0.3127, allocations: 485.7 kB / 226.8 MB, free: 2.715 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.3128, allocations: 11.7 kB / 226.8 MB, free: 2.707 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.3129, allocations: 32.12 kB / 226.8 MB, free: 2.668 MB / 170.7 MB Notification: Performance of pre-optimization done (n=14): time 2.956e-06/0.3129, allocations: 0 / 226.8 MB, free: 2.668 MB / 170.7 MB Notification: Performance of matching and sorting (n=14): time 0.008979/0.3219, allocations: 1.155 MB / 228 MB, free: 2.25 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.322, allocations: 55.66 kB / 228 MB, free: 2.188 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.3223, allocations: 192.4 kB / 228.2 MB, free: 2.078 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.3224, allocations: 28.45 kB / 228.3 MB, free: 2.047 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3225, allocations: 220.6 kB / 228.5 MB, free: 1.859 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/0.3225, allocations: 49.08 kB / 228.5 MB, free: 1.824 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.3226, allocations: 2.812 kB / 228.5 MB, free: 1.824 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.731e-05/0.3226, allocations: 315.3 kB / 228.8 MB, free: 1.512 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/0.3232, allocations: 115.4 kB / 228.9 MB, free: 1.488 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.3238, allocations: 133 kB / 229.1 MB, free: 1.449 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.3244, allocations: 112.7 kB / 229.2 MB, free: 1.418 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3245, allocations: 0 / 229.2 MB, free: 1.418 MB / 170.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.005186/0.3297, allocations: 0.6899 MB / 229.9 MB, free: 0.793 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/0.3298, allocations: 8 kB / 229.9 MB, free: 0.7852 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3298, allocations: 3.938 kB / 229.9 MB, free: 0.7812 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.3309, allocations: 239.3 kB / 230.1 MB, free: 0.5781 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.3313, allocations: 31.98 kB / 230.1 MB, free: 0.5469 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/0.3431, allocations: 2.672 MB / 232.8 MB, free: 13.99 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.3437, allocations: 51.2 kB / 232.9 MB, free: 13.95 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.3438, allocations: 4 kB / 232.9 MB, free: 13.94 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: CL.v:VARIABLE(unit = "V" fixed = true ) "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 () * Number of clocked 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.0002765/0.3441, allocations: 139.2 kB / 233 MB, free: 13.81 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.3441, allocations: 19.81 kB / 233 MB, free: 13.79 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/0.3442, allocations: 19.72 kB / 233 MB, free: 13.78 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3442, allocations: 0 / 233 MB, free: 13.78 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3443, allocations: 8 kB / 233.1 MB, free: 13.77 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.3443, allocations: 7.922 kB / 233.1 MB, free: 13.76 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.3449, allocations: 329.5 kB / 233.4 MB, free: 13.45 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.3449, allocations: 3.984 kB / 233.4 MB, free: 13.45 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.3452, allocations: 31.98 kB / 233.4 MB, free: 13.41 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.3464, allocations: 237.6 kB / 233.6 MB, free: 13.21 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/0.3465, allocations: 10.86 kB / 233.7 MB, free: 13.2 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/0.3583, allocations: 2.673 MB / 236.3 MB, free: 10.65 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3583, allocations: 0 / 236.3 MB, free: 10.65 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006295/0.3646, allocations: 0.9103 MB / 237.2 MB, free: 9.832 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.3649, allocations: 119.3 kB / 237.4 MB, free: 9.707 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/0.365, allocations: 7 kB / 237.4 MB, free: 9.703 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.3655, allocations: 36.03 kB / 237.4 MB, free: 9.668 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.3656, allocations: 15.92 kB / 237.4 MB, free: 9.656 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.3656, allocations: 0 / 237.4 MB, free: 9.656 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.00027/0.3659, allocations: 164.3 kB / 237.6 MB, free: 9.52 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3659, allocations: 4 kB / 237.6 MB, free: 9.516 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006638/0.3666, allocations: 83.66 kB / 237.7 MB, free: 9.438 MB / 186.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.00665/0.3733, allocations: 1.462 MB / 239.1 MB, free: 8.066 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.3761, allocations: 481.7 kB / 239.6 MB, free: 7.637 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.3761, allocations: 0 / 239.6 MB, free: 7.637 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.3781, allocations: 352.8 kB / 239.9 MB, free: 7.312 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.3789, allocations: 51.5 kB / 240 MB, free: 7.273 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009167/0.388, allocations: 2.14 MB / 242.1 MB, free: 5.285 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.3885, allocations: 0.7518 MB / 242.9 MB, free: 4.508 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3887, allocations: 71.34 kB / 243 MB, free: 4.48 MB / 186.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3887, allocations: 0 / 243 MB, free: 4.48 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.511/2.9, allocations: 5.06 MB / 248 MB, free: 15.46 MB / 202.7 MB