Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09369, allocations: 44.52 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.4957, allocations: 74.72 MB / 383.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.496, allocations: 70.38 kB / 383.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03161/0.5277, allocations: 8.045 MB / 391.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5277, allocations: 0 / 391.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/0.5278, allocations: 11.62 kB / 391.4 MB, free: 13.59 MB / 314.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.001678/0.5295, allocations: 0.7858 MB / 392.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5295, allocations: 7.812 kB / 392.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.5297, allocations: 105.1 kB / 392.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.5299, allocations: 70.08 kB / 392.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.5304, allocations: 358.3 kB / 392.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.5305, allocations: 42 kB / 392.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-05/0.5306, allocations: 56.72 kB / 392.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.5317, allocations: 497.5 kB / 393.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.5317, allocations: 224 / 393.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/0.5318, allocations: 25.03 kB / 393.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.5318, allocations: 19.45 kB / 393.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009348/0.5328, allocations: 352.9 kB / 393.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.5365, allocations: 1.737 MB / 395.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.5371, allocations: 269.2 kB / 395.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.5372, allocations: 15.69 kB / 395.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.5372, allocations: 34.19 kB / 395.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.956e-06/0.5372, allocations: 0 / 395.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002589/0.5398, allocations: 0.978 MB / 396.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.5399, allocations: 84.67 kB / 396.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.5404, allocations: 340.2 kB / 397.1 MB, free: 11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.5404, allocations: 28.83 kB / 397.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.5406, allocations: 342.6 kB / 397.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.57e-05/0.5407, allocations: 114.5 kB / 397.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.5408, allocations: 9.25 kB / 397.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.5408, allocations: 324.6 kB / 397.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.5412, allocations: 110.4 kB / 398 MB, free: 10.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.5416, allocations: 192.2 kB / 398.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.5419, allocations: 128.1 kB / 398.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.542, allocations: 0 / 398.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001133/0.5431, allocations: 438.3 kB / 398.8 MB, free: 10.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5431, allocations: 3.875 kB / 398.8 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.5432, allocations: 3.906 kB / 398.8 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/0.5436, allocations: 86.12 kB / 398.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.5442, allocations: 79.86 kB / 398.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.5467, allocations: 2.874 MB / 401.8 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.5473, allocations: 13.66 kB / 401.8 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.5473, allocations: 17.84 kB / 401.8 MB, free: 7.484 MB / 314.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.00031/0.5477, allocations: 168 kB / 402 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.5478, allocations: 46.61 kB / 402 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.21e-05/0.5479, allocations: 46.78 kB / 402.1 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.5479, allocations: 3.875 kB / 402.1 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.5479, allocations: 0 / 402.1 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5479, allocations: 7.266 kB / 402.1 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.5498, allocations: 0.9482 MB / 403.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5498, allocations: 0 / 403.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.5502, allocations: 54.28 kB / 403.1 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004107/0.5506, allocations: 77.78 kB / 403.2 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.5506, allocations: 15.69 kB / 403.2 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.553, allocations: 2.871 MB / 406.1 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.553, allocations: 0 / 406.1 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.5546, allocations: 0.6306 MB / 406.7 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.5547, allocations: 127.5 kB / 406.8 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.798e-05/0.5548, allocations: 7.844 kB / 406.8 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.5554, allocations: 31.11 kB / 406.9 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.5555, allocations: 27.91 kB / 406.9 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.5555, allocations: 14.91 kB / 406.9 MB, free: 19.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003942/0.5559, allocations: 275.8 kB / 407.2 MB, free: 19.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.556, allocations: 0 / 407.2 MB, free: 19.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007976/0.5568, allocations: 117.6 kB / 407.3 MB, free: 19.77 MB / 330.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.001682/0.5585, allocations: 1.26 MB / 408.5 MB, free: 18.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.5598, allocations: 0.5195 MB / 409.1 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5598, allocations: 1.344 kB / 409.1 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008575/0.5607, allocations: 394.5 kB / 409.5 MB, free: 18.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.5613, allocations: 48.2 kB / 409.5 MB, free: 18.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005993/0.5673, allocations: 4.374 MB / 413.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.5678, allocations: 0.8547 MB / 414.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.5682, allocations: 177.2 kB / 414.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5682, allocations: 0 / 414.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.794/3.363, allocations: 10.84 MB / 425.7 MB, free: 9.941 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat