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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.146/2.146, allocations: 194.8 MB / 211.1 MB, free: 7.605 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 11.98 kB / 264.1 MB, free: 2.523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3066, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.4607, allocations: 73.21 MB / 381.8 MB, free: 3.344 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.461, allocations: 67.97 kB / 381.8 MB, free: 3.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02273/0.4838, allocations: 4.704 MB / 386.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4839, allocations: 0 / 386.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.4839, allocations: 4 kB / 386.6 MB, free: 14.55 MB / 330.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.001547/0.4854, allocations: 0.5656 MB / 387.1 MB, free: 13.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4855, allocations: 12.03 kB / 387.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.665e-05/0.4856, allocations: 54.55 kB / 387.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.4857, allocations: 31.67 kB / 387.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.4861, allocations: 255.5 kB / 387.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.4862, allocations: 16.44 kB / 387.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.4863, allocations: 16 kB / 387.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.4874, allocations: 324.3 kB / 387.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4874, allocations: 0 / 387.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/0.4875, allocations: 8 kB / 387.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.4875, allocations: 4 kB / 387.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.4888, allocations: 305.5 kB / 388.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.4917, allocations: 1.253 MB / 389.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/0.4951, allocations: 490.3 kB / 389.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.4952, allocations: 0 / 389.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.4952, allocations: 34.56 kB / 389.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/0.4952, allocations: 0 / 389.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.009553/0.5048, allocations: 1.159 MB / 391.1 MB, free: 9.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.5049, allocations: 55.34 kB / 391.1 MB, free: 9.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.5053, allocations: 200.2 kB / 391.3 MB, free: 9.527 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.5054, allocations: 29.7 kB / 391.3 MB, free: 9.492 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.5055, allocations: 156.1 kB / 391.5 MB, free: 9.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.5056, allocations: 63.17 kB / 391.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.5056, allocations: 0 / 391.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5058, allocations: 326.8 kB / 391.9 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006161/0.5064, allocations: 123.9 kB / 392 MB, free: 8.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.507, allocations: 143.4 kB / 392.1 MB, free: 8.672 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/0.5077, allocations: 118.8 kB / 392.2 MB, free: 8.559 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5077, allocations: 0 / 392.2 MB, free: 8.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.005717/0.5134, allocations: 0.7164 MB / 393 MB, free: 7.832 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.5135, allocations: 4 kB / 393 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.5136, allocations: 4 kB / 393 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.5148, allocations: 232.7 kB / 393.2 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.5152, allocations: 47.91 kB / 393.2 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/0.5275, allocations: 2.685 MB / 395.9 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.5281, allocations: 43.89 kB / 396 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.5282, allocations: 11.92 kB / 396 MB, free: 4.672 MB / 330.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.0002201/0.5284, allocations: 129.8 kB / 396.1 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.5285, allocations: 19.72 kB / 396.1 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.229e-05/0.5286, allocations: 29.83 kB / 396.2 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.5286, allocations: 0 / 396.2 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.5286, allocations: 4 kB / 396.2 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5286, allocations: 7.891 kB / 396.2 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.5292, allocations: 325.4 kB / 396.5 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5292, allocations: 0 / 396.5 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.5295, allocations: 31.97 kB / 396.5 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.5307, allocations: 232.7 kB / 396.7 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.5307, allocations: 4 kB / 396.7 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.5427, allocations: 2.685 MB / 399.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5428, allocations: 0 / 399.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006326/0.5491, allocations: 0.9179 MB / 400.3 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.5493, allocations: 104.8 kB / 400.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.5494, allocations: 4.062 kB / 400.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.5499, allocations: 39.97 kB / 400.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.55, allocations: 11.92 kB / 400.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.5501, allocations: 12 kB / 400.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002427/0.5503, allocations: 168.5 kB / 400.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5503, allocations: 0 / 400.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006449/0.551, allocations: 79.84 kB / 400.8 MB, free: 15.65 MB / 346.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.006744/0.5577, allocations: 1.459 MB / 402.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002868/0.5607, allocations: 0.4908 MB / 402.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.5607, allocations: 0 / 402.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.5628, allocations: 366.5 kB / 403.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.5633, allocations: 32.42 kB / 403.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009614/0.5729, allocations: 2.473 MB / 405.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.5734, allocations: 0.7557 MB / 406.3 MB, free: 9.934 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.5736, allocations: 13.55 kB / 406.3 MB, free: 9.918 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.5737, allocations: 67.42 kB / 406.4 MB, free: 9.852 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5737, allocations: 0 / 406.4 MB, free: 9.852 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.6116, allocations: 6.611 MB / 413 MB, free: 3.273 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004827/0.6122, allocations: 225.9 kB / 413.2 MB, free: 3.023 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.378, allocations: 4 kB / 413.2 MB, free: 3.02 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat does not exist to compare? outputFormat=mat