Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.SingularTransfomer.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadModel(ModelicaTest): time 2.313/2.313, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004469, allocations: 11.98 kB / 314.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2829, allocations: 54.87 MB / 369.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003133/0.2861, allocations: 2.062 MB / 371.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.2875, allocations: 0.6093 MB / 371.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.2876, allocations: 4 kB / 371.8 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.674e-05/0.2877, allocations: 31.77 kB / 371.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.288, allocations: 87.73 kB / 372 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.2882, allocations: 47.92 kB / 372 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.2886, allocations: 203.5 kB / 372.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.2888, allocations: 76.44 kB / 372.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.289, allocations: 99.62 kB / 372.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.2892, allocations: 99.55 kB / 372.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.2892, allocations: 16 kB / 372.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.781e-05/0.2893, allocations: 12 kB / 372.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.2894, allocations: 39.83 kB / 372.5 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.545e-05/0.2895, allocations: 69.58 kB / 372.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.2897, allocations: 200.2 kB / 372.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.68e-06/0.2898, allocations: 0 / 372.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.056e-06/0.2898, allocations: 0 / 372.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.687e-06/0.2898, allocations: 0 / 372.8 MB, free: 7.07 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008851/0.2907, allocations: 0.5027 MB / 373.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2907, allocations: 8.031 kB / 373.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.422e-05/0.2908, allocations: 23.72 kB / 373.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.2912, allocations: 242.7 kB / 373.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.2912, allocations: 12.44 kB / 373.6 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.2913, allocations: 24 kB / 373.6 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.2918, allocations: 195.2 kB / 373.8 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2918, allocations: 4 kB / 373.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.2919, allocations: 4 kB / 373.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.2919, allocations: 11.95 kB / 373.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.2923, allocations: 145.7 kB / 374 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.2941, allocations: 0.8142 MB / 374.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.2944, allocations: 98.48 kB / 374.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2945, allocations: 8 kB / 374.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.2945, allocations: 30.56 kB / 374.9 MB, free: 4.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 3.528e-06/0.2945, allocations: 0 / 374.9 MB, free: 4.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.002437/0.297, allocations: 0.7467 MB / 375.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.2971, allocations: 55.36 kB / 375.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.2974, allocations: 219.7 kB / 375.9 MB, free: 3.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.2974, allocations: 25.7 kB / 376 MB, free: 3.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.2976, allocations: 230.2 kB / 376.2 MB, free: 3.418 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.782e-05/0.2977, allocations: 63.17 kB / 376.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.2977, allocations: 4.094 kB / 376.2 MB, free: 3.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2979, allocations: 322.8 kB / 376.6 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.2981, allocations: 63.91 kB / 376.6 MB, free: 2.965 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.2984, allocations: 109.1 kB / 376.7 MB, free: 2.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.2986, allocations: 75.98 kB / 376.8 MB, free: 2.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.758e-06/0.2986, allocations: 0 / 376.8 MB, free: 2.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007903/0.2994, allocations: 286.2 kB / 377.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2995, allocations: 4 kB / 377.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.2995, allocations: 4 kB / 377.1 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/0.2998, allocations: 65.67 kB / 377.2 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.3001, allocations: 39.92 kB / 377.2 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.3035, allocations: 2.836 MB / 380 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.3038, allocations: 11.98 kB / 380 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.3038, allocations: 8.062 kB / 380 MB, free: 15.24 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.304, allocations: 137.8 kB / 380.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.3041, allocations: 19.75 kB / 380.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.3042, allocations: 25.86 kB / 380.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-06/0.3042, allocations: 0 / 380.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.236e-06/0.3042, allocations: 4 kB / 380.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.3042, allocations: 3.953 kB / 380.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.3047, allocations: 285.5 kB / 380.5 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.222e-06/0.3047, allocations: 4 kB / 380.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3048, allocations: 15.98 kB / 380.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003249/0.3052, allocations: 69.67 kB / 380.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3052, allocations: 0 / 380.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003253/0.3085, allocations: 2.816 MB / 383.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.114e-06/0.3085, allocations: 7.984 kB / 383.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009741/0.3095, allocations: 408.2 kB / 383.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3096, allocations: 92.83 kB / 383.9 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.3097, allocations: 4 kB / 383.9 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.3099, allocations: 20.05 kB / 383.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.31, allocations: 23.91 kB / 384 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3101, allocations: 4 kB / 384 MB, free: 10.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001947/0.3103, allocations: 148.2 kB / 384.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.3103, allocations: 3.938 kB / 384.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005148/0.3108, allocations: 64 kB / 384.2 MB, free: 10.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001619/0.311, allocations: 111.2 kB / 384.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009218/0.3119, allocations: 413.3 kB / 384.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.622e-06/0.3119, allocations: 0 / 384.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006281/0.3126, allocations: 337.1 kB / 385 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.313, allocations: 40.41 kB / 385.1 MB, free: 9.801 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3143, allocations: 0.6327 MB / 385.7 MB, free: 9.141 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.3148, allocations: 0.7557 MB / 386.4 MB, free: 8.355 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.3149, allocations: 19.44 kB / 386.5 MB, free: 8.336 MB / 314.7 MB Notification: Performance of SimCode: time 3.883e-06/0.3149, allocations: 0 / 386.5 MB, free: 8.336 MB / 314.7 MB Notification: Performance of Templates: time 0.008487/0.3234, allocations: 4.343 MB / 390.8 MB, free: 3.988 MB / 314.7 MB