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 2.136/2.136, allocations: 194.9 MB / 211.1 MB, free: 7.578 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005187/0.0005191, allocations: 8 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3623, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.499, allocations: 77.68 MB / 386.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.4993, allocations: 67.97 kB / 386.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09974/0.5991, allocations: 27.85 MB / 414.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5991, allocations: 3.938 kB / 414.2 MB, free: 2.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.5992, allocations: 7.938 kB / 414.2 MB, free: 2.977 MB / 346.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.000952/0.6001, allocations: 0.6762 MB / 414.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.6002, allocations: 12.03 kB / 414.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.702e-05/0.6003, allocations: 42.55 kB / 414.9 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.6004, allocations: 35.62 kB / 414.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.6008, allocations: 261.4 kB / 415.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.6009, allocations: 11.94 kB / 415.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.6009, allocations: 4 kB / 415.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.6014, allocations: 149.5 kB / 415.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.6015, allocations: 0 / 415.4 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-05/0.6015, allocations: 8 kB / 415.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6015, allocations: 0 / 415.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.6018, allocations: 63.97 kB / 415.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.6029, allocations: 484.4 kB / 415.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.6032, allocations: 102.5 kB / 416 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.6033, allocations: 4 kB / 416 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000485/0.6038, allocations: 230.7 kB / 416.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.6038, allocations: 0 / 416.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.2632/0.867, allocations: 0.6579 MB / 416.9 MB, free: 93.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.8671, allocations: 166.1 kB / 417 MB, free: 93.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.8682, allocations: 467.9 kB / 417.5 MB, free: 92.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.968e-05/0.8683, allocations: 31.27 kB / 417.5 MB, free: 92.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.8683, allocations: 96.91 kB / 417.6 MB, free: 92.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.8684, allocations: 29.16 kB / 417.7 MB, free: 92.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.8685, allocations: 4.531 kB / 417.7 MB, free: 92.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.668e-05/0.8686, allocations: 325.3 kB / 418 MB, free: 92.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.8689, allocations: 62.03 kB / 418 MB, free: 92.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.8692, allocations: 88.19 kB / 418.1 MB, free: 92.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.8695, allocations: 171.6 kB / 418.3 MB, free: 92.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.8696, allocations: 0 / 418.3 MB, free: 92.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001114/0.8707, allocations: 422 kB / 418.7 MB, free: 92.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.68e-05/0.8708, allocations: 121.7 kB / 418.8 MB, free: 92.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.8708, allocations: 1.375 kB / 418.8 MB, free: 92.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.8709, allocations: 2.453 kB / 418.8 MB, free: 92.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.682e-05/0.8709, allocations: 5.219 kB / 418.8 MB, free: 92.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.8709, allocations: 1.5 kB / 418.8 MB, free: 92.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.8712, allocations: 19.16 kB / 418.9 MB, free: 92.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.8714, allocations: 120 kB / 419 MB, free: 92.02 MB / 346.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.0005419/0.8719, allocations: 356.2 kB / 419.3 MB, free: 91.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.845e-05/0.872, allocations: 41.52 kB / 419.4 MB, free: 91.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.8722, allocations: 67.7 kB / 419.4 MB, free: 91.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.8722, allocations: 2.75 kB / 419.4 MB, free: 91.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.8722, allocations: 5.344 kB / 419.4 MB, free: 91.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8723, allocations: 1.219 kB / 419.4 MB, free: 91.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.874, allocations: 0.8462 MB / 420.3 MB, free: 91.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.874, allocations: 0 / 420.3 MB, free: 91.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.874, allocations: 1.031 kB / 420.3 MB, free: 91.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.874, allocations: 2.516 kB / 420.3 MB, free: 91.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/0.8741, allocations: 18.3 kB / 420.3 MB, free: 91.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.8741, allocations: 2.094 kB / 420.3 MB, free: 91.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8741, allocations: 3.438 kB / 420.3 MB, free: 91.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.8753, allocations: 0.5594 MB / 420.9 MB, free: 90.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005567/0.8759, allocations: 251.6 kB / 421.1 MB, free: 90.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-05/0.876, allocations: 12.31 kB / 421.1 MB, free: 90.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.8762, allocations: 19.47 kB / 421.1 MB, free: 90.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.8764, allocations: 34.84 kB / 421.2 MB, free: 90.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.8766, allocations: 120.9 kB / 421.3 MB, free: 90.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007199/0.8773, allocations: 387.6 kB / 421.7 MB, free: 90.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8774, allocations: 3.75 kB / 421.7 MB, free: 90.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004697/0.8778, allocations: 45.66 kB / 421.7 MB, free: 90.69 MB / 346.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.001326/0.8792, allocations: 1.119 MB / 422.8 MB, free: 89.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007519/0.88, allocations: 453.6 kB / 423.3 MB, free: 89.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.88, allocations: 3.344 kB / 423.3 MB, free: 89.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004267/0.8804, allocations: 385.5 kB / 423.7 MB, free: 89.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.8812, allocations: 101.9 kB / 423.8 MB, free: 89.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.8845, allocations: 1.638 MB / 425.4 MB, free: 88.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.8849, allocations: 0.8147 MB / 426.2 MB, free: 87.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.569e-05/0.885, allocations: 3.828 kB / 426.2 MB, free: 87.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.8851, allocations: 28.73 kB / 426.2 MB, free: 87.81 MB / 346.7 MB Notification: Performance of SimCode: time 1.253e-06/0.8851, allocations: 0 / 426.2 MB, free: 87.81 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/0.9206, allocations: 7.027 MB / 433.3 MB, free: 87.04 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/0.921, allocations: 171.7 kB / 433.4 MB, free: 86.8 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.484, allocations: 3.938 kB / 433.4 MB, free: 86.8 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat