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: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.00049, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 44.52 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002055/0.1051, allocations: 1.181 MB / 310.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.1079, allocations: 0.8474 MB / 311.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.108, allocations: 3.938 kB / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.16e-05/0.1081, allocations: 0 / 311.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.1082, allocations: 23.91 kB / 311.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1085, allocations: 35.89 kB / 311.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.1086, allocations: 71.86 kB / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1088, allocations: 19.97 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005303/0.1093, allocations: 291.4 kB / 311.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1095, allocations: 67.83 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.1095, allocations: 4 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.553e-05/0.1096, allocations: 4 kB / 311.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.515e-05/0.1097, allocations: 67.81 kB / 311.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.666e-05/0.1098, allocations: 73.52 kB / 311.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.1102, allocations: 275.3 kB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1102, allocations: 0 / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.1102, allocations: 4 kB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1102, allocations: 0 / 312 MB, free: 13.38 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.0008483/0.1111, allocations: 0.6606 MB / 312.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1112, allocations: 12.03 kB / 312.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.253e-05/0.1113, allocations: 35.58 kB / 312.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.1117, allocations: 265.3 kB / 313 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.1117, allocations: 4 kB / 313 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.1118, allocations: 8 kB / 313 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.1122, allocations: 117.6 kB / 313.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1122, allocations: 0 / 313.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.1122, allocations: 11.98 kB / 313.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1123, allocations: 4 kB / 313.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.1125, allocations: 59.95 kB / 313.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/0.1134, allocations: 464.5 kB / 313.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.1137, allocations: 98.42 kB / 313.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1138, allocations: 0 / 313.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.1143, allocations: 198.8 kB / 313.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 4.658e-06/0.1143, allocations: 4 kB / 313.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001291/0.1156, allocations: 0.6232 MB / 314.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.1157, allocations: 166.2 kB / 314.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009787/0.1167, allocations: 0.5168 MB / 315.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.1167, allocations: 29.7 kB / 315.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.964e-05/0.1168, allocations: 97.05 kB / 315.4 MB, free: 9.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.1169, allocations: 39.56 kB / 315.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.1169, allocations: 4 kB / 315.4 MB, free: 9.668 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1171, allocations: 322.8 kB / 315.7 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.1173, allocations: 59.97 kB / 315.8 MB, free: 9.285 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.1175, allocations: 73.67 kB / 315.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.1178, allocations: 175 kB / 316 MB, free: 9.012 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1178, allocations: 0 / 316 MB, free: 9.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008521/0.1187, allocations: 372.3 kB / 316.4 MB, free: 8.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.1188, allocations: 124.5 kB / 316.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1189, allocations: 3.984 kB / 316.5 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1189, allocations: 0 / 316.5 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-05/0.1189, allocations: 4.031 kB / 316.5 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1189, allocations: 7.953 kB / 316.5 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.1192, allocations: 12 kB / 316.5 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.1193, allocations: 47.92 kB / 316.6 MB, free: 8.398 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.0004957/0.1198, allocations: 358.3 kB / 316.9 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.164e-05/0.1199, allocations: 43.64 kB / 317 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.12, allocations: 63.16 kB / 317 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1201, allocations: 8 kB / 317 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1201, allocations: 0 / 317 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/0.1206, allocations: 244.4 kB / 317.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.1207, allocations: 15.98 kB / 317.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.1209, allocations: 11.91 kB / 317.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.121, allocations: 32.02 kB / 317.3 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00106/0.1221, allocations: 0.6965 MB / 318 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001021/0.1231, allocations: 0.6026 MB / 318.6 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003267/0.1235, allocations: 144 kB / 318.8 MB, free: 6.016 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0007244/0.1242, allocations: 394.8 kB / 319.2 MB, free: 5.629 MB / 266.7 MB Notification: Performance of Backend: time 1.012e-06/0.1242, allocations: 0 / 319.2 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007918/0.125, allocations: 444 kB / 319.6 MB, free: 5.141 MB / 266.7 MB Notification: Performance of SimCode: time 0.002121/0.1272, allocations: 1.388 MB / 321 MB, free: 3.664 MB / 266.7 MB Notification: Performance of Templates: time 0.009512/0.1367, allocations: 3.37 MB / 324.4 MB, free: 272 kB / 266.7 MB "" Variables in the reference:time,iNV3S.y Variables in the result:e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y0,iNV3S.inertialDelaySensitive.tHL,iNV3S.inertialDelaySensitive.tLH,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y0,iNV3S.strength,iNV3S.tHL,iNV3S.tLH,iNV3S.y,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y0