Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003453, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.09009, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005508/0.09565, allocations: 3.327 MB / 312.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.09801, allocations: 0.905 MB / 313.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.0984, allocations: 8 kB / 313.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.09859, allocations: 67.5 kB / 313.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006394/0.09924, allocations: 215.3 kB / 313.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.09969, allocations: 103.8 kB / 313.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008674/0.1006, allocations: 467.3 kB / 314.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.1009, allocations: 158.3 kB / 314.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.1013, allocations: 215.2 kB / 314.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.1018, allocations: 254.9 kB / 314.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.218e-05/0.1019, allocations: 32 kB / 314.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.102, allocations: 32 kB / 314.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1022, allocations: 99.58 kB / 314.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.1024, allocations: 129.5 kB / 315 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006983/0.1031, allocations: 462.9 kB / 315.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1031, allocations: 3.938 kB / 315.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1031, allocations: 0 / 315.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1031, allocations: 0 / 315.5 MB, free: 9.887 MB / 266.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.001977/0.1051, allocations: 0.787 MB / 316.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.1052, allocations: 8.031 kB / 316.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.1054, allocations: 63.25 kB / 316.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.106, allocations: 358.6 kB / 316.7 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/0.1061, allocations: 37 kB / 316.7 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.1062, allocations: 48 kB / 316.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.1075, allocations: 475.2 kB / 317.2 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.1075, allocations: 3.984 kB / 317.2 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.1076, allocations: 20 kB / 317.3 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.1076, allocations: 15.94 kB / 317.3 MB, free: 7.988 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1087, allocations: 332.3 kB / 317.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004212/0.1129, allocations: 1.713 MB / 319.3 MB, free: 5.852 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.1137, allocations: 273 kB / 319.6 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.1137, allocations: 4.312 kB / 319.6 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1138, allocations: 38.5 kB / 319.6 MB, free: 5.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 3.136e-06/0.1138, allocations: 0 / 319.6 MB, free: 5.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002951/0.1167, allocations: 0.9701 MB / 320.6 MB, free: 4.469 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.1168, allocations: 81.11 kB / 320.7 MB, free: 4.371 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000647/0.1175, allocations: 377.6 kB / 321 MB, free: 3.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.1175, allocations: 33.7 kB / 321.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.1178, allocations: 287.4 kB / 321.4 MB, free: 3.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.118, allocations: 114.4 kB / 321.5 MB, free: 3.547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.118, allocations: 12 kB / 321.5 MB, free: 3.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1182, allocations: 346.8 kB / 321.8 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.1186, allocations: 104.8 kB / 321.9 MB, free: 3.086 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.119, allocations: 202.7 kB / 322.1 MB, free: 2.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.1195, allocations: 120.9 kB / 322.2 MB, free: 2.734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.1195, allocations: 4 kB / 322.2 MB, free: 2.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001405/0.1209, allocations: 456.8 kB / 322.7 MB, free: 2.277 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.121, allocations: 7.953 kB / 322.7 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.121, allocations: 4 kB / 322.7 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005232/0.1215, allocations: 89.91 kB / 322.8 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005919/0.1221, allocations: 79.91 kB / 322.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/0.1256, allocations: 2.877 MB / 325.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.1262, allocations: 20.36 kB / 325.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.1262, allocations: 16 kB / 325.8 MB, free: 14.91 MB / 282.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.0002991/0.1265, allocations: 169.6 kB / 325.9 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.1267, allocations: 39.53 kB / 326 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.1268, allocations: 51.41 kB / 326 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.1268, allocations: 8.047 kB / 326 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.1268, allocations: 4 kB / 326 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.127, allocations: 112.6 kB / 326.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.1271, allocations: 4 kB / 326.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.1277, allocations: 35.98 kB / 326.2 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.1278, allocations: 31.91 kB / 326.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00161/0.1294, allocations: 0.4981 MB / 326.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001317/0.1308, allocations: 0.6394 MB / 327.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003564/0.1311, allocations: 114.9 kB / 327.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004675/0.1316, allocations: 271.2 kB / 327.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of Backend: time 4.71e-07/0.1316, allocations: 0 / 327.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.1331, allocations: 0.5173 MB / 328.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of SimCode: time 0.002784/0.136, allocations: 1.629 MB / 329.9 MB, free: 10.67 MB / 282.7 MB Notification: Performance of Templates: time 0.01542/0.1514, allocations: 4.488 MB / 334.4 MB, free: 6.199 MB / 282.7 MB