Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.INV3S.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 12 kB / 263.8 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08462, allocations: 44.5 MB / 308.3 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001897/0.08656, allocations: 1.187 MB / 309.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.0887, allocations: 0.8486 MB / 310.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.08881, allocations: 0 / 310.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.61e-05/0.0889, allocations: 7.922 kB / 310.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.086e-05/0.089, allocations: 15.97 kB / 310.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.08927, allocations: 39.83 kB / 310.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.08941, allocations: 67.92 kB / 310.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.08953, allocations: 31.86 kB / 310.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004716/0.09001, allocations: 291.5 kB / 310.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.09017, allocations: 67.83 kB / 310.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.09023, allocations: 4 kB / 310.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.315e-05/0.09028, allocations: 4 kB / 310.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.09039, allocations: 67.75 kB / 311 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.614e-05/0.0905, allocations: 73.52 kB / 311 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.09087, allocations: 279.3 kB / 311.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.929e-06/0.09089, allocations: 4 kB / 311.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.878e-06/0.0909, allocations: 0 / 311.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.09092, allocations: 0 / 311.3 MB, free: 14.03 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008262/0.09176, allocations: 0.6646 MB / 312 MB, free: 13.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.09181, allocations: 8.031 kB / 312 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.828e-05/0.09191, allocations: 39.58 kB / 312 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.09227, allocations: 249.4 kB / 312.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.09232, allocations: 12 kB / 312.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.09236, allocations: 4 kB / 312.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.09275, allocations: 125.6 kB / 312.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.133e-06/0.09278, allocations: 0 / 312.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.09281, allocations: 4 kB / 312.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-06/0.09283, allocations: 0 / 312.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.09304, allocations: 63.89 kB / 312.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008481/0.0939, allocations: 460.5 kB / 312.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.0942, allocations: 106.4 kB / 313 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.09423, allocations: 0 / 313 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004313/0.09467, allocations: 202.9 kB / 313.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.593e-06/0.09469, allocations: 0 / 313.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001213/0.09592, allocations: 0.6153 MB / 313.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.09607, allocations: 170.2 kB / 314 MB, free: 11.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009204/0.09701, allocations: 0.513 MB / 314.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.09707, allocations: 33.7 kB / 314.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.0972, allocations: 167.5 kB / 314.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.09726, allocations: 27.7 kB / 314.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.0973, allocations: 4 kB / 314.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.09748, allocations: 318.8 kB / 315.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.09769, allocations: 55.97 kB / 315.1 MB, free: 9.898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.0979, allocations: 73.62 kB / 315.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.0982, allocations: 179 kB / 315.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.596e-06/0.09822, allocations: 0 / 315.4 MB, free: 9.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007915/0.09902, allocations: 368.4 kB / 315.7 MB, free: 9.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.09917, allocations: 126.8 kB / 315.8 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.202e-06/0.0992, allocations: 0 / 315.8 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.09923, allocations: 7.922 kB / 315.9 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.798e-05/0.09926, allocations: 7.938 kB / 315.9 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.09928, allocations: 8.062 kB / 315.9 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.09953, allocations: 19.88 kB / 315.9 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/0.09963, allocations: 47.92 kB / 315.9 MB, free: 8.992 MB / 266.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.0005189/0.1002, allocations: 358.2 kB / 316.3 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.1003, allocations: 35.62 kB / 316.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.1004, allocations: 63.16 kB / 316.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-06/0.1004, allocations: 0 / 316.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.14e-06/0.1004, allocations: 3.953 kB / 316.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-06/0.1005, allocations: 0 / 316.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.1019, allocations: 0.8057 MB / 317.2 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.687e-06/0.1019, allocations: 0 / 317.2 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.102, allocations: 4.234 kB / 317.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.979e-06/0.102, allocations: 7.938 kB / 317.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.102, allocations: 15.98 kB / 317.2 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.089e-06/0.102, allocations: 3.953 kB / 317.2 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.981e-06/0.1021, allocations: 0 / 317.2 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009424/0.103, allocations: 0.5291 MB / 317.8 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004561/0.1035, allocations: 240.5 kB / 318 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/0.1036, allocations: 8 kB / 318 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.1038, allocations: 19.89 kB / 318 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.104, allocations: 31.92 kB / 318 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.4e-05/0.1041, allocations: 36 kB / 318.1 MB, free: 6.664 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007105/0.1048, allocations: 394.8 kB / 318.5 MB, free: 6.277 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.87e-07/0.1048, allocations: 0 / 318.5 MB, free: 6.277 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004162/0.1052, allocations: 44 kB / 318.5 MB, free: 6.234 MB / 266.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.0001845/0.1054, allocations: 123 kB / 318.6 MB, free: 6.105 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007517/0.1062, allocations: 433.5 kB / 319.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1062, allocations: 0 / 319.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000469/0.1067, allocations: 381.6 kB / 319.4 MB, free: 5.211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.1073, allocations: 99.88 kB / 319.5 MB, free: 5.117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.109, allocations: 0.7834 MB / 320.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.1096, allocations: 0.8103 MB / 321.1 MB, free: 3.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.1097, allocations: 7.438 kB / 321.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of SimCode: time 4.907e-06/0.1097, allocations: 4 kB / 321.1 MB, free: 3.457 MB / 266.7 MB Notification: Performance of Templates: time 0.005631/0.1153, allocations: 2.528 MB / 323.7 MB, free: 0.9102 MB / 266.7 MB