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: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 2.089/2.089, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003554, allocations: 12 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09579, allocations: 44.49 MB / 309 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4589/0.5548, allocations: 74.73 MB / 383.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/0.5552, allocations: 71.05 kB / 383.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.052/0.6072, allocations: 8.049 MB / 391.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.6073, allocations: 0 / 391.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.602e-05/0.6073, allocations: 15.3 kB / 391.8 MB, free: 13.98 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.002571/0.6099, allocations: 0.7663 MB / 392.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.61, allocations: 11.62 kB / 392.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.6102, allocations: 66.27 kB / 392.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008285/0.6111, allocations: 355.9 kB / 393 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.556e-05/0.6112, allocations: 37.25 kB / 393.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.6113, allocations: 53.31 kB / 393.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.613, allocations: 480.7 kB / 393.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.6131, allocations: 0 / 393.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-05/0.6132, allocations: 20 kB / 393.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.6133, allocations: 11.66 kB / 393.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.6148, allocations: 351.2 kB / 393.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005826/0.6206, allocations: 1.702 MB / 395.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/0.6216, allocations: 270 kB / 395.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/0.6217, allocations: 3.984 kB / 395.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.6217, allocations: 45.3 kB / 396 MB, free: 12.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 4.959e-06/0.6218, allocations: 3.938 kB / 396 MB, free: 12.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.003882/0.6257, allocations: 0.961 MB / 396.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.6258, allocations: 80.98 kB / 397 MB, free: 11.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008102/0.6266, allocations: 396 kB / 397.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/0.6267, allocations: 31.2 kB / 397.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.627, allocations: 329.2 kB / 397.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.6271, allocations: 119.2 kB / 397.9 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.6272, allocations: 3.875 kB / 397.9 MB, free: 11.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6273, allocations: 329.2 kB / 398.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005308/0.6279, allocations: 107.4 kB / 398.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.6285, allocations: 189.9 kB / 398.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006042/0.6291, allocations: 129.9 kB / 398.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.6291, allocations: 0 / 398.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001906/0.6311, allocations: 436.8 kB / 399 MB, free: 10.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.6311, allocations: 7.875 kB / 399 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.6312, allocations: 3.875 kB / 399 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000739/0.6319, allocations: 84.17 kB / 399.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009152/0.6329, allocations: 78.05 kB / 399.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.6357, allocations: 2.871 MB / 402.1 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.6364, allocations: 19.25 kB / 402.1 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.6364, allocations: 14.59 kB / 402.1 MB, free: 7.949 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.0003324/0.6368, allocations: 164.9 kB / 402.3 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.6369, allocations: 46.69 kB / 402.3 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.439e-05/0.637, allocations: 43.97 kB / 402.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.637, allocations: 3.875 kB / 402.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.637, allocations: 0 / 402.4 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.637, allocations: 7.797 kB / 402.4 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.6389, allocations: 0.95 MB / 403.3 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.639, allocations: 0 / 403.3 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.6393, allocations: 55.02 kB / 403.4 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000436/0.6398, allocations: 78.62 kB / 403.4 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.6398, allocations: 7.844 kB / 403.5 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/0.6425, allocations: 2.874 MB / 406.3 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6425, allocations: 1.312 kB / 406.3 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.6444, allocations: 0.6212 MB / 406.9 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.6446, allocations: 115.6 kB / 407.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/0.6447, allocations: 9.875 kB / 407.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/0.6453, allocations: 37.64 kB / 407.1 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.6454, allocations: 25.94 kB / 407.1 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.6455, allocations: 15.14 kB / 407.1 MB, free: 4.328 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00041/0.6459, allocations: 270.6 kB / 407.4 MB, free: 4.246 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6459, allocations: 0 / 407.4 MB, free: 4.246 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008066/0.6467, allocations: 118.2 kB / 407.5 MB, free: 4.242 MB / 314.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.0001832/0.6469, allocations: 114.1 kB / 407.6 MB, free: 4.148 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.6483, allocations: 0.5331 MB / 408.2 MB, free: 19.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6484, allocations: 0 / 408.2 MB, free: 19.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.6492, allocations: 387.4 kB / 408.5 MB, free: 19.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.6499, allocations: 57.62 kB / 408.6 MB, free: 19.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.6523, allocations: 1.203 MB / 409.8 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.6529, allocations: 0.8468 MB / 410.7 MB, free: 18.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.6531, allocations: 30.53 kB / 410.7 MB, free: 18.2 MB / 330.7 MB Notification: Performance of SimCode: time 1.021e-06/0.6531, allocations: 1.281 kB / 410.7 MB, free: 18.2 MB / 330.7 MB Notification: Performance of Templates: time 0.01429/0.6674, allocations: 8.545 MB / 419.2 MB, free: 14.76 MB / 330.7 MB