Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.059/1.059, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.546e-05, allocations: 4 kB / 154.4 MB, free: 13.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1728, allocations: 25.15 MB / 179.5 MB, free: 0.7109 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06536/0.2382, allocations: 36.9 MB / 216.4 MB, free: 12.1 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.2385, allocations: 67.95 kB / 216.5 MB, free: 12.04 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03537/0.2739, allocations: 8.001 MB / 224.5 MB, free: 4.008 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2739, allocations: 0 / 224.5 MB, free: 4.008 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.07e-05/0.274, allocations: 12 kB / 224.5 MB, free: 3.996 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001678/0.2757, allocations: 0.7165 MB / 225.2 MB, free: 3.234 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.2757, allocations: 8.031 kB / 225.2 MB, free: 3.227 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002033/0.2759, allocations: 103.7 kB / 225.3 MB, free: 3.113 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.2761, allocations: 63.25 kB / 225.4 MB, free: 3.051 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/0.2768, allocations: 359.4 kB / 225.7 MB, free: 2.66 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-05/0.2769, allocations: 45.31 kB / 225.8 MB, free: 2.617 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.277, allocations: 51.95 kB / 225.8 MB, free: 2.566 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.2782, allocations: 471.8 kB / 226.3 MB, free: 2.09 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.2783, allocations: 3.984 kB / 226.3 MB, free: 2.086 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/0.2784, allocations: 24 kB / 226.3 MB, free: 2.062 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.2784, allocations: 12 kB / 226.3 MB, free: 2.051 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/0.2793, allocations: 305.3 kB / 226.6 MB, free: 1.75 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004752/0.2841, allocations: 1.738 MB / 228.4 MB, free: 15.91 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000956/0.2851, allocations: 242.2 kB / 228.6 MB, free: 15.66 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.2854, allocations: 122.6 kB / 228.7 MB, free: 15.53 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.2855, allocations: 7.938 kB / 228.7 MB, free: 15.52 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.2855, allocations: 42.56 kB / 228.8 MB, free: 15.47 MB / 202.7 MB Notification: Performance of pre-optimization done (n=30): time 2.815e-06/0.2855, allocations: 0 / 228.8 MB, free: 15.47 MB / 202.7 MB Notification: Performance of matching and sorting (n=31): time 0.002028/0.2876, allocations: 0.7514 MB / 229.5 MB, free: 14.66 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.2876, allocations: 85.05 kB / 229.6 MB, free: 14.56 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/0.2883, allocations: 339.6 kB / 229.9 MB, free: 14.23 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.2883, allocations: 33.64 kB / 230 MB, free: 14.19 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.2886, allocations: 341.8 kB / 230.3 MB, free: 13.85 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.2888, allocations: 114.3 kB / 230.4 MB, free: 13.74 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.2889, allocations: 4 kB / 230.4 MB, free: 13.73 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.2892, allocations: 334.8 kB / 230.7 MB, free: 13.4 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.2896, allocations: 80.88 kB / 230.8 MB, free: 13.32 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.2902, allocations: 170.9 kB / 231 MB, free: 13.12 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.2908, allocations: 111 kB / 231.1 MB, free: 13.01 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2908, allocations: 0 / 231.1 MB, free: 13.01 MB / 202.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001882/0.2927, allocations: 389.9 kB / 231.5 MB, free: 12.62 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.2928, allocations: 14.77 kB / 231.5 MB, free: 12.61 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.2928, allocations: 4 kB / 231.5 MB, free: 12.61 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000693/0.2935, allocations: 73.89 kB / 231.6 MB, free: 12.53 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008726/0.2944, allocations: 75.89 kB / 231.6 MB, free: 12.45 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004453/0.2989, allocations: 2.827 MB / 234.5 MB, free: 9.359 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/0.2997, allocations: 23.84 kB / 234.5 MB, free: 9.336 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.2998, allocations: 16 kB / 234.5 MB, free: 9.32 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor22.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real basicTransformer.i2:VARIABLE(unit = "A" ) "Current flowing from pos. to neg. pin of the right port" type: Real basicTransformer.i1:VARIABLE(unit = "A" ) "Current flowing from pos. to neg. pin of the left port" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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.0003083/0.3001, allocations: 137.4 kB / 234.6 MB, free: 9.18 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.3003, allocations: 43.59 kB / 234.7 MB, free: 9.137 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.3005, allocations: 47.3 kB / 234.7 MB, free: 9.09 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.3005, allocations: 4 kB / 234.7 MB, free: 9.086 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.3005, allocations: 4 kB / 234.7 MB, free: 9.082 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.3006, allocations: 3.984 kB / 234.7 MB, free: 9.078 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.3034, allocations: 0.8974 MB / 235.6 MB, free: 8.117 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.3034, allocations: 12 kB / 235.7 MB, free: 8.105 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.304, allocations: 43.91 kB / 235.7 MB, free: 8.062 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005725/0.3046, allocations: 73.56 kB / 235.8 MB, free: 7.984 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.3047, allocations: 7.938 kB / 235.8 MB, free: 7.977 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.3081, allocations: 2.839 MB / 238.6 MB, free: 4.875 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3081, allocations: 0 / 238.6 MB, free: 4.875 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.3094, allocations: 0.5762 MB / 239.2 MB, free: 4.266 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.3097, allocations: 136.6 kB / 239.3 MB, free: 4.113 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.3098, allocations: 11.98 kB / 239.3 MB, free: 4.102 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.3103, allocations: 31.98 kB / 239.4 MB, free: 4.07 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3105, allocations: 23.97 kB / 239.4 MB, free: 4.047 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.3105, allocations: 11.98 kB / 239.4 MB, free: 4.035 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0004729/0.311, allocations: 266.2 kB / 239.7 MB, free: 3.777 MB / 202.7 MB Notification: Performance of sort global known variables: time 5.2e-07/0.311, allocations: 4 kB / 239.7 MB, free: 3.773 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.00082/0.3118, allocations: 116 kB / 239.8 MB, free: 3.66 MB / 202.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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.001703/0.3136, allocations: 1.205 MB / 241 MB, free: 2.414 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.3148, allocations: 487.4 kB / 241.5 MB, free: 1.914 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3149, allocations: 3.938 kB / 241.5 MB, free: 1.91 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008475/0.3157, allocations: 379.1 kB / 241.8 MB, free: 1.516 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.3168, allocations: 89.27 kB / 241.9 MB, free: 1.43 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.3192, allocations: 0.8384 MB / 242.8 MB, free: 0.543 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.3198, allocations: 0.8503 MB / 243.6 MB, free: 15.66 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.3202, allocations: 171.4 kB / 243.8 MB, free: 15.5 MB / 218.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3202, allocations: 0 / 243.8 MB, free: 15.5 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.877/3.197, allocations: 10.86 MB / 254.6 MB, free: 4.637 MB / 218.7 MB