Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.551/1.551, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 12 kB / 233.3 MB, free: 2.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08031/0.08072, allocations: 38.76 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3557/0.4365, allocations: 69.84 MB / 341.9 MB, free: 3.645 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.4368, allocations: 69.89 kB / 342 MB, free: 3.605 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04618/0.483, allocations: 8.23 MB / 350.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4831, allocations: 0 / 350.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.117e-05/0.4832, allocations: 12 kB / 350.3 MB, free: 12.55 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002667/0.4859, allocations: 0.7947 MB / 351.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.4859, allocations: 8.031 kB / 351.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002989/0.4862, allocations: 102.3 kB / 351.2 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.4865, allocations: 67.23 kB / 351.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009137/0.4874, allocations: 367.8 kB / 351.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.4875, allocations: 42.12 kB / 351.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.4877, allocations: 54.59 kB / 351.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.4894, allocations: 497.2 kB / 352.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.4895, allocations: 0 / 352.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.4896, allocations: 29.61 kB / 352.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.4896, allocations: 12 kB / 352.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.4911, allocations: 352.5 kB / 352.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005965/0.4971, allocations: 1.746 MB / 354.3 MB, free: 9.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/0.4981, allocations: 266.3 kB / 354.6 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.4982, allocations: 4 kB / 354.6 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.4983, allocations: 37.56 kB / 354.6 MB, free: 8.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 3.937e-06/0.4983, allocations: 0 / 354.6 MB, free: 8.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.003945/0.5022, allocations: 0.975 MB / 355.6 MB, free: 7.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.5024, allocations: 85.06 kB / 355.7 MB, free: 7.738 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008098/0.5032, allocations: 350.9 kB / 356 MB, free: 7.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/0.5033, allocations: 32.95 kB / 356 MB, free: 7.422 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.5036, allocations: 348.2 kB / 356.4 MB, free: 7.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.5038, allocations: 105.3 kB / 356.5 MB, free: 7.043 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.5038, allocations: 10.81 kB / 356.5 MB, free: 7.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.504, allocations: 333.9 kB / 356.8 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/0.5045, allocations: 99.45 kB / 356.9 MB, free: 6.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.5052, allocations: 194.1 kB / 357.1 MB, free: 6.457 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.5057, allocations: 130 kB / 357.2 MB, free: 6.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5058, allocations: 3.938 kB / 357.2 MB, free: 6.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00176/0.5075, allocations: 432 kB / 357.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.5076, allocations: 8 kB / 357.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.5076, allocations: 0 / 357.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00068/0.5083, allocations: 86.38 kB / 357.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008142/0.5092, allocations: 75.09 kB / 357.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00453/0.5137, allocations: 2.879 MB / 360.7 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.5145, allocations: 23.11 kB / 360.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.5146, allocations: 19.88 kB / 360.7 MB, free: 2.898 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004476/0.515, allocations: 166 kB / 360.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.5153, allocations: 39.53 kB / 360.9 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.5154, allocations: 45.2 kB / 361 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.5154, allocations: 3.984 kB / 361 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.5155, allocations: 7.953 kB / 361 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.5155, allocations: 3.984 kB / 361 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.5186, allocations: 0.9579 MB / 362 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.5187, allocations: 4.375 kB / 362 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.5192, allocations: 49.34 kB / 362 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000624/0.5198, allocations: 89.64 kB / 362.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.5199, allocations: 2.938 kB / 362.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003867/0.5238, allocations: 2.874 MB / 365 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5238, allocations: 0 / 365 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.5255, allocations: 0.6329 MB / 365.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.5258, allocations: 138.6 kB / 365.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.16e-05/0.5258, allocations: 7.375 kB / 365.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000576/0.5264, allocations: 42.5 kB / 365.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.5266, allocations: 27.14 kB / 365.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.5266, allocations: 8.094 kB / 365.8 MB, free: 14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004711/0.5271, allocations: 275.7 kB / 366.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5271, allocations: 0 / 366.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008459/0.528, allocations: 121 kB / 366.2 MB, free: 13.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/0.53, allocations: 1.266 MB / 367.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.5315, allocations: 0.5275 MB / 368 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.5315, allocations: 64 / 368 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009898/0.5325, allocations: 384.9 kB / 368.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006616/0.5332, allocations: 61.92 kB / 368.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00751/0.5407, allocations: 4.372 MB / 372.8 MB, free: 7.496 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.5414, allocations: 0.8548 MB / 373.7 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.5418, allocations: 174.4 kB / 373.8 MB, free: 6.57 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5418, allocations: 0 / 373.8 MB, free: 6.57 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.705/3.246, allocations: 10.84 MB / 384.7 MB, free: 11.8 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat