Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.592/1.592, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005017, allocations: 11.98 kB / 233.3 MB, free: 0.8359 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.09838, allocations: 38.77 MB / 272.1 MB, free: 9.988 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.34/0.4384, allocations: 77.99 MB / 350.1 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.4387, allocations: 75.97 kB / 350.2 MB, free: 4.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1552/0.5939, allocations: 37.09 MB / 387.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.594, allocations: 0 / 387.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.996e-05/0.594, allocations: 16 kB / 387.3 MB, free: 15.74 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.003238/0.5973, allocations: 1.394 MB / 388.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.5973, allocations: 12.03 kB / 388.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.5975, allocations: 54.55 kB / 388.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.5977, allocations: 126.4 kB / 388.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.5993, allocations: 0.7345 MB / 389.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.5994, allocations: 16.44 kB / 389.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.5995, allocations: 31.89 kB / 389.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008728/0.6003, allocations: 306.6 kB / 389.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.6004, allocations: 0 / 389.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.6004, allocations: 8 kB / 390 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.6005, allocations: 8 kB / 390 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006638/0.6011, allocations: 225.8 kB / 390.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/0.6043, allocations: 1.185 MB / 391.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/0.605, allocations: 243 kB / 391.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002099/0.6071, allocations: 1.274 MB / 392.9 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.6071, allocations: 34.56 kB / 392.9 MB, free: 9.641 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 5.049e-06/0.6072, allocations: 7.938 kB / 392.9 MB, free: 9.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.005582/0.6128, allocations: 2.056 MB / 395 MB, free: 7.367 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/0.6129, allocations: 118.8 kB / 395.1 MB, free: 7.227 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.6144, allocations: 0.7869 MB / 395.9 MB, free: 6.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.6145, allocations: 33.7 kB / 395.9 MB, free: 6.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.6148, allocations: 348.2 kB / 396.2 MB, free: 6.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.615, allocations: 134 kB / 396.4 MB, free: 5.918 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.6151, allocations: 4 kB / 396.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6152, allocations: 326.8 kB / 396.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.6156, allocations: 120.2 kB / 396.8 MB, free: 5.465 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.6162, allocations: 158.6 kB / 397 MB, free: 5.301 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.6167, allocations: 173.6 kB / 397.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6167, allocations: 4 kB / 397.1 MB, free: 5.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001478/0.6182, allocations: 460.8 kB / 397.6 MB, free: 4.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.6183, allocations: 41.69 kB / 397.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.888e-05/0.6183, allocations: 15.98 kB / 397.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/0.6187, allocations: 69.62 kB / 397.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.6191, allocations: 35.97 kB / 397.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.6227, allocations: 3.006 MB / 400.8 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006061/0.6233, allocations: 20.14 kB / 400.8 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/0.6234, allocations: 20 kB / 400.8 MB, free: 1.164 MB / 330.7 MB 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 (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005891/0.624, allocations: 255.2 kB / 401.1 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.6242, allocations: 122.5 kB / 401.2 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/0.6266, allocations: 0.6879 MB / 401.9 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.6267, allocations: 4 kB / 401.9 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.6267, allocations: 8.125 kB / 401.9 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.6267, allocations: 0 / 401.9 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.6278, allocations: 0.6122 MB / 402.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.202e-05/0.6279, allocations: 19.97 kB / 402.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.6282, allocations: 35.97 kB / 402.5 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003026/0.6285, allocations: 69.67 kB / 402.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.6286, allocations: 15.95 kB / 402.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/0.6319, allocations: 3.001 MB / 405.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.6319, allocations: 3.953 kB / 405.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.6342, allocations: 0.8519 MB / 406.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/0.6348, allocations: 283.4 kB / 406.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.635, allocations: 8.062 kB / 406.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.6355, allocations: 16 kB / 406.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.6357, allocations: 32.33 kB / 406.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/0.6358, allocations: 19.98 kB / 406.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001236/0.637, allocations: 0.6139 MB / 407.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.637, allocations: 4 kB / 407.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00139/0.6384, allocations: 251.8 kB / 407.7 MB, free: 9.859 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * 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 (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003699/0.6422, allocations: 1.7 MB / 409.4 MB, free: 8.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001725/0.6439, allocations: 0.7655 MB / 410.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.6439, allocations: 0 / 410.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.645, allocations: 0.6204 MB / 410.8 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/0.6458, allocations: 88.73 kB / 410.9 MB, free: 6.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.6566, allocations: 4.737 MB / 415.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007776/0.6574, allocations: 1.026 MB / 416.6 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005289/0.658, allocations: 271.3 kB / 416.9 MB, free: 320 kB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.658, allocations: 0 / 416.9 MB, free: 320 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.19/3.848, allocations: 19.57 MB / 436.5 MB, free: 91.58 MB / 346.7 MB