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.061/2.061, allocations: 194.9 MB / 211.1 MB, free: 8.539 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003636, allocations: 8 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3073, allocations: 44.51 MB / 308.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.006488/0.3138, allocations: 4.171 MB / 312.7 MB, free: 8.562 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.3272, allocations: 7.439 MB / 320.2 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007434/0.328, allocations: 23.81 kB / 320.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.3292, allocations: 310.5 kB / 320.5 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.3322, allocations: 0.7323 MB / 321.2 MB, free: 40 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.3343, allocations: 466.7 kB / 321.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004077/0.3384, allocations: 1.474 MB / 323.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.3388, allocations: 151 kB / 323.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004284/0.3392, allocations: 246.8 kB / 323.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.3397, allocations: 282.3 kB / 323.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.3398, allocations: 20 kB / 323.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.3419, allocations: 0.5426 MB / 324.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.3421, allocations: 83.44 kB / 324.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.3423, allocations: 205.1 kB / 324.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.3437, allocations: 0.8413 MB / 325.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3437, allocations: 0 / 325.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3438, allocations: 0 / 325.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.3438, allocations: 0 / 325.5 MB, free: 11.73 MB / 266.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.002447/0.3463, allocations: 1.151 MB / 326.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.3463, allocations: 12.03 kB / 326.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.3464, allocations: 62.53 kB / 326.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.3466, allocations: 114.6 kB / 326.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.3485, allocations: 0.8129 MB / 327.7 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.3486, allocations: 16.56 kB / 327.7 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-05/0.3487, allocations: 28 kB / 327.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007807/0.3495, allocations: 311.7 kB / 328 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3495, allocations: 0 / 328 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.3495, allocations: 8 kB / 328 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.3496, allocations: 11.98 kB / 328 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000698/0.3503, allocations: 234.1 kB / 328.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002846/0.3532, allocations: 1.194 MB / 329.4 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/0.3538, allocations: 206.5 kB / 329.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0149/0.3687, allocations: 8.624 MB / 338.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.3688, allocations: 34.56 kB / 338.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 3.176e-06/0.3688, allocations: 0 / 338.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.00265/0.3715, allocations: 0.6543 MB / 339 MB, free: 12.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.3715, allocations: 81.11 kB / 339 MB, free: 12.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.373, allocations: 0.787 MB / 339.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.3731, allocations: 33.7 kB / 339.9 MB, free: 11.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/0.3736, allocations: 432.7 kB / 340.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.3737, allocations: 86.75 kB / 340.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.3738, allocations: 4 kB / 340.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3739, allocations: 322 kB / 340.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.3742, allocations: 64.2 kB / 340.7 MB, free: 10.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.3745, allocations: 138.4 kB / 340.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.3748, allocations: 96.56 kB / 341 MB, free: 10.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3748, allocations: 0 / 341 MB, free: 10.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001087/0.376, allocations: 408.9 kB / 341.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.376, allocations: 8 kB / 341.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/0.3761, allocations: 15.95 kB / 341.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/0.3766, allocations: 145 kB / 341.5 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.377, allocations: 35.97 kB / 341.6 MB, free: 9.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.378, allocations: 0.7085 MB / 342.3 MB, free: 9.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.3784, allocations: 27.69 kB / 342.3 MB, free: 9.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.3785, allocations: 12 kB / 342.3 MB, free: 9.145 MB / 282.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.0004114/0.3789, allocations: 197.7 kB / 342.5 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.3791, allocations: 102.8 kB / 342.6 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.3806, allocations: 411.5 kB / 343 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.3806, allocations: 7.984 kB / 343 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3806, allocations: 4 kB / 343 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3807, allocations: 0 / 343 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3817, allocations: 0.5189 MB / 343.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.114e-05/0.3818, allocations: 12 kB / 343.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.382, allocations: 27.91 kB / 343.6 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004976/0.3825, allocations: 133.7 kB / 343.7 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.3826, allocations: 11.98 kB / 343.7 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009242/0.3835, allocations: 0.6911 MB / 344.4 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.3835, allocations: 4 kB / 344.4 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.3846, allocations: 460.1 kB / 344.9 MB, free: 6.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.3849, allocations: 175.8 kB / 345 MB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.3851, allocations: 4 kB / 345.1 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.3855, allocations: 11.98 kB / 345.1 MB, free: 6.266 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.3856, allocations: 11.98 kB / 345.1 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.3856, allocations: 8 kB / 345.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001076/0.3867, allocations: 0.5383 MB / 345.6 MB, free: 5.699 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3867, allocations: 0 / 345.6 MB, free: 5.699 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008688/0.3876, allocations: 191.8 kB / 345.8 MB, free: 5.512 MB / 282.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.002001/0.3896, allocations: 1.165 MB / 347 MB, free: 4.316 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.3907, allocations: 289.4 kB / 347.3 MB, free: 4.023 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3907, allocations: 0 / 347.3 MB, free: 4.023 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.3912, allocations: 187.8 kB / 347.4 MB, free: 3.828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009347/0.3921, allocations: 128.3 kB / 347.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.4041, allocations: 4.24 MB / 351.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.4048, allocations: 0.9605 MB / 352.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006526/0.4055, allocations: 106.7 kB / 352.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005318/0.406, allocations: 315.3 kB / 353.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of SimCode: time 1.332e-06/0.406, allocations: 4 kB / 353.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06666/0.4727, allocations: 16.6 MB / 369.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.473, allocations: 209.3 kB / 370 MB, free: 12.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.316/3.789, allocations: 0 / 370 MB, free: 12.98 MB / 314.7 MB