Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.711/1.711, allocations: 171.2 MB / 186.1 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003587, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09366, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4558/0.5495, allocations: 69.83 MB / 342 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5498, allocations: 74.14 kB / 342 MB, free: 3.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03549/0.5853, allocations: 8.23 MB / 350.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5854, allocations: 0 / 350.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.34e-05/0.5854, allocations: 12 kB / 350.3 MB, free: 11.95 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.001972/0.5874, allocations: 0.797 MB / 351.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5875, allocations: 8.031 kB / 351.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/0.5877, allocations: 104.2 kB / 351.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.5879, allocations: 67.25 kB / 351.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006722/0.5886, allocations: 359.8 kB / 351.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/0.5886, allocations: 42.12 kB / 351.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.5888, allocations: 52.22 kB / 351.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.5901, allocations: 0.4919 MB / 352.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.5901, allocations: 0 / 352.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.5902, allocations: 20.94 kB / 352.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.5902, allocations: 16 kB / 352.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.5913, allocations: 343.2 kB / 352.6 MB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004197/0.5955, allocations: 1.754 MB / 354.3 MB, free: 8.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007185/0.5962, allocations: 266.5 kB / 354.6 MB, free: 8.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.5963, allocations: 7.984 kB / 354.6 MB, free: 8.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.5963, allocations: 38.31 kB / 354.6 MB, free: 8.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 2.635e-06/0.5963, allocations: 0 / 354.6 MB, free: 8.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.002962/0.5993, allocations: 0.9742 MB / 355.6 MB, free: 7.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.5994, allocations: 89.06 kB / 355.7 MB, free: 7.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.6, allocations: 340.6 kB / 356 MB, free: 6.867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.6001, allocations: 36.27 kB / 356 MB, free: 6.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.6003, allocations: 294.8 kB / 356.3 MB, free: 6.602 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.6004, allocations: 115.6 kB / 356.4 MB, free: 6.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.6005, allocations: 6.812 kB / 356.5 MB, free: 6.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6006, allocations: 346.9 kB / 356.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.601, allocations: 110.8 kB / 356.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.6014, allocations: 194.9 kB / 357.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.6019, allocations: 134.8 kB / 357.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6019, allocations: 4 kB / 357.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001373/0.6033, allocations: 455.2 kB / 357.7 MB, free: 5.469 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.6033, allocations: 6.5 kB / 357.7 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.6033, allocations: 4 kB / 357.7 MB, free: 5.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/0.6039, allocations: 87.88 kB / 357.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.6045, allocations: 83.33 kB / 357.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/0.6079, allocations: 2.873 MB / 360.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/0.6085, allocations: 19.73 kB / 360.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.6086, allocations: 15.44 kB / 360.8 MB, free: 2.324 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.0003479/0.6089, allocations: 166.2 kB / 360.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.6091, allocations: 43.53 kB / 361 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.6092, allocations: 46.88 kB / 361 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.6092, allocations: 4 kB / 361 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.6092, allocations: 7.953 kB / 361 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.6093, allocations: 0 / 361 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.6114, allocations: 0.9582 MB / 362 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6115, allocations: 0 / 362 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.6119, allocations: 50.48 kB / 362 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/0.6124, allocations: 79.83 kB / 362.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.6124, allocations: 13.8 kB / 362.1 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003296/0.6157, allocations: 2.874 MB / 365 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6158, allocations: 4.062 kB / 365 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.6173, allocations: 0.6292 MB / 365.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.6176, allocations: 139.4 kB / 365.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.6177, allocations: 3.938 kB / 365.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.6183, allocations: 43.48 kB / 365.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/0.6184, allocations: 27.66 kB / 365.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.6184, allocations: 7.688 kB / 365.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004536/0.6189, allocations: 277.2 kB / 366.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6189, allocations: 0 / 366.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000803/0.6197, allocations: 120.7 kB / 366.2 MB, free: 13.1 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.001882/0.6216, allocations: 1.264 MB / 367.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.623, allocations: 0.5217 MB / 368 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.623, allocations: 0 / 368 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00093/0.624, allocations: 392 kB / 368.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006124/0.6246, allocations: 56.31 kB / 368.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/0.6315, allocations: 4.357 MB / 372.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.632, allocations: 0.8587 MB / 373.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003239/0.6324, allocations: 39.3 kB / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.6327, allocations: 169 kB / 373.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of SimCode: time 2.615e-06/0.6327, allocations: 112 / 373.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.6691, allocations: 8.05 MB / 381.9 MB, free: 14 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001601/0.6707, allocations: 215 kB / 382.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/3.419, allocations: 0 / 382.1 MB, free: 13.75 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat