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.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_cpp_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09426/0.09468, allocations: 44.51 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4613/0.556, allocations: 85.49 MB / 394 MB, free: 14.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5564, allocations: 80 kB / 394.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1085/0.6649, allocations: 33.96 MB / 428.1 MB, free: 4.637 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6649, allocations: 7.875 kB / 428.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.665, allocations: 12.66 kB / 428.1 MB, free: 4.629 MB / 314.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.002224/0.6672, allocations: 1.22 MB / 429.3 MB, free: 3.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.6673, allocations: 11.16 kB / 429.3 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.411e-05/0.6673, allocations: 76.61 kB / 429.4 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.6675, allocations: 111.8 kB / 429.5 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.669, allocations: 0.7526 MB / 430.3 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.669, allocations: 22.91 kB / 430.3 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/0.6691, allocations: 21.62 kB / 430.3 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.6698, allocations: 311.2 kB / 430.6 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.6698, allocations: 4 kB / 430.6 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.6698, allocations: 11.06 kB / 430.6 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.6699, allocations: 11.64 kB / 430.6 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/0.6705, allocations: 239.8 kB / 430.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.6728, allocations: 1.206 MB / 432.1 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.6733, allocations: 196.7 kB / 432.3 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01532/0.6886, allocations: 10.72 MB / 443 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.6887, allocations: 38.12 kB / 443 MB, free: 7.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.635e-06/0.6887, allocations: 0 / 443 MB, free: 7.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.002325/0.6911, allocations: 0.6261 MB / 443.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.6911, allocations: 80.92 kB / 443.7 MB, free: 7.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.6924, allocations: 0.6859 MB / 444.4 MB, free: 7.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.6925, allocations: 25.7 kB / 444.4 MB, free: 7.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.6929, allocations: 417.9 kB / 444.8 MB, free: 6.809 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.231e-05/0.693, allocations: 76.2 kB / 444.9 MB, free: 6.742 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.693, allocations: 3.5 kB / 444.9 MB, free: 6.742 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6932, allocations: 329.5 kB / 445.2 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.6934, allocations: 68.58 kB / 445.3 MB, free: 6.371 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.6937, allocations: 148.6 kB / 445.5 MB, free: 6.223 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.694, allocations: 83.41 kB / 445.5 MB, free: 6.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.6941, allocations: 4 kB / 445.5 MB, free: 6.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008602/0.6949, allocations: 316.9 kB / 445.8 MB, free: 5.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.695, allocations: 8 kB / 445.9 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.811e-05/0.695, allocations: 12 kB / 445.9 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.6956, allocations: 138.6 kB / 446 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.6959, allocations: 47.78 kB / 446.1 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009255/0.6968, allocations: 0.7121 MB / 446.8 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/0.6974, allocations: 34.28 kB / 446.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.6975, allocations: 19.17 kB / 446.8 MB, free: 5.031 MB / 330.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.0004269/0.6979, allocations: 193 kB / 447 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.6981, allocations: 106.7 kB / 447.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.6995, allocations: 434.9 kB / 447.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.6996, allocations: 11.89 kB / 447.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6996, allocations: 0 / 447.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.6996, allocations: 0 / 447.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/0.7006, allocations: 0.5019 MB / 448 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.022e-05/0.7007, allocations: 12 kB / 448.1 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.7009, allocations: 15.98 kB / 448.1 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/0.7014, allocations: 135.1 kB / 448.2 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.7015, allocations: 15.38 kB / 448.2 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000925/0.7024, allocations: 0.7046 MB / 448.9 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7024, allocations: 0 / 448.9 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.7035, allocations: 473.6 kB / 449.4 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.7038, allocations: 170.7 kB / 449.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.7039, allocations: 14.14 kB / 449.6 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.7044, allocations: 15.36 kB / 449.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.7045, allocations: 14.86 kB / 449.6 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.7045, allocations: 8 kB / 449.6 MB, free: 2.559 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001082/0.7056, allocations: 0.5376 MB / 450.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7056, allocations: 3.938 kB / 450.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009432/0.7066, allocations: 217.8 kB / 450.4 MB, free: 1.934 MB / 330.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.002017/0.7086, allocations: 1.213 MB / 451.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009021/0.7095, allocations: 281.7 kB / 451.8 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7096, allocations: 0 / 451.8 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.71, allocations: 189.1 kB / 452 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008232/0.7109, allocations: 124.1 kB / 452.2 MB, free: 292 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.7218, allocations: 5.621 MB / 457.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.7225, allocations: 0.9529 MB / 458.7 MB, free: 9.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/0.7231, allocations: 326 kB / 459 MB, free: 9.906 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.7231, allocations: 0 / 459 MB, free: 9.906 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.854/3.577, allocations: 17.38 MB / 476.4 MB, free: 8.77 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat