Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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: 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.996/1.996, allocations: 194.9 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004145, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.09927, allocations: 44.5 MB / 309 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4104/0.5098, allocations: 77.66 MB / 386.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.5101, allocations: 73.3 kB / 386.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0859/0.596, allocations: 27.85 MB / 414.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5961, allocations: 3.938 kB / 414.6 MB, free: 9.867 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.5961, allocations: 3.875 kB / 414.6 MB, free: 9.867 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007737/0.5969, allocations: 0.6688 MB / 415.2 MB, free: 9.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.597, allocations: 7.625 kB / 415.2 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.696e-05/0.5971, allocations: 34.72 kB / 415.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.5974, allocations: 268.8 kB / 415.5 MB, free: 8.961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.5975, allocations: 7.375 kB / 415.5 MB, free: 8.961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.5975, allocations: 11.73 kB / 415.5 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.598, allocations: 150 kB / 415.7 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.598, allocations: 0 / 415.7 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.598, allocations: 11.56 kB / 415.7 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5981, allocations: 0 / 415.7 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.5983, allocations: 71.58 kB / 415.8 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008816/0.5992, allocations: 476 kB / 416.2 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.5995, allocations: 102 kB / 416.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.5995, allocations: 4.047 kB / 416.3 MB, free: 8.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004121/0.5999, allocations: 239.1 kB / 416.6 MB, free: 8.309 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.346e-06/0.6, allocations: 4 kB / 416.6 MB, free: 8.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001353/0.6013, allocations: 0.6765 MB / 417.3 MB, free: 7.887 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.6014, allocations: 165.4 kB / 417.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008798/0.6023, allocations: 0.5203 MB / 417.9 MB, free: 7.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.186e-05/0.6024, allocations: 36.64 kB / 418 MB, free: 7.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.6024, allocations: 163.2 kB / 418.1 MB, free: 7.242 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/0.6025, allocations: 26.17 kB / 418.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.6026, allocations: 3.875 kB / 418.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.6027, allocations: 325.3 kB / 418.5 MB, free: 6.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.6029, allocations: 63.77 kB / 418.5 MB, free: 6.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.6031, allocations: 81.17 kB / 418.6 MB, free: 6.867 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.6034, allocations: 171.1 kB / 418.8 MB, free: 6.734 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6034, allocations: 3.938 kB / 418.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000915/0.6044, allocations: 434.2 kB / 419.2 MB, free: 6.527 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/0.6045, allocations: 129.9 kB / 419.3 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.6045, allocations: 0 / 419.3 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.6045, allocations: 4.031 kB / 419.3 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.508e-05/0.6045, allocations: 0 / 419.3 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.6046, allocations: 3.906 kB / 419.4 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.6048, allocations: 15.64 kB / 419.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.605, allocations: 120.4 kB / 419.5 MB, free: 6.367 MB / 314.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.0004896/0.6055, allocations: 368.5 kB / 419.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.822e-05/0.6056, allocations: 39 kB / 419.9 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.6057, allocations: 61.59 kB / 419.9 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6057, allocations: 4 kB / 419.9 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6058, allocations: 0 / 419.9 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6058, allocations: 0 / 419.9 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.6071, allocations: 0.8727 MB / 420.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6072, allocations: 0 / 420.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/0.6072, allocations: 3.844 kB / 420.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.6072, allocations: 0 / 420.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/0.6073, allocations: 22.3 kB / 420.8 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.6073, allocations: 3.984 kB / 420.9 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6073, allocations: 4 kB / 420.9 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.6083, allocations: 0.5863 MB / 421.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.6089, allocations: 248.7 kB / 421.7 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.609, allocations: 9.656 kB / 421.7 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.6093, allocations: 15.73 kB / 421.7 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.6094, allocations: 37.5 kB / 421.7 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.6096, allocations: 122.2 kB / 421.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006513/0.6103, allocations: 392.7 kB / 422.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.203e-06/0.6103, allocations: 0 / 422.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004153/0.6107, allocations: 46 kB / 422.3 MB, free: 4.719 MB / 314.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.000172/0.6109, allocations: 121.7 kB / 422.4 MB, free: 4.621 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007311/0.6116, allocations: 447 kB / 422.8 MB, free: 4.344 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6117, allocations: 0 / 422.8 MB, free: 4.344 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004336/0.6121, allocations: 394.9 kB / 423.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008256/0.613, allocations: 107.2 kB / 423.3 MB, free: 4.023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.6145, allocations: 0.7976 MB / 424.1 MB, free: 3.535 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.6149, allocations: 0.8121 MB / 424.9 MB, free: 2.766 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.615, allocations: 11.09 kB / 425 MB, free: 2.758 MB / 314.7 MB Notification: Performance of SimCode: time 1.573e-06/0.615, allocations: 0 / 425 MB, free: 2.758 MB / 314.7 MB Notification: Performance of Templates: time 0.007585/0.6226, allocations: 3.853 MB / 428.8 MB, free: 0.8164 MB / 314.7 MB