Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.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.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.221/2.221, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 12 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1019, allocations: 44.5 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.5694, allocations: 86.1 MB / 394.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.5697, allocations: 77.2 kB / 394.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1221/0.6919, allocations: 43.74 MB / 438.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.6919, allocations: 0 / 438.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.18e-05/0.692, allocations: 16 kB / 438.5 MB, free: 14.29 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00308/0.6951, allocations: 1.292 MB / 439.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.6951, allocations: 8.031 kB / 439.8 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.6953, allocations: 67.86 kB / 439.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.6955, allocations: 118.7 kB / 440 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.6971, allocations: 0.7163 MB / 440.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.6971, allocations: 21.44 kB / 440.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.6973, allocations: 32.69 kB / 440.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009925/0.6983, allocations: 330.2 kB / 441 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.6983, allocations: 0 / 441 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.6983, allocations: 7.375 kB / 441.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.6984, allocations: 15.58 kB / 441.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.6995, allocations: 301.9 kB / 441.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.7023, allocations: 1.396 MB / 442.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.7034, allocations: 320.4 kB / 443.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007118/0.7105, allocations: 4.191 MB / 447.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006639/0.7112, allocations: 206.6 kB / 447.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.755e-06/0.7112, allocations: 0 / 447.5 MB, free: 5.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.002566/0.7138, allocations: 0.8419 MB / 448.3 MB, free: 4.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.7139, allocations: 55.59 kB / 448.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.7152, allocations: 0.716 MB / 449.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.7153, allocations: 33.33 kB / 449.1 MB, free: 4.082 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.7157, allocations: 437.4 kB / 449.5 MB, free: 3.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.7158, allocations: 91.53 kB / 449.6 MB, free: 3.762 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.7159, allocations: 6.625 kB / 449.6 MB, free: 3.762 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.716, allocations: 325.6 kB / 450 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.7165, allocations: 127.4 kB / 450.1 MB, free: 3.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.7171, allocations: 234.7 kB / 450.3 MB, free: 3.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.7177, allocations: 158.7 kB / 450.5 MB, free: 3.016 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.7177, allocations: 0 / 450.5 MB, free: 3.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001452/0.7192, allocations: 459.1 kB / 450.9 MB, free: 2.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.7192, allocations: 12.03 kB / 450.9 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.171e-05/0.7193, allocations: 31.98 kB / 451 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002938/0.7196, allocations: 54.25 kB / 451 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.7202, allocations: 75.39 kB / 451.1 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.7228, allocations: 2.673 MB / 453.8 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.7235, allocations: 51.09 kB / 453.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.7235, allocations: 23.12 kB / 453.8 MB, free: 15.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004666/0.724, allocations: 202.5 kB / 454 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.7242, allocations: 102.8 kB / 454.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.7261, allocations: 0.5264 MB / 454.7 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.7261, allocations: 0 / 454.7 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.7261, allocations: 4 kB / 454.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.7261, allocations: 0 / 454.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008906/0.727, allocations: 0.5612 MB / 455.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.55e-05/0.7271, allocations: 35.94 kB / 455.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.7276, allocations: 43.97 kB / 455.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/0.7279, allocations: 63.55 kB / 455.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.7279, allocations: 11.25 kB / 455.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.7305, allocations: 2.653 MB / 458 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7305, allocations: 0 / 458 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.7326, allocations: 0.6316 MB / 458.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.733, allocations: 190.8 kB / 458.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.7332, allocations: 11.25 kB / 458.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.7336, allocations: 22.88 kB / 458.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.7337, allocations: 30.83 kB / 458.9 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.7338, allocations: 8 kB / 458.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001065/0.7349, allocations: 0.567 MB / 459.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7349, allocations: 0 / 459.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001179/0.7361, allocations: 279.1 kB / 459.7 MB, free: 10.08 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003347/0.7394, allocations: 1.514 MB / 461.3 MB, free: 8.672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.7412, allocations: 0.605 MB / 461.9 MB, free: 8.129 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7412, allocations: 0.5625 kB / 461.9 MB, free: 8.129 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.7423, allocations: 458.8 kB / 462.3 MB, free: 7.703 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.743, allocations: 99.58 kB / 462.4 MB, free: 7.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.7573, allocations: 7.044 MB / 469.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/0.758, allocations: 0.9758 MB / 470.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/0.7587, allocations: 335.3 kB / 470.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.884e-06/0.7587, allocations: 0 / 470.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.979/3.738, allocations: 21.29 MB / 492.1 MB, free: 10.06 MB / 378.7 MB