Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.SingularTransfomer.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.265/2.265, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005989/0.0005991, allocations: 16 kB / 314.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3322, allocations: 54.86 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.4781, allocations: 82.25 MB / 451.6 MB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.4783, allocations: 67.97 kB / 451.7 MB, free: 8.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.4948, allocations: 3.869 MB / 455.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4948, allocations: 0 / 455.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.4949, allocations: 8 kB / 455.5 MB, free: 4.391 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001024/0.4959, allocations: 0.5069 MB / 456.1 MB, free: 3.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.496, allocations: 11.97 kB / 456.1 MB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.181e-05/0.4961, allocations: 62.48 kB / 456.1 MB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.499e-05/0.4962, allocations: 23.72 kB / 456.1 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.4966, allocations: 251 kB / 456.4 MB, free: 3.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.4966, allocations: 16.44 kB / 456.4 MB, free: 3.426 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.4967, allocations: 19.94 kB / 456.4 MB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/0.4973, allocations: 191.3 kB / 456.6 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4973, allocations: 0 / 456.6 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.4973, allocations: 11.95 kB / 456.6 MB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.4974, allocations: 8 kB / 456.6 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.4978, allocations: 145.7 kB / 456.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.4998, allocations: 0.8181 MB / 457.6 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.5001, allocations: 94.53 kB / 457.7 MB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.5001, allocations: 4 kB / 457.7 MB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.5001, allocations: 38.55 kB / 457.7 MB, free: 2.008 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.374e-06/0.5001, allocations: 4 kB / 457.7 MB, free: 2.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002654/0.5028, allocations: 0.7332 MB / 458.5 MB, free: 1.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.5029, allocations: 55.41 kB / 458.5 MB, free: 1.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.5032, allocations: 190.9 kB / 458.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.5032, allocations: 29.7 kB / 458.7 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.5034, allocations: 234.2 kB / 459 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.031e-05/0.5035, allocations: 59.19 kB / 459 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.5035, allocations: 0 / 459 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5036, allocations: 322.8 kB / 459.3 MB, free: 304 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.5039, allocations: 67.91 kB / 459.4 MB, free: 236 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.5042, allocations: 109 kB / 459.5 MB, free: 108 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.5045, allocations: 75.98 kB / 459.6 MB, free: 32 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5045, allocations: 0 / 459.6 MB, free: 32 kB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008829/0.5054, allocations: 283.5 kB / 459.9 MB, free: 15.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.5054, allocations: 10.03 kB / 459.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5055, allocations: 0 / 459.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.5058, allocations: 73.83 kB / 459.9 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.5061, allocations: 31.92 kB / 460 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/0.5092, allocations: 2.835 MB / 462.8 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.5096, allocations: 16.02 kB / 462.8 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.5096, allocations: 15.88 kB / 462.8 MB, free: 12.49 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.5098, allocations: 133.8 kB / 463 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.5099, allocations: 19.81 kB / 463 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.51, allocations: 21.86 kB / 463 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.51, allocations: 4.062 kB / 463 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.51, allocations: 7.953 kB / 463 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.51, allocations: 0 / 463 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.5105, allocations: 285.5 kB / 463.3 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5105, allocations: 0 / 463.3 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.5107, allocations: 19.98 kB / 463.3 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003115/0.511, allocations: 66.05 kB / 463.4 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.511, allocations: 12 kB / 463.4 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003087/0.5141, allocations: 2.812 MB / 466.2 MB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5142, allocations: 0 / 466.2 MB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.5153, allocations: 418.5 kB / 466.6 MB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.5154, allocations: 88.95 kB / 466.7 MB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.5155, allocations: 8.375 kB / 466.7 MB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.5158, allocations: 15.98 kB / 466.7 MB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.16e-05/0.5159, allocations: 23.97 kB / 466.8 MB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.5159, allocations: 4 kB / 466.8 MB, free: 8.207 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002013/0.5161, allocations: 148.3 kB / 466.9 MB, free: 8.062 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5161, allocations: 4 kB / 466.9 MB, free: 8.059 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000525/0.5167, allocations: 63.95 kB / 467 MB, free: 7.996 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001403/0.5181, allocations: 0.9364 MB / 467.9 MB, free: 7.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009918/0.5191, allocations: 416.3 kB / 468.3 MB, free: 6.598 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.5191, allocations: 4 kB / 468.3 MB, free: 6.594 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006591/0.5198, allocations: 329.6 kB / 468.6 MB, free: 6.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.5202, allocations: 23.98 kB / 468.7 MB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.5239, allocations: 2.182 MB / 470.8 MB, free: 3.957 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.5243, allocations: 0.7479 MB / 471.6 MB, free: 3.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.5245, allocations: 75.41 kB / 471.7 MB, free: 3.105 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.5245, allocations: 3.938 kB / 471.7 MB, free: 3.102 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.12/3.644, allocations: 5.363 MB / 477 MB, free: 97.45 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat