Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.000479, allocations: 8 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2889, allocations: 44.51 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.04222/0.3312, allocations: 25.08 MB / 333.6 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02077/0.352, allocations: 7.032 MB / 340.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005947/0.358, allocations: 207.3 kB / 340.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007302/0.3654, allocations: 1.574 MB / 342.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01265/0.3781, allocations: 2.505 MB / 345 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007921/0.386, allocations: 1.409 MB / 346.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.04209/0.4282, allocations: 18.55 MB / 364.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1025/0.5307, allocations: 35.52 MB / 400.4 MB, free: 0.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01374/0.5445, allocations: 6.432 MB / 406.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0183/0.5628, allocations: 7.802 MB / 414.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005185/0.5681, allocations: 1.168 MB / 415.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5189/1.087, allocations: 1.344 MB / 417.2 MB, free: 39.54 MB / 346.8 MB Notification: Performance of NFScalarize.scalarize: time 0.006809/1.094, allocations: 3.384 MB / 420.6 MB, free: 39.54 MB / 346.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007599/1.102, allocations: 3.715 MB / 424.3 MB, free: 39.51 MB / 346.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0405/1.142, allocations: 33.69 MB / 458 MB, free: 22.84 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.142, allocations: 2.406 kB / 458 MB, free: 22.84 MB / 346.8 MB Notification: Performance of FrontEnd: time 3.516e-06/1.142, allocations: 3.906 kB / 458 MB, free: 22.84 MB / 346.8 MB Notification: Performance of Transformations before backend: time 0.001209/1.143, allocations: 0 / 458 MB, free: 22.84 MB / 346.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.08125/1.225, allocations: 18.97 MB / 476.9 MB, free: 12.2 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.225, allocations: 8.031 kB / 477 MB, free: 12.19 MB / 346.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01324/1.238, allocations: 3.112 MB / 480.1 MB, free: 10.3 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1295/1.368, allocations: 12.34 MB / 492.4 MB, free: 14.76 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04373/1.411, allocations: 10.45 MB / 0.4911 GB, free: 8.59 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00203/1.413, allocations: 1.397 MB / 0.4924 GB, free: 7.793 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009782/1.423, allocations: 1.822 MB / 0.4942 GB, free: 6.582 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1273/1.551, allocations: 30.6 MB / 0.5241 GB, free: 10.17 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001001/1.552, allocations: 23.8 kB / 0.5241 GB, free: 10.15 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007607/1.559, allocations: 0.7598 MB / 0.5249 GB, free: 9.406 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001678/1.561, allocations: 0.9841 MB / 0.5258 GB, free: 8.418 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09194/1.653, allocations: 27.76 MB / 0.5529 GB, free: 12.62 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5137/2.167, allocations: 94.6 MB / 0.6453 GB, free: 65.93 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05002/2.217, allocations: 53.35 MB / 0.6974 GB, free: 7.676 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04966/2.267, allocations: 16.84 MB / 0.7139 GB, free: 6.535 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.718e-05/2.267, allocations: 78 kB / 0.7139 GB, free: 6.449 MB / 442.8 MB Notification: Performance of pre-optimization done (n=445): time 9.077e-06/2.267, allocations: 0 / 0.7139 GB, free: 6.449 MB / 442.8 MB Notification: Performance of matching and sorting (n=445): time 0.06966/2.336, allocations: 14.8 MB / 0.7284 GB, free: 7.449 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/2.337, allocations: 120.5 kB / 0.7285 GB, free: 7.312 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3428/2.679, allocations: 7.41 MB / 0.7357 GB, free: 147.1 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009268/2.68, allocations: 96.89 kB / 0.7358 GB, free: 147 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007346/2.688, allocations: 8.504 MB / 0.7441 GB, free: 142.7 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002478/2.69, allocations: 1.615 MB / 0.7457 GB, free: 141.7 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/2.692, allocations: 218.4 kB / 0.7459 GB, free: 141.7 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001034/2.693, allocations: 0.7695 MB / 0.7467 GB, free: 141.4 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01208/2.705, allocations: 4.76 MB / 0.7513 GB, free: 140.8 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01607/2.721, allocations: 10.4 MB / 0.7615 GB, free: 131.6 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.016/2.737, allocations: 7.334 MB / 0.7686 GB, free: 128.4 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003598/2.737, allocations: 56.72 kB / 0.7687 GB, free: 128.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.04044/2.778, allocations: 16.18 MB / 0.7845 GB, free: 121.9 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/2.778, allocations: 87.31 kB / 0.7846 GB, free: 121.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003421/2.778, allocations: 195.2 kB / 0.7848 GB, free: 121.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009606/2.788, allocations: 1.833 MB / 0.7865 GB, free: 120.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01565/2.804, allocations: 2.486 MB / 0.789 GB, free: 118.4 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02424/2.828, allocations: 12.34 MB / 0.801 GB, free: 107.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0132/2.841, allocations: 1.555 MB / 0.8025 GB, free: 106.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002405/2.844, allocations: 0.6006 MB / 0.8031 GB, free: 105.5 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * 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 (1308): * Single equations (assignments): 1299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01753/2.861, allocations: 7.402 MB / 0.8104 GB, free: 99.33 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001636/2.863, allocations: 0.6248 MB / 0.811 GB, free: 98.7 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02329/2.886, allocations: 8.374 MB / 0.8191 GB, free: 91.61 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01615/2.902, allocations: 6.741 MB / 0.8257 GB, free: 84.85 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.807e-05/2.902, allocations: 16 kB / 0.8257 GB, free: 84.83 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001142/2.903, allocations: 23.91 kB / 0.8258 GB, free: 84.81 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05764/2.96, allocations: 21.12 MB / 0.8464 GB, free: 63.71 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-05/2.96, allocations: 1.062 kB / 0.8464 GB, free: 63.71 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006598/2.967, allocations: 0.7567 MB / 0.8471 GB, free: 62.95 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009342/2.976, allocations: 1.555 MB / 0.8486 GB, free: 61.39 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009335/2.977, allocations: 95.97 kB / 0.8487 GB, free: 61.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02354/3.001, allocations: 11.98 MB / 0.8604 GB, free: 49.2 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/3.001, allocations: 1.875 kB / 0.8604 GB, free: 49.2 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02759/3.029, allocations: 12.02 MB / 0.8722 GB, free: 37.14 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004584/3.033, allocations: 1.382 MB / 0.8735 GB, free: 35.73 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00199/3.035, allocations: 76 kB / 0.8736 GB, free: 35.66 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006191/3.041, allocations: 303.7 kB / 0.8739 GB, free: 35.36 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001449/3.043, allocations: 304.3 kB / 0.8742 GB, free: 35.06 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005634/3.043, allocations: 124 kB / 0.8743 GB, free: 34.94 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01189/3.055, allocations: 4.863 MB / 0.879 GB, free: 30.09 MB / 458.8 MB Notification: Performance of sort global known variables: time 9.22e-07/3.055, allocations: 0 / 0.879 GB, free: 30.09 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01676/3.072, allocations: 4.207 MB / 0.8832 GB, free: 25.87 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (377): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 92} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02975/3.102, allocations: 12.78 MB / 0.8956 GB, free: 13.07 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.3146/3.417, allocations: 11.23 MB / 0.9066 GB, free: 165.8 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/3.417, allocations: 0 / 0.9066 GB, free: 165.8 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01094/3.428, allocations: 4.161 MB / 0.9107 GB, free: 165.2 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01116/3.439, allocations: 1.406 MB / 0.912 GB, free: 164.7 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.233/3.672, allocations: 89.05 MB / 0.999 GB, free: 86.39 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0238/3.696, allocations: 11.9 MB / 1.011 GB, free: 74.45 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01831/3.714, allocations: 3.948 MB / 1.014 GB, free: 70.49 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01466/3.729, allocations: 6.123 MB / 1.02 GB, free: 64.37 MB / 458.8 MB Notification: Performance of SimCode: time 1.493e-06/3.729, allocations: 0 / 1.02 GB, free: 64.37 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6829/4.412, allocations: 201.7 MB / 1.217 GB, free: 2.887 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/4.412, allocations: 269 kB / 1.218 GB, free: 2.531 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/12.52, allocations: 0 / 1.218 GB, free: 2.531 MB / 458.8 MB