Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.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.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 194.9 MB / 211.1 MB, free: 7.504 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003699, allocations: 8 kB / 264 MB, free: 2.43 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 44.51 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002019/0.2855, allocations: 1.185 MB / 309.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.2881, allocations: 0.8474 MB / 310.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.2882, allocations: 0 / 310.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.1e-05/0.2883, allocations: 3.938 kB / 310.6 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.2884, allocations: 15.97 kB / 310.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.2887, allocations: 47.83 kB / 310.7 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.2888, allocations: 67.91 kB / 310.7 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.2889, allocations: 15.98 kB / 310.7 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005224/0.2895, allocations: 295.4 kB / 311 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.2896, allocations: 71.81 kB / 311.1 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.2897, allocations: 7.938 kB / 311.1 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.2897, allocations: 4 kB / 311.1 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.2898, allocations: 63.77 kB / 311.2 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.024e-05/0.2899, allocations: 73.52 kB / 311.2 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.2903, allocations: 283.3 kB / 311.5 MB, free: 9.668 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2903, allocations: 0 / 311.5 MB, free: 9.668 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2904, allocations: 0 / 311.5 MB, free: 9.668 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.2904, allocations: 0 / 311.5 MB, free: 9.668 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008558/0.2912, allocations: 0.6653 MB / 312.2 MB, free: 8.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2913, allocations: 8.031 kB / 312.2 MB, free: 8.922 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.118e-05/0.2914, allocations: 42.5 kB / 312.2 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.2915, allocations: 39.58 kB / 312.3 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.2918, allocations: 257.4 kB / 312.5 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.2919, allocations: 8 kB / 312.5 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.2919, allocations: 8 kB / 312.5 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.2923, allocations: 121.6 kB / 312.7 MB, free: 8.398 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2924, allocations: 3.984 kB / 312.7 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.2924, allocations: 4 kB / 312.7 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2924, allocations: 0 / 312.7 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.2927, allocations: 59.91 kB / 312.7 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.2936, allocations: 468.5 kB / 313.2 MB, free: 7.824 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.2939, allocations: 94.48 kB / 313.3 MB, free: 7.723 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.2939, allocations: 0 / 313.3 MB, free: 7.723 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004498/0.2943, allocations: 202.8 kB / 313.5 MB, free: 7.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.254e-06/0.2944, allocations: 4 kB / 313.5 MB, free: 7.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001363/0.2957, allocations: 0.6232 MB / 314.1 MB, free: 6.805 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.2959, allocations: 166.2 kB / 314.3 MB, free: 6.605 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.2969, allocations: 0.5168 MB / 314.8 MB, free: 6.082 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.297, allocations: 33.7 kB / 314.8 MB, free: 6.043 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.2971, allocations: 101 kB / 314.9 MB, free: 5.941 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.2971, allocations: 23.72 kB / 314.9 MB, free: 5.918 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.2972, allocations: 4 kB / 314.9 MB, free: 5.914 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2973, allocations: 330.8 kB / 315.3 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.2975, allocations: 51.97 kB / 315.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.2978, allocations: 81.61 kB / 315.4 MB, free: 5.445 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.2981, allocations: 166.7 kB / 315.6 MB, free: 5.258 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2981, allocations: 0 / 315.6 MB, free: 5.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008844/0.299, allocations: 376.6 kB / 315.9 MB, free: 4.859 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.2991, allocations: 118.8 kB / 316 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2992, allocations: 4 kB / 316 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2992, allocations: 7.984 kB / 316.1 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.44e-05/0.2992, allocations: 0 / 316.1 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2992, allocations: 3.938 kB / 316.1 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.2995, allocations: 19.98 kB / 316.1 MB, free: 4.684 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/0.2996, allocations: 47.88 kB / 316.1 MB, free: 4.637 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005323/0.3002, allocations: 354.3 kB / 316.5 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-05/0.3002, allocations: 39.53 kB / 316.5 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.3004, allocations: 67.14 kB / 316.6 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.3005, allocations: 8 kB / 316.6 MB, free: 4.137 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3005, allocations: 8.078 kB / 316.6 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3005, allocations: 0 / 316.6 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.302, allocations: 0.8096 MB / 317.4 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.302, allocations: 112 / 317.4 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.302, allocations: 3.938 kB / 317.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.302, allocations: 3.938 kB / 317.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.3021, allocations: 23.94 kB / 317.4 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3021, allocations: 0 / 317.4 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3021, allocations: 0 / 317.4 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.3032, allocations: 0.5174 MB / 317.9 MB, free: 2.648 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/0.3037, allocations: 244.5 kB / 318.2 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.592e-05/0.3038, allocations: 12 kB / 318.2 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.3041, allocations: 15.95 kB / 318.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.3042, allocations: 23.95 kB / 318.2 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.3044, allocations: 44 kB / 318.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007567/0.3051, allocations: 390.9 kB / 318.7 MB, free: 1.914 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3052, allocations: 0 / 318.7 MB, free: 1.914 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000413/0.3056, allocations: 43.91 kB / 318.7 MB, free: 1.871 MB / 250.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001463/0.307, allocations: 1.086 MB / 319.8 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007694/0.3078, allocations: 437.5 kB / 320.2 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3079, allocations: 3.938 kB / 320.2 MB, free: 260 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.3084, allocations: 377.6 kB / 320.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.3092, allocations: 104.2 kB / 320.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.3127, allocations: 1.438 MB / 322.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.3134, allocations: 0.8219 MB / 322.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.3134, allocations: 8.656 kB / 323 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.3135, allocations: 27.42 kB / 323 MB, free: 13.36 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.3135, allocations: 0 / 323 MB, free: 13.36 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.3405, allocations: 5.14 MB / 328.1 MB, free: 8.223 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003101/0.3408, allocations: 171.8 kB / 328.3 MB, free: 7.98 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/2.713, allocations: 4 kB / 328.3 MB, free: 7.977 MB / 266.7 MB "" Variables in the reference:time,iNV3S.y Variables in the result:e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y,e_table.y0,iNV3S.enable,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.tHL,iNV3S.inertialDelaySensitive.tLH,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y0,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.nextstate,iNV3S.strength,iNV3S.tHL,iNV3S.tLH,iNV3S.x,iNV3S.y,iNV3S.yy,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y,x_table.y0