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.CascodeCircuit.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.CascodeCircuit,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.657/1.657, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005233/0.0005234, allocations: 8 kB / 233.3 MB, free: 0.8281 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09826/0.09882, allocations: 38.76 MB / 272.1 MB, free: 9.984 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.4457, allocations: 80.55 MB / 352.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.446, allocations: 75.95 kB / 352.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1231/0.5692, allocations: 34.09 MB / 386.8 MB, free: 16 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5692, allocations: 0 / 386.8 MB, free: 16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.923e-05/0.5693, allocations: 16.19 kB / 386.8 MB, free: 15.98 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002765/0.572, allocations: 1.225 MB / 388.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.5721, allocations: 8.031 kB / 388.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.89e-05/0.5722, allocations: 66.53 kB / 388.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.5724, allocations: 110.7 kB / 388.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.5741, allocations: 0.7507 MB / 389 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.5742, allocations: 20.56 kB / 389 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.5743, allocations: 31.84 kB / 389 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.5751, allocations: 315.7 kB / 389.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.5751, allocations: 0 / 389.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.5752, allocations: 8 kB / 389.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.5752, allocations: 8 kB / 389.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000679/0.5759, allocations: 238.1 kB / 389.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.5786, allocations: 1.211 MB / 390.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.5792, allocations: 203.1 kB / 391 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01669/0.5959, allocations: 10.71 MB / 401.7 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.596, allocations: 38.56 kB / 401.8 MB, free: 15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.685e-06/0.596, allocations: 0 / 401.8 MB, free: 15 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.002629/0.5987, allocations: 0.6362 MB / 402.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.5988, allocations: 85.05 kB / 402.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.6002, allocations: 0.6799 MB / 403.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.964e-05/0.6003, allocations: 37.69 kB / 403.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/0.6007, allocations: 410.7 kB / 403.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.6008, allocations: 78.84 kB / 403.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.6009, allocations: 4 kB / 403.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.601, allocations: 326.8 kB / 404 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.6013, allocations: 76.14 kB / 404.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.6016, allocations: 145.9 kB / 404.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.6019, allocations: 88.75 kB / 404.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6019, allocations: 3.938 kB / 404.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008896/0.6028, allocations: 330.4 kB / 404.6 MB, free: 12.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.6029, allocations: 8 kB / 404.6 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.761e-05/0.6029, allocations: 12 kB / 404.6 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005628/0.6035, allocations: 142.8 kB / 404.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.6038, allocations: 39.91 kB / 404.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009603/0.6048, allocations: 0.7074 MB / 405.5 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/0.6053, allocations: 31.73 kB / 405.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/0.6054, allocations: 12 kB / 405.6 MB, free: 11.04 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.0004633/0.6059, allocations: 197.7 kB / 405.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.6061, allocations: 98.88 kB / 405.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.6075, allocations: 427.6 kB / 406.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.6076, allocations: 7.984 kB / 406.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.6076, allocations: 0 / 406.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.6076, allocations: 3.984 kB / 406.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009496/0.6086, allocations: 0.5073 MB / 406.8 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-05/0.6086, allocations: 15.98 kB / 406.8 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.6088, allocations: 15.98 kB / 406.8 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/0.6093, allocations: 139.2 kB / 407 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.6094, allocations: 12 kB / 407 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009644/0.6103, allocations: 0.7083 MB / 407.7 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6104, allocations: 0 / 407.7 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.6114, allocations: 472.1 kB / 408.1 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.6117, allocations: 175.8 kB / 408.3 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.6119, allocations: 8 kB / 408.3 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.6123, allocations: 11.98 kB / 408.3 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.6124, allocations: 19.94 kB / 408.4 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.6125, allocations: 8 kB / 408.4 MB, free: 8.105 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001144/0.6136, allocations: 0.5383 MB / 408.9 MB, free: 7.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6136, allocations: 0 / 408.9 MB, free: 7.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009643/0.6146, allocations: 211.8 kB / 409.1 MB, free: 7.352 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.002081/0.6167, allocations: 1.223 MB / 410.3 MB, free: 6.098 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009272/0.6176, allocations: 271.2 kB / 410.6 MB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6177, allocations: 0 / 410.6 MB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004751/0.6182, allocations: 183.8 kB / 410.8 MB, free: 5.629 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008807/0.6191, allocations: 128.3 kB / 410.9 MB, free: 5.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.224/0.843, allocations: 5.623 MB / 416.5 MB, free: 95.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.8436, allocations: 0.9593 MB / 417.5 MB, free: 95.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006355/0.8443, allocations: 320.8 kB / 417.8 MB, free: 95.26 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8443, allocations: 0 / 417.8 MB, free: 95.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.865/3.71, allocations: 17.38 MB / 435.2 MB, free: 94.66 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat