Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 0.939/0.939, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002593/0.0002596, allocations: 4 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04515/0.04543, allocations: 25.16 MB / 183.5 MB, free: 5.977 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/0.2193, allocations: 36.98 MB / 220.5 MB, free: 5.93 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.2195, allocations: 64.58 kB / 220.5 MB, free: 5.918 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02688/0.2464, allocations: 7.971 MB / 228.5 MB, free: 2.602 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.2e-06/0.2465, allocations: 1.312 kB / 228.5 MB, free: 2.602 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.888e-05/0.2465, allocations: 15.98 kB / 228.5 MB, free: 2.586 MB / 170.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.001198/0.2477, allocations: 0.7762 MB / 229.3 MB, free: 1.797 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2478, allocations: 8.031 kB / 229.3 MB, free: 1.789 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.2479, allocations: 63.25 kB / 229.4 MB, free: 1.727 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.2484, allocations: 360.2 kB / 229.7 MB, free: 1.371 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.2484, allocations: 35.94 kB / 229.8 MB, free: 1.352 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.573e-05/0.2485, allocations: 47.12 kB / 229.8 MB, free: 1.32 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009135/0.2495, allocations: 472.7 kB / 230.3 MB, free: 0.9805 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.2495, allocations: 224 / 230.3 MB, free: 0.9805 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.2496, allocations: 27.44 kB / 230.3 MB, free: 0.9688 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.2496, allocations: 15.94 kB / 230.3 MB, free: 0.9531 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.2504, allocations: 335.3 kB / 230.6 MB, free: 0.7266 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.2535, allocations: 1.694 MB / 232.3 MB, free: 15.22 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.2541, allocations: 263.4 kB / 232.6 MB, free: 15.02 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.2542, allocations: 4 kB / 232.6 MB, free: 15.01 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.2542, allocations: 38.12 kB / 232.6 MB, free: 14.97 MB / 186.7 MB Notification: Performance of pre-optimization done (n=30): time 2.773e-06/0.2542, allocations: 0 / 232.6 MB, free: 14.97 MB / 186.7 MB Notification: Performance of matching and sorting (n=31): time 0.002388/0.2566, allocations: 0.9512 MB / 233.6 MB, free: 14.07 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.2567, allocations: 85.11 kB / 233.7 MB, free: 13.97 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.2573, allocations: 346.8 kB / 234 MB, free: 13.7 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.2573, allocations: 32.89 kB / 234 MB, free: 13.66 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.2576, allocations: 329 kB / 234.4 MB, free: 13.39 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.2577, allocations: 118.8 kB / 234.5 MB, free: 13.29 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.2577, allocations: 5.688 kB / 234.5 MB, free: 13.29 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.2579, allocations: 325.8 kB / 234.8 MB, free: 12.96 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.2582, allocations: 103.1 kB / 234.9 MB, free: 12.89 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.2586, allocations: 183.8 kB / 235.1 MB, free: 12.71 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.2589, allocations: 129.2 kB / 235.2 MB, free: 12.64 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.565e-06/0.259, allocations: 4 kB / 235.2 MB, free: 12.63 MB / 186.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001087/0.2601, allocations: 421.9 kB / 235.6 MB, free: 12.31 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.2601, allocations: 4 kB / 235.6 MB, free: 12.31 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2601, allocations: 7.938 kB / 235.6 MB, free: 12.3 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003653/0.2605, allocations: 72.48 kB / 235.7 MB, free: 12.23 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.2609, allocations: 83.61 kB / 235.8 MB, free: 12.16 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003231/0.2642, allocations: 2.848 MB / 238.6 MB, free: 9.223 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.2646, allocations: 27.05 kB / 238.7 MB, free: 9.203 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.2646, allocations: 15.62 kB / 238.7 MB, free: 9.191 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor22.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real basicTransformer.i2:VARIABLE(unit = "A" fixed = true ) "Current flowing from pos. to neg. pin of the right port" type: Real basicTransformer.i1:VARIABLE(unit = "A" fixed = true ) "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 () * Number of clocked 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.0003928/0.265, allocations: 171.1 kB / 238.8 MB, free: 9.047 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.2652, allocations: 55.52 kB / 238.9 MB, free: 8.992 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.192e-05/0.2653, allocations: 47.59 kB / 238.9 MB, free: 8.973 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.28e-06/0.2653, allocations: 8 kB / 239 MB, free: 8.965 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.2653, allocations: 4 kB / 239 MB, free: 8.961 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2653, allocations: 0 / 239 MB, free: 8.961 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.2672, allocations: 0.924 MB / 239.9 MB, free: 8.148 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.2672, allocations: 7.984 kB / 239.9 MB, free: 8.141 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.2675, allocations: 43.91 kB / 239.9 MB, free: 8.098 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/0.2678, allocations: 76.39 kB / 240 MB, free: 8.027 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.2679, allocations: 7.562 kB / 240 MB, free: 8.023 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003164/0.2711, allocations: 2.859 MB / 242.9 MB, free: 5.086 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.558e-06/0.2711, allocations: 4.031 kB / 242.9 MB, free: 5.082 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.2724, allocations: 0.6079 MB / 243.5 MB, free: 4.555 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.2726, allocations: 141.5 kB / 243.6 MB, free: 4.41 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/0.2727, allocations: 7.875 kB / 243.6 MB, free: 4.406 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.2731, allocations: 31.8 kB / 243.7 MB, free: 4.379 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/0.2732, allocations: 27.45 kB / 243.7 MB, free: 4.355 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.2733, allocations: 14.62 kB / 243.7 MB, free: 4.344 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0004256/0.2737, allocations: 273.2 kB / 244 MB, free: 4.133 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.2737, allocations: 4 kB / 244 MB, free: 4.129 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0008054/0.2746, allocations: 114.9 kB / 244.1 MB, free: 4.027 MB / 186.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 (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.0001806/0.2748, allocations: 114.2 kB / 244.2 MB, free: 3.914 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.2759, allocations: 0.5232 MB / 244.7 MB, free: 3.441 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.301e-06/0.2759, allocations: 0 / 244.7 MB, free: 3.441 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007812/0.2767, allocations: 386.4 kB / 245.1 MB, free: 3.078 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/0.2775, allocations: 94.25 kB / 245.2 MB, free: 3.012 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.2796, allocations: 1.185 MB / 246.4 MB, free: 1.852 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.2802, allocations: 0.8503 MB / 247.2 MB, free: 0.9727 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.2804, allocations: 31.44 kB / 247.3 MB, free: 0.9414 MB / 186.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2804, allocations: 0 / 247.3 MB, free: 0.9414 MB / 186.7 MB Notification: Performance of Templates: time 0.01412/0.2945, allocations: 8.556 MB / 255.8 MB, free: 8.434 MB / 202.7 MB