Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.CascodeCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.019/2.019, allocations: 194.8 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005223/0.0005224, allocations: 11.94 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3569, allocations: 44.5 MB / 308.6 MB, free: 12.57 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.5057, allocations: 85.5 MB / 394.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.5061, allocations: 71.97 kB / 394.1 MB, free: 6.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4815/0.9876, allocations: 33.97 MB / 428.1 MB, free: 86.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.9877, allocations: 0 / 428.1 MB, free: 86.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.194e-05/0.9877, allocations: 15.78 kB / 428.1 MB, free: 86.24 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0119/0.9997, allocations: 1.221 MB / 429.3 MB, free: 85.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.9997, allocations: 15.59 kB / 429.4 MB, free: 85.42 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001966/1, allocations: 63.5 kB / 429.4 MB, free: 85.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/1, allocations: 116.4 kB / 429.5 MB, free: 85.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/1.002, allocations: 0.7533 MB / 430.3 MB, free: 84.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/1.002, allocations: 19.75 kB / 430.3 MB, free: 84.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.031e-05/1.003, allocations: 22.91 kB / 430.3 MB, free: 84.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007701/1.003, allocations: 316.6 kB / 430.6 MB, free: 84.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.003, allocations: 0 / 430.6 MB, free: 84.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/1.003, allocations: 8 kB / 430.6 MB, free: 84.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/1.003, allocations: 19.42 kB / 430.7 MB, free: 84.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006186/1.004, allocations: 231.9 kB / 430.9 MB, free: 84.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/1.007, allocations: 1.211 MB / 432.1 MB, free: 84.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/1.007, allocations: 199.8 kB / 432.3 MB, free: 83.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01326/1.021, allocations: 10.71 MB / 443 MB, free: 73.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/1.021, allocations: 34.5 kB / 443 MB, free: 73.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.036e-06/1.021, allocations: 3.781 kB / 443 MB, free: 73.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.002376/1.023, allocations: 0.6367 MB / 443.7 MB, free: 73.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/1.023, allocations: 81.02 kB / 443.8 MB, free: 73.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.024, allocations: 0.683 MB / 444.4 MB, free: 73.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/1.024, allocations: 25.7 kB / 444.5 MB, free: 73.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/1.025, allocations: 437.2 kB / 444.9 MB, free: 72.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/1.025, allocations: 80.72 kB / 445 MB, free: 72.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/1.025, allocations: 8 kB / 445 MB, free: 72.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.018e-05/1.025, allocations: 321.2 kB / 445.3 MB, free: 72.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/1.025, allocations: 64.52 kB / 445.3 MB, free: 72.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/1.026, allocations: 147.9 kB / 445.5 MB, free: 72.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/1.026, allocations: 88.92 kB / 445.6 MB, free: 72.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.026, allocations: 4.031 kB / 445.6 MB, free: 72.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009859/1.027, allocations: 411 kB / 446 MB, free: 72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.027, allocations: 6.781 kB / 446 MB, free: 72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.241e-05/1.027, allocations: 13.92 kB / 446 MB, free: 72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/1.027, allocations: 137.6 kB / 446.1 MB, free: 71.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/1.028, allocations: 40.28 kB / 446.2 MB, free: 71.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007595/1.029, allocations: 0.7152 MB / 446.9 MB, free: 71.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/1.029, allocations: 28.86 kB / 446.9 MB, free: 71.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/1.029, allocations: 15.72 kB / 446.9 MB, free: 71.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003986/1.03, allocations: 199 kB / 447.1 MB, free: 71.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/1.03, allocations: 106.9 kB / 447.2 MB, free: 71.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/1.031, allocations: 423.7 kB / 447.7 MB, free: 70.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/1.031, allocations: 7.328 kB / 447.7 MB, free: 70.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.031, allocations: 0 / 447.7 MB, free: 70.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.031, allocations: 3.938 kB / 447.7 MB, free: 70.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008754/1.032, allocations: 0.5103 MB / 448.2 MB, free: 70.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.931e-05/1.032, allocations: 17.16 kB / 448.2 MB, free: 70.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/1.032, allocations: 18.33 kB / 448.2 MB, free: 70.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004362/1.033, allocations: 148 kB / 448.4 MB, free: 70.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/1.033, allocations: 8 kB / 448.4 MB, free: 70.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007135/1.034, allocations: 0.7093 MB / 449.1 MB, free: 69.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.034, allocations: 0 / 449.1 MB, free: 69.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009258/1.035, allocations: 462.3 kB / 449.5 MB, free: 69.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/1.035, allocations: 179.8 kB / 449.7 MB, free: 69.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/1.035, allocations: 7.953 kB / 449.7 MB, free: 69.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/1.035, allocations: 8 kB / 449.7 MB, free: 69.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/1.035, allocations: 11.89 kB / 449.7 MB, free: 69.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/1.036, allocations: 11.52 kB / 449.7 MB, free: 69.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009677/1.037, allocations: 0.5364 MB / 450.3 MB, free: 68.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/1.037, allocations: 0 / 450.3 MB, free: 68.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009376/1.037, allocations: 211.5 kB / 450.5 MB, free: 68.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001777/1.039, allocations: 1.221 MB / 451.7 MB, free: 67.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008215/1.04, allocations: 287.4 kB / 452 MB, free: 66.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/1.04, allocations: 8 kB / 452 MB, free: 66.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/1.041, allocations: 183 kB / 452.2 MB, free: 66.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008657/1.041, allocations: 118.4 kB / 452.3 MB, free: 66.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009183/1.051, allocations: 5.588 MB / 457.9 MB, free: 61.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/1.051, allocations: 0.9595 MB / 458.8 MB, free: 60.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000528/1.052, allocations: 92.33 kB / 458.9 MB, free: 60.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004234/1.052, allocations: 329.5 kB / 459.2 MB, free: 60.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/1.052, allocations: 0 / 459.2 MB, free: 60.01 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05949/1.112, allocations: 17.12 MB / 476.4 MB, free: 43.34 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/1.112, allocations: 217.2 kB / 476.6 MB, free: 43.09 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.29/4.402, allocations: 0 / 476.6 MB, free: 43.09 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat