Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.57/1.57, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004225, allocations: 11.98 kB / 233.3 MB, free: 2.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.09867, allocations: 38.77 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3316/0.4303, allocations: 68.09 MB / 340.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.4306, allocations: 73.77 kB / 340.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02303/0.4537, allocations: 4.774 MB / 345 MB, free: 1.176 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4537, allocations: 3.938 kB / 345 MB, free: 1.172 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.207e-05/0.4538, allocations: 4 kB / 345 MB, free: 1.168 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.001542/0.4553, allocations: 0.5744 MB / 345.6 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4554, allocations: 11.97 kB / 345.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.006e-05/0.4555, allocations: 59.72 kB / 345.7 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.4556, allocations: 31.62 kB / 345.7 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.456, allocations: 251.2 kB / 346 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.456, allocations: 20.5 kB / 346 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.4561, allocations: 15.38 kB / 346 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.4572, allocations: 326.2 kB / 346.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.4572, allocations: 0 / 346.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.4573, allocations: 7.5 kB / 346.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.4573, allocations: 8 kB / 346.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.4586, allocations: 292.2 kB / 346.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.4614, allocations: 1.264 MB / 347.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/0.4648, allocations: 484.6 kB / 348.4 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.4649, allocations: 0 / 348.4 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.4649, allocations: 37.56 kB / 348.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.465, allocations: 0 / 348.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.009471/0.4744, allocations: 1.146 MB / 349.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.4745, allocations: 59.41 kB / 349.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.4749, allocations: 202.2 kB / 349.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.475, allocations: 28.83 kB / 349.8 MB, free: 12.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.4751, allocations: 219.3 kB / 350 MB, free: 12.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.4752, allocations: 54.03 kB / 350.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.4752, allocations: 6.875 kB / 350.1 MB, free: 12.42 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4754, allocations: 321.2 kB / 350.4 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006109/0.476, allocations: 119.6 kB / 350.5 MB, free: 12.01 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/0.4767, allocations: 143.4 kB / 350.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006313/0.4773, allocations: 127.5 kB / 350.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.4773, allocations: 0 / 350.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00557/0.4829, allocations: 0.699 MB / 351.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.483, allocations: 4.062 kB / 351.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.483, allocations: 4 kB / 351.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.4843, allocations: 229.5 kB / 351.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.4846, allocations: 43.98 kB / 351.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.4968, allocations: 2.696 MB / 354.5 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/0.4974, allocations: 51.78 kB / 354.5 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.4974, allocations: 7.984 kB / 354.5 MB, free: 8.273 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.0002218/0.4977, allocations: 136 kB / 354.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/0.4978, allocations: 23.72 kB / 354.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.216e-05/0.4978, allocations: 21.64 kB / 354.7 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4979, allocations: 4 kB / 354.7 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4979, allocations: 0 / 354.7 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4979, allocations: 0 / 354.7 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.4984, allocations: 325.7 kB / 355 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4985, allocations: 4 kB / 355 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.4987, allocations: 34.8 kB / 355.1 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.4999, allocations: 233.8 kB / 355.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.4999, allocations: 3.984 kB / 355.3 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.512, allocations: 2.691 MB / 358 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.512, allocations: 7.953 kB / 358 MB, free: 4.961 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006237/0.5183, allocations: 0.9074 MB / 358.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.5185, allocations: 110.9 kB / 359 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.5186, allocations: 10.83 kB / 359 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005174/0.5191, allocations: 39.97 kB / 359.1 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.5192, allocations: 15.42 kB / 359.1 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.5192, allocations: 3.984 kB / 359.1 MB, free: 3.965 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002484/0.5195, allocations: 161.5 kB / 359.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5195, allocations: 0 / 359.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006697/0.5202, allocations: 95.22 kB / 359.3 MB, free: 3.742 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.006671/0.5269, allocations: 1.467 MB / 360.8 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002828/0.5298, allocations: 495.8 kB / 361.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5298, allocations: 0 / 361.3 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002063/0.5319, allocations: 365.5 kB / 361.6 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.5323, allocations: 38.97 kB / 361.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009442/0.5418, allocations: 2.491 MB / 364.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.5422, allocations: 0.7556 MB / 364.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.5424, allocations: 78.09 kB / 365 MB, free: 14.41 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5424, allocations: 0 / 365 MB, free: 14.41 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.621/3.164, allocations: 5.105 MB / 370.1 MB, free: 9.34 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat does not exist to compare? outputFormat=mat