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.9846/0.9846, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.419e-05, allocations: 4 kB / 154.3 MB, free: 13.15 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.141, allocations: 25.15 MB / 179.4 MB, free: 0.7891 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05656/0.1976, allocations: 36.89 MB / 216.3 MB, free: 12.2 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.1979, allocations: 63.97 kB / 216.4 MB, free: 12.14 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03164/0.2295, allocations: 7.997 MB / 224.4 MB, free: 4.105 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.829e-06/0.2296, allocations: 0 / 224.4 MB, free: 4.105 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.687e-05/0.2296, allocations: 12 kB / 224.4 MB, free: 4.094 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.001327/0.231, allocations: 0.7088 MB / 225.1 MB, free: 3.34 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.231, allocations: 8.031 kB / 225.1 MB, free: 3.332 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.2312, allocations: 63.25 kB / 225.2 MB, free: 3.27 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.2318, allocations: 359.4 kB / 225.5 MB, free: 2.879 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.2319, allocations: 41 kB / 225.6 MB, free: 2.84 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.232, allocations: 48 kB / 225.6 MB, free: 2.793 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.233, allocations: 459 kB / 226.1 MB, free: 2.328 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.2331, allocations: 0 / 226.1 MB, free: 2.328 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.2331, allocations: 16 kB / 226.1 MB, free: 2.312 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.2332, allocations: 12 kB / 226.1 MB, free: 2.301 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007581/0.2339, allocations: 296 kB / 226.4 MB, free: 2.016 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/0.2376, allocations: 1.693 MB / 228.1 MB, free: 224 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.2381, allocations: 250.1 kB / 228.3 MB, free: 15.96 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.2384, allocations: 121.7 kB / 228.4 MB, free: 15.83 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.2385, allocations: 4.469 kB / 228.4 MB, free: 15.83 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.2385, allocations: 42.55 kB / 228.5 MB, free: 15.78 MB / 202.7 MB Notification: Performance of pre-optimization done (n=30): time 3.042e-06/0.2385, allocations: 7.875 kB / 228.5 MB, free: 15.77 MB / 202.7 MB Notification: Performance of matching and sorting (n=31): time 0.00178/0.2403, allocations: 0.7411 MB / 229.2 MB, free: 14.97 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.2404, allocations: 85.09 kB / 229.3 MB, free: 14.87 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.241, allocations: 343.5 kB / 229.6 MB, free: 14.52 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.2411, allocations: 29.7 kB / 229.7 MB, free: 14.48 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.2413, allocations: 337.9 kB / 230 MB, free: 14.15 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.2415, allocations: 106.5 kB / 230.1 MB, free: 14.04 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.2415, allocations: 8 kB / 230.1 MB, free: 14.04 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.2417, allocations: 326.8 kB / 230.4 MB, free: 13.71 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.2419, allocations: 80.88 kB / 230.5 MB, free: 13.63 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.2422, allocations: 178.8 kB / 230.7 MB, free: 13.41 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.2425, allocations: 108.9 kB / 230.8 MB, free: 13.31 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-06/0.2426, allocations: 0 / 230.8 MB, free: 13.31 MB / 202.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000988/0.2436, allocations: 396.7 kB / 231.2 MB, free: 12.92 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2436, allocations: 8 kB / 231.2 MB, free: 12.91 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2436, allocations: 4 kB / 231.2 MB, free: 12.91 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/0.244, allocations: 65.67 kB / 231.3 MB, free: 12.84 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.2444, allocations: 75.91 kB / 231.3 MB, free: 12.76 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.2477, allocations: 2.839 MB / 234.2 MB, free: 9.66 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.2482, allocations: 27.89 kB / 234.2 MB, free: 9.633 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.2482, allocations: 16 kB / 234.2 MB, free: 9.617 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.0002223/0.2485, allocations: 129.5 kB / 234.3 MB, free: 9.484 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.2486, allocations: 43.48 kB / 234.4 MB, free: 9.441 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.2487, allocations: 47.3 kB / 234.4 MB, free: 9.395 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.2488, allocations: 3.984 kB / 234.4 MB, free: 9.391 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.344e-06/0.2488, allocations: 11.98 kB / 234.4 MB, free: 9.379 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.084e-06/0.2488, allocations: 0 / 234.4 MB, free: 9.379 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.2506, allocations: 0.8933 MB / 235.3 MB, free: 8.422 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.053e-06/0.2507, allocations: 0 / 235.3 MB, free: 8.422 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.2509, allocations: 51.91 kB / 235.4 MB, free: 8.371 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003423/0.2513, allocations: 65.66 kB / 235.5 MB, free: 8.301 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.2513, allocations: 8 kB / 235.5 MB, free: 8.293 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003212/0.2546, allocations: 2.834 MB / 238.3 MB, free: 5.195 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2546, allocations: 3.938 kB / 238.3 MB, free: 5.191 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.2557, allocations: 0.5762 MB / 238.9 MB, free: 4.586 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.256, allocations: 136.6 kB / 239 MB, free: 4.434 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.455e-05/0.2561, allocations: 8 kB / 239 MB, free: 4.426 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.2566, allocations: 39.97 kB / 239.1 MB, free: 4.387 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.2567, allocations: 23.91 kB / 239.1 MB, free: 4.363 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.2567, allocations: 8 kB / 239.1 MB, free: 4.355 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0004384/0.2572, allocations: 270.2 kB / 239.4 MB, free: 4.098 MB / 202.7 MB Notification: Performance of sort global known variables: time 9.25e-07/0.2572, allocations: 0 / 239.4 MB, free: 4.098 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0008035/0.258, allocations: 116 kB / 239.5 MB, free: 3.984 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.0001987/0.2582, allocations: 119.3 kB / 239.6 MB, free: 3.855 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.2593, allocations: 498.6 kB / 240.1 MB, free: 3.344 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 7.767e-06/0.2593, allocations: 4.125 kB / 240.1 MB, free: 3.34 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000742/0.2601, allocations: 371.8 kB / 240.4 MB, free: 2.953 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.2608, allocations: 85.27 kB / 240.5 MB, free: 2.871 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.2625, allocations: 0.7271 MB / 241.2 MB, free: 2.109 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.2631, allocations: 0.8464 MB / 242.1 MB, free: 1.234 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.2633, allocations: 31.42 kB / 242.1 MB, free: 1.203 MB / 202.7 MB Notification: Performance of SimCode: time 1.752e-06/0.2633, allocations: 0 / 242.1 MB, free: 1.203 MB / 202.7 MB Notification: Performance of Templates: time 0.01428/0.2776, allocations: 8.55 MB / 250.7 MB, free: 8.66 MB / 218.7 MB