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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.716/1.716, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005798/0.00058, allocations: 8 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08671/0.08733, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3421/0.4295, allocations: 72.33 MB / 344.5 MB, free: 480 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.4298, allocations: 69.02 kB / 344.5 MB, free: 440 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09883/0.5287, allocations: 28.28 MB / 372.8 MB, free: 9.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.5288, allocations: 4 kB / 372.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.5288, allocations: 4 kB / 372.8 MB, free: 9.09 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.0009019/0.5297, allocations: 0.6793 MB / 373.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.5298, allocations: 8.031 kB / 373.5 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.817e-05/0.5298, allocations: 37.81 kB / 373.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.682e-05/0.5299, allocations: 39.53 kB / 373.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.5304, allocations: 261.9 kB / 373.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.5304, allocations: 4 kB / 373.8 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.5305, allocations: 10.56 kB / 373.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/0.5309, allocations: 157.3 kB / 374 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.531, allocations: 0 / 374 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.531, allocations: 4 kB / 374 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.531, allocations: 4 kB / 374 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.5313, allocations: 64.59 kB / 374.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.5323, allocations: 477.5 kB / 374.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.5326, allocations: 98.66 kB / 374.6 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.5327, allocations: 10.94 kB / 374.6 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004565/0.5331, allocations: 229.8 kB / 374.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/0.5331, allocations: 0 / 374.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001447/0.5346, allocations: 0.6512 MB / 375.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.5347, allocations: 173.5 kB / 375.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.5357, allocations: 465.8 kB / 376.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.5357, allocations: 33.02 kB / 376.2 MB, free: 5.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.5358, allocations: 99.19 kB / 376.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/0.5359, allocations: 26.84 kB / 376.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.5359, allocations: 0 / 376.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5361, allocations: 326.3 kB / 376.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.5363, allocations: 63.39 kB / 376.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.5366, allocations: 84.05 kB / 376.8 MB, free: 5.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.5369, allocations: 169.7 kB / 376.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.5369, allocations: 3.953 kB / 376.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009988/0.5379, allocations: 421.8 kB / 377.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.5381, allocations: 123.5 kB / 377.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5381, allocations: 128 / 377.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.5381, allocations: 8 kB / 377.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.814e-05/0.5382, allocations: 112 / 377.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5382, allocations: 7.922 kB / 377.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.5384, allocations: 19.94 kB / 377.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.5386, allocations: 119.8 kB / 377.6 MB, free: 4.332 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.0005596/0.5392, allocations: 360 kB / 378 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.5393, allocations: 39.58 kB / 378 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.5395, allocations: 63.08 kB / 378.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.5395, allocations: 4 kB / 378.1 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5395, allocations: 0 / 378.1 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5395, allocations: 0 / 378.1 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.5411, allocations: 0.8515 MB / 378.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5411, allocations: 3.938 kB / 378.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-06/0.5412, allocations: 0 / 378.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5412, allocations: 0 / 378.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/0.5412, allocations: 19.98 kB / 378.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5412, allocations: 0 / 378.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5413, allocations: 3.984 kB / 379 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.5424, allocations: 0.5709 MB / 379.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005456/0.5429, allocations: 254 kB / 379.8 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.5431, allocations: 7.75 kB / 379.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.5433, allocations: 15.98 kB / 379.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.5435, allocations: 31.72 kB / 379.8 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/0.5437, allocations: 115.8 kB / 379.9 MB, free: 2.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007786/0.5445, allocations: 399.5 kB / 380.3 MB, free: 1.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5445, allocations: 0 / 380.3 MB, free: 1.777 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004285/0.545, allocations: 40 kB / 380.4 MB, free: 1.738 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.001586/0.5466, allocations: 1.122 MB / 381.5 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007867/0.5474, allocations: 445.5 kB / 381.9 MB, free: 252 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5474, allocations: 0 / 381.9 MB, free: 252 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005026/0.5479, allocations: 381.9 kB / 382.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/0.5487, allocations: 102.7 kB / 382.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.5523, allocations: 1.634 MB / 384 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.5529, allocations: 0.8084 MB / 384.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.411e-05/0.553, allocations: 16.58 kB / 384.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.5531, allocations: 25.88 kB / 384.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5531, allocations: 0 / 384.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.5839, allocations: 6.891 MB / 391.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003382/0.5843, allocations: 179.3 kB / 391.9 MB, free: 6.262 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.118, allocations: 0 / 391.9 MB, free: 6.262 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat