Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.802/1.802, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 12 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08634/0.08673, allocations: 44.49 MB / 308.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.386/0.4728, allocations: 74.74 MB / 383.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.473, allocations: 71.08 kB / 383.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02873/0.5018, allocations: 8.04 MB / 391.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.379e-06/0.5019, allocations: 0 / 391.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.114e-05/0.5019, allocations: 11.69 kB / 391.3 MB, free: 17.22 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.001246/0.5032, allocations: 0.7721 MB / 392.1 MB, free: 16.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.5032, allocations: 7.75 kB / 392.1 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.5033, allocations: 70.2 kB / 392.1 MB, free: 16.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.5038, allocations: 354.5 kB / 392.5 MB, free: 16.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.5039, allocations: 38.94 kB / 392.5 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.53e-05/0.504, allocations: 52.16 kB / 392.6 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009604/0.505, allocations: 478.7 kB / 393 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.505, allocations: 0 / 393 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.5051, allocations: 21.91 kB / 393.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.5051, allocations: 13.89 kB / 393.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/0.5059, allocations: 340.8 kB / 393.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.509, allocations: 1.711 MB / 395.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.5096, allocations: 266.5 kB / 395.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.5097, allocations: 3.938 kB / 395.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.5097, allocations: 42.28 kB / 395.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.178e-06/0.5097, allocations: 3.938 kB / 395.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.00222/0.5119, allocations: 0.9643 MB / 396.4 MB, free: 14.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.512, allocations: 87.7 kB / 396.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.5125, allocations: 342.7 kB / 396.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.5125, allocations: 29.02 kB / 396.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.5127, allocations: 327.3 kB / 397.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.5128, allocations: 120.2 kB / 397.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.5128, allocations: 7.125 kB / 397.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.5129, allocations: 328.6 kB / 397.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.5132, allocations: 108 kB / 397.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.5135, allocations: 197.4 kB / 397.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.5139, allocations: 132.1 kB / 398 MB, free: 13.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.228e-06/0.5139, allocations: 0 / 398 MB, free: 13.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001032/0.5149, allocations: 437.4 kB / 398.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.515, allocations: 3.875 kB / 398.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.675e-06/0.515, allocations: 3.875 kB / 398.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.5154, allocations: 85.72 kB / 398.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.5158, allocations: 77.73 kB / 398.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.5181, allocations: 2.868 MB / 401.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.5186, allocations: 22.06 kB / 401.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.5186, allocations: 18.22 kB / 401.5 MB, free: 11.19 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.0002678/0.5189, allocations: 162.8 kB / 401.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.519, allocations: 42.88 kB / 401.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.604e-05/0.5191, allocations: 41.55 kB / 401.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.5191, allocations: 3.875 kB / 401.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.361e-06/0.5192, allocations: 3.875 kB / 401.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.637e-06/0.5192, allocations: 9.906 kB / 401.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.5209, allocations: 0.9539 MB / 402.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5209, allocations: 0 / 402.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.5212, allocations: 54.16 kB / 402.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003834/0.5216, allocations: 82.48 kB / 402.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.5216, allocations: 10.33 kB / 402.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.5242, allocations: 2.875 MB / 405.8 MB, free: 23.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.998e-06/0.5242, allocations: 3.969 kB / 405.8 MB, free: 23.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.5254, allocations: 0.6291 MB / 406.4 MB, free: 23.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.5256, allocations: 115.3 kB / 406.5 MB, free: 23.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/0.5257, allocations: 11.41 kB / 406.5 MB, free: 23.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.5261, allocations: 33.53 kB / 406.6 MB, free: 23.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.5262, allocations: 26.95 kB / 406.6 MB, free: 23.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.5263, allocations: 11.62 kB / 406.6 MB, free: 23.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003724/0.5266, allocations: 272.2 kB / 406.9 MB, free: 23.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.19e-07/0.5267, allocations: 0 / 406.9 MB, free: 23.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007832/0.5275, allocations: 121.8 kB / 407 MB, free: 23.47 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.000188/0.5277, allocations: 117.8 kB / 407.1 MB, free: 23.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.5287, allocations: 0.5226 MB / 407.6 MB, free: 23.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/0.5288, allocations: 0 / 407.6 MB, free: 23.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007679/0.5295, allocations: 390.6 kB / 408 MB, free: 22.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.5301, allocations: 53.45 kB / 408.1 MB, free: 22.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.532, allocations: 1.205 MB / 409.3 MB, free: 22.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.5325, allocations: 0.8429 MB / 410.1 MB, free: 21.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.5327, allocations: 44.73 kB / 410.1 MB, free: 21.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.482e-06/0.5327, allocations: 0 / 410.1 MB, free: 21.42 MB / 330.7 MB Notification: Performance of Templates: time 0.0118/0.5445, allocations: 8.543 MB / 418.7 MB, free: 18.54 MB / 330.7 MB