Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Electrical_Spice3_Examples_CascodeCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.761/1.761, allocations: 171.1 MB / 186.1 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 12 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08078/0.08119, allocations: 38.78 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.4335, allocations: 80.55 MB / 352.7 MB, free: 8.469 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.4339, allocations: 77.27 kB / 352.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1245/0.5585, allocations: 34.09 MB / 386.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.159e-06/0.5585, allocations: 0 / 386.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.5586, allocations: 15.94 kB / 386.9 MB, free: 11.1 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.002806/0.5614, allocations: 1.217 MB / 388.1 MB, free: 9.879 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.5614, allocations: 8.031 kB / 388.1 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.5616, allocations: 65.53 kB / 388.2 MB, free: 9.816 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.5618, allocations: 118.7 kB / 388.3 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.5635, allocations: 0.7518 MB / 389 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.5636, allocations: 23.44 kB / 389 MB, free: 8.992 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.803e-05/0.5637, allocations: 30.22 kB / 389.1 MB, free: 8.973 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/0.5645, allocations: 301.7 kB / 389.4 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.5645, allocations: 4 kB / 389.4 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.5646, allocations: 14.5 kB / 389.4 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.5646, allocations: 8 kB / 389.4 MB, free: 8.734 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.5653, allocations: 234.9 kB / 389.6 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.5681, allocations: 1.216 MB / 390.8 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/0.5687, allocations: 204 kB / 391 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/0.5849, allocations: 10.71 MB / 401.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.585, allocations: 30.56 kB / 401.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.737e-06/0.585, allocations: 0 / 401.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.002568/0.5876, allocations: 0.6386 MB / 402.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.5877, allocations: 85.09 kB / 402.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.5891, allocations: 0.6839 MB / 403.2 MB, free: 9.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.5891, allocations: 29.7 kB / 403.2 MB, free: 9.875 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005417/0.5897, allocations: 432.7 kB / 403.6 MB, free: 9.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.5898, allocations: 86.77 kB / 403.7 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.5898, allocations: 4 kB / 403.7 MB, free: 9.359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.59, allocations: 318 kB / 404 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.5902, allocations: 72.14 kB / 404.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.5906, allocations: 145.9 kB / 404.2 MB, free: 8.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.5909, allocations: 92.22 kB / 404.3 MB, free: 8.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.5909, allocations: 4 kB / 404.3 MB, free: 8.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001085/0.592, allocations: 417.4 kB / 404.7 MB, free: 8.289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.592, allocations: 4 kB / 404.8 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-05/0.5921, allocations: 19.98 kB / 404.8 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/0.5927, allocations: 134.8 kB / 404.9 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.593, allocations: 39.91 kB / 404.9 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.594, allocations: 0.7045 MB / 405.6 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.5946, allocations: 27.81 kB / 405.7 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.5947, allocations: 23.98 kB / 405.7 MB, free: 7.312 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.0004608/0.5951, allocations: 197.7 kB / 405.9 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.5953, allocations: 102.8 kB / 406 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.5968, allocations: 427.6 kB / 406.4 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5968, allocations: 0 / 406.4 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5969, allocations: 4 kB / 406.4 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5969, allocations: 4 kB / 406.4 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.5979, allocations: 0.5112 MB / 406.9 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-05/0.598, allocations: 12 kB / 406.9 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.5982, allocations: 19.97 kB / 407 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000485/0.5987, allocations: 142.8 kB / 407.1 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.5987, allocations: 11.98 kB / 407.1 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008847/0.5996, allocations: 0.7033 MB / 407.8 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5996, allocations: 0 / 407.8 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.6007, allocations: 468.1 kB / 408.3 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.601, allocations: 171.9 kB / 408.4 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.6011, allocations: 7.984 kB / 408.4 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/0.6016, allocations: 8 kB / 408.5 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.6017, allocations: 23.94 kB / 408.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.6018, allocations: 12 kB / 408.5 MB, free: 4.387 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001147/0.6029, allocations: 0.5383 MB / 409 MB, free: 3.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6029, allocations: 0 / 409 MB, free: 3.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009481/0.6039, allocations: 211.7 kB / 409.2 MB, free: 3.633 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.002121/0.606, allocations: 1.227 MB / 410.5 MB, free: 2.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009159/0.607, allocations: 275.4 kB / 410.7 MB, free: 2.094 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.607, allocations: 0 / 410.7 MB, free: 2.094 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.6075, allocations: 179.3 kB / 410.9 MB, free: 1.906 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008632/0.6084, allocations: 132.7 kB / 411 MB, free: 1.773 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.6194, allocations: 5.587 MB / 416.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.6201, allocations: 0.9607 MB / 417.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005768/0.6207, allocations: 98.02 kB / 417.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/0.6213, allocations: 319.3 kB / 418 MB, free: 10.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.502e-06/0.6213, allocations: 4 kB / 418 MB, free: 10.55 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05793/0.6793, allocations: 17.11 MB / 435.1 MB, free: 9.48 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003836/0.6797, allocations: 220.9 kB / 435.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.253/3.932, allocations: 0 / 435.3 MB, free: 9.227 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit_res.mat does not exist to compare? outputFormat=mat