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.823/1.823, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 19.98 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07934/0.07973, allocations: 44.5 MB / 308.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004702/0.08448, allocations: 3.319 MB / 311.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.08665, allocations: 0.9128 MB / 312.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/0.08702, allocations: 11.94 kB / 312.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.08719, allocations: 75.42 kB / 312.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005307/0.08774, allocations: 203.4 kB / 312.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.08814, allocations: 103.8 kB / 313 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007343/0.08889, allocations: 475.2 kB / 313.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.08923, allocations: 154.3 kB / 313.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.08958, allocations: 215.2 kB / 313.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.09, allocations: 258.9 kB / 314 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.849e-05/0.0901, allocations: 32 kB / 314.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.812e-05/0.09021, allocations: 28 kB / 314.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.09034, allocations: 95.66 kB / 314.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.09051, allocations: 125.4 kB / 314.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.09112, allocations: 466.9 kB / 314.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.994e-06/0.09114, allocations: 0 / 314.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.239e-06/0.09115, allocations: 0 / 314.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.09117, allocations: 0 / 314.8 MB, free: 10.57 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.00156/0.09274, allocations: 0.7871 MB / 315.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.0928, allocations: 8.031 kB / 315.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.09295, allocations: 63.25 kB / 315.6 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.09358, allocations: 358.6 kB / 316 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/0.09364, allocations: 37 kB / 316 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.831e-05/0.09375, allocations: 48 kB / 316.1 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.09488, allocations: 487.2 kB / 316.5 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.09492, allocations: 0 / 316.5 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/0.09499, allocations: 20 kB / 316.6 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.09502, allocations: 12 kB / 316.6 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009148/0.09595, allocations: 336.3 kB / 316.9 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/0.09975, allocations: 1.72 MB / 318.6 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000642/0.1004, allocations: 261.1 kB / 318.9 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1005, allocations: 320 / 318.9 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.1005, allocations: 46.55 kB / 318.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.791e-06/0.1006, allocations: 0 / 318.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.00257/0.1031, allocations: 0.9578 MB / 319.9 MB, free: 5.152 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.1032, allocations: 85.05 kB / 320 MB, free: 5.051 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.1039, allocations: 393.5 kB / 320.4 MB, free: 4.652 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.1039, allocations: 33.7 kB / 320.4 MB, free: 4.613 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.1042, allocations: 330 kB / 320.7 MB, free: 4.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.1043, allocations: 114.4 kB / 320.8 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.1044, allocations: 4 kB / 320.8 MB, free: 4.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1046, allocations: 330.8 kB / 321.1 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.1049, allocations: 112.8 kB / 321.3 MB, free: 3.727 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.1053, allocations: 190.8 kB / 321.4 MB, free: 3.504 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.1057, allocations: 135.3 kB / 321.6 MB, free: 3.375 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.281e-06/0.1057, allocations: 0 / 321.6 MB, free: 3.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001185/0.1069, allocations: 440.2 kB / 322 MB, free: 2.938 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1069, allocations: 5.25 kB / 322 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.939e-06/0.107, allocations: 4 kB / 322 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/0.1074, allocations: 85.69 kB / 322.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.1079, allocations: 75.91 kB / 322.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/0.1114, allocations: 2.873 MB / 325 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.1118, allocations: 23.84 kB / 325.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.1119, allocations: 19.98 kB / 325.1 MB, free: 15.58 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.0003025/0.1122, allocations: 165.8 kB / 325.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.1124, allocations: 43.53 kB / 325.3 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.501e-05/0.1125, allocations: 43.47 kB / 325.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.1125, allocations: 7.938 kB / 325.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1125, allocations: 0 / 325.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.208e-06/0.1125, allocations: 7.984 kB / 325.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.1146, allocations: 0.9366 MB / 326.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.814e-06/0.1146, allocations: 384 / 326.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.1149, allocations: 55.91 kB / 326.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004029/0.1153, allocations: 85.64 kB / 326.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.1154, allocations: 8 kB / 326.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003393/0.1188, allocations: 2.865 MB / 329.3 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.2e-05/0.1188, allocations: 4.328 kB / 329.3 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.1202, allocations: 0.6282 MB / 329.9 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.1204, allocations: 120.6 kB / 330 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.552e-05/0.1205, allocations: 8 kB / 330.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.121, allocations: 35.98 kB / 330.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.1211, allocations: 27.95 kB / 330.1 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.1211, allocations: 12 kB / 330.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004297/0.1216, allocations: 267.2 kB / 330.4 MB, free: 9.898 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.1216, allocations: 0 / 330.4 MB, free: 9.898 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008081/0.1224, allocations: 116 kB / 330.5 MB, free: 9.785 MB / 282.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.0001873/0.1226, allocations: 115.5 kB / 330.6 MB, free: 9.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.1239, allocations: 0.521 MB / 331.1 MB, free: 9.113 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.121e-06/0.1239, allocations: 0 / 331.1 MB, free: 9.113 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008495/0.1248, allocations: 389.2 kB / 331.5 MB, free: 8.707 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.1253, allocations: 57.73 kB / 331.6 MB, free: 8.652 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.1277, allocations: 1.205 MB / 332.8 MB, free: 7.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.1283, allocations: 0.847 MB / 333.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.1285, allocations: 31.44 kB / 333.7 MB, free: 6.5 MB / 282.7 MB Notification: Performance of SimCode: time 1.572e-06/0.1285, allocations: 0 / 333.7 MB, free: 6.5 MB / 282.7 MB Notification: Performance of Templates: time 0.01461/0.1431, allocations: 8.542 MB / 342.2 MB, free: 13.95 MB / 298.7 MB