Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.000365, allocations: 8 kB / 233.8 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0843/0.08469, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.4521, allocations: 72.34 MB / 345 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.4524, allocations: 72.09 kB / 345 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1024/0.5548, allocations: 28.29 MB / 373.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5548, allocations: 0 / 373.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.5549, allocations: 4 kB / 373.3 MB, free: 9.602 MB / 298.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.0009879/0.5559, allocations: 0.6693 MB / 374 MB, free: 8.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.5559, allocations: 8.031 kB / 374 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.5561, allocations: 39.53 kB / 374 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.5565, allocations: 259.8 kB / 374.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.5566, allocations: 4 kB / 374.3 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.5567, allocations: 15.94 kB / 374.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.5572, allocations: 153.9 kB / 374.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5572, allocations: 0 / 374.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.5572, allocations: 7.5 kB / 374.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.5573, allocations: 3.984 kB / 374.5 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.5575, allocations: 63.72 kB / 374.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.5587, allocations: 478.8 kB / 375 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.559, allocations: 102.3 kB / 375.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.559, allocations: 0 / 375.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004885/0.5595, allocations: 225.7 kB / 375.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.254e-06/0.5595, allocations: 0 / 375.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001598/0.5612, allocations: 0.6856 MB / 376 MB, free: 6.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.5613, allocations: 170.2 kB / 376.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.5625, allocations: 0.5113 MB / 376.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.895e-05/0.5626, allocations: 29.7 kB / 376.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.5627, allocations: 103.2 kB / 376.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.59e-05/0.5628, allocations: 23.59 kB / 376.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.5629, allocations: 3.938 kB / 376.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.563, allocations: 324.9 kB / 377.2 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.5633, allocations: 64.2 kB / 377.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.5636, allocations: 85.67 kB / 377.3 MB, free: 5.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.564, allocations: 175.2 kB / 377.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.564, allocations: 7.891 kB / 377.5 MB, free: 5.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001079/0.5651, allocations: 441 kB / 377.9 MB, free: 5.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.5652, allocations: 122.2 kB / 378 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.5652, allocations: 0 / 378 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.5653, allocations: 4 kB / 378 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-05/0.5653, allocations: 0 / 378 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5653, allocations: 4.031 kB / 378 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.5656, allocations: 22.64 kB / 378.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.5658, allocations: 119.9 kB / 378.2 MB, free: 4.805 MB / 298.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.0006386/0.5665, allocations: 365.8 kB / 378.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5666, allocations: 43.56 kB / 378.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.5668, allocations: 62.16 kB / 378.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.5668, allocations: 3.984 kB / 378.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.5668, allocations: 4 kB / 378.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.5668, allocations: 4 kB / 378.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.5685, allocations: 0.862 MB / 379.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.5686, allocations: 0 / 379.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.43e-05/0.5686, allocations: 0 / 379.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.5686, allocations: 0 / 379.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.5687, allocations: 27.47 kB / 379.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.5687, allocations: 3.984 kB / 379.5 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5687, allocations: 3.938 kB / 379.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.57, allocations: 0.5983 MB / 380.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006173/0.5707, allocations: 248.9 kB / 380.4 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.5708, allocations: 7.812 kB / 380.4 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.5711, allocations: 19.89 kB / 380.4 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.5712, allocations: 31.47 kB / 380.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/0.5715, allocations: 111.9 kB / 380.6 MB, free: 2.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008468/0.5723, allocations: 390.9 kB / 380.9 MB, free: 2.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5723, allocations: 0 / 380.9 MB, free: 2.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004714/0.5728, allocations: 51.69 kB / 381 MB, free: 2.148 MB / 298.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.0002396/0.5731, allocations: 114.9 kB / 381.1 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000907/0.574, allocations: 457.1 kB / 381.5 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.574, allocations: 0 / 381.5 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.5746, allocations: 386.2 kB / 381.9 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008424/0.5754, allocations: 105.4 kB / 382 MB, free: 1.191 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.5773, allocations: 0.7426 MB / 382.8 MB, free: 492 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.578, allocations: 0.8182 MB / 383.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000116/0.5781, allocations: 5.219 kB / 383.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.5781, allocations: 11.44 kB / 383.6 MB, free: 15.63 MB / 314.7 MB Notification: Performance of SimCode: time 1.482e-06/0.5782, allocations: 0 / 383.6 MB, free: 15.63 MB / 314.7 MB Notification: Performance of Templates: time 0.01548/0.5936, allocations: 5.611 MB / 389.2 MB, free: 9.957 MB / 314.7 MB