Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004714, allocations: 8 kB / 264.1 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3182, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.4773, allocations: 76.27 MB / 384.8 MB, free: 404 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.4777, allocations: 79.97 kB / 384.9 MB, free: 324 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07715/0.5549, allocations: 18.52 MB / 403.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5549, allocations: 0 / 403.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001122/0.555, allocations: 27.94 kB / 403.5 MB, free: 13.64 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004676/0.5597, allocations: 1.461 MB / 404.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.5598, allocations: 8.031 kB / 404.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005876/0.5604, allocations: 173 kB / 405.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.5608, allocations: 146.7 kB / 405.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.5633, allocations: 0.8531 MB / 406.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.5635, allocations: 82.22 kB / 406.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/0.5638, allocations: 111.9 kB / 406.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004446/0.5682, allocations: 1.504 MB / 407.8 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.5683, allocations: 0 / 407.8 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.5685, allocations: 48 kB / 407.8 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.5686, allocations: 28 kB / 407.9 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/0.5723, allocations: 1.23 MB / 409.1 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.5838, allocations: 4.26 MB / 413.4 MB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.5858, allocations: 1.302 MB / 414.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/0.5859, allocations: 8.375 kB / 414.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.5859, allocations: 46.98 kB / 414.7 MB, free: 1.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.367e-06/0.5859, allocations: 0 / 414.7 MB, free: 1.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.2575/0.8434, allocations: 1.961 MB / 416.7 MB, free: 88.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.8435, allocations: 59.67 kB / 416.7 MB, free: 88.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.8455, allocations: 0.7335 MB / 417.5 MB, free: 88.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.8457, allocations: 37.86 kB / 417.5 MB, free: 88.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.8461, allocations: 0.5409 MB / 418 MB, free: 88.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.8464, allocations: 173.5 kB / 418.2 MB, free: 88.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.8464, allocations: 10.69 kB / 418.2 MB, free: 88.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.8466, allocations: 387.2 kB / 418.6 MB, free: 88.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000903/0.8475, allocations: 309.9 kB / 418.9 MB, free: 88.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009171/0.8485, allocations: 407.5 kB / 419.3 MB, free: 87.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008895/0.8494, allocations: 383.5 kB / 419.7 MB, free: 87.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.8494, allocations: 5.047 kB / 419.7 MB, free: 87.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002161/0.8516, allocations: 0.9281 MB / 420.6 MB, free: 87.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.8516, allocations: 6.188 kB / 420.6 MB, free: 87.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.8517, allocations: 3.906 kB / 420.6 MB, free: 87.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004126/0.8521, allocations: 106.8 kB / 420.7 MB, free: 87.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009554/0.8531, allocations: 126.9 kB / 420.8 MB, free: 87.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/0.8558, allocations: 2.196 MB / 423 MB, free: 86.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007678/0.8566, allocations: 30.14 kB / 423.1 MB, free: 86.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.8567, allocations: 16 kB / 423.1 MB, free: 86.53 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008604/0.8575, allocations: 455 kB / 423.5 MB, free: 86.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.8577, allocations: 78.8 kB / 423.6 MB, free: 86.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.8579, allocations: 98.33 kB / 423.7 MB, free: 86.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.858, allocations: 3.688 kB / 423.7 MB, free: 86.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.858, allocations: 3.219 kB / 423.7 MB, free: 86.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.858, allocations: 3.953 kB / 423.7 MB, free: 86.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/0.8624, allocations: 2.012 MB / 425.7 MB, free: 86.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.8625, allocations: 3.172 kB / 425.7 MB, free: 86.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/0.8632, allocations: 90.95 kB / 425.8 MB, free: 86.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003544/0.8635, allocations: 110.2 kB / 425.9 MB, free: 86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.8636, allocations: 10.59 kB / 425.9 MB, free: 86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.8662, allocations: 2.152 MB / 428.1 MB, free: 84.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.8662, allocations: 10.36 kB / 428.1 MB, free: 84.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.8688, allocations: 1.223 MB / 429.3 MB, free: 84.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.8692, allocations: 157 kB / 429.5 MB, free: 83.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.8694, allocations: 15.05 kB / 429.5 MB, free: 83.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/0.8701, allocations: 57.95 kB / 429.5 MB, free: 83.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.8702, allocations: 36.83 kB / 429.6 MB, free: 83.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/0.8703, allocations: 14.44 kB / 429.6 MB, free: 83.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.8713, allocations: 0.5779 MB / 430.2 MB, free: 83.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.8713, allocations: 3.25 kB / 430.2 MB, free: 83.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001052/0.8724, allocations: 212 kB / 430.4 MB, free: 83.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002795/0.8752, allocations: 1.928 MB / 432.3 MB, free: 82.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.8772, allocations: 0.8363 MB / 433.2 MB, free: 82.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.8773, allocations: 0 / 433.2 MB, free: 82.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.8783, allocations: 496.3 kB / 433.6 MB, free: 81.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.8797, allocations: 160.1 kB / 433.8 MB, free: 81.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.8926, allocations: 7.739 MB / 441.5 MB, free: 77.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.8937, allocations: 1.359 MB / 442.9 MB, free: 76.33 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008073/0.8945, allocations: 184.9 kB / 443.1 MB, free: 76.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006457/0.8952, allocations: 375.7 kB / 443.4 MB, free: 75.87 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8952, allocations: 0 / 443.4 MB, free: 75.87 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05492/0.9501, allocations: 17.85 MB / 461.3 MB, free: 60.15 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.9504, allocations: 200.7 kB / 461.5 MB, free: 59.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.008/3.959, allocations: 0 / 461.5 MB, free: 59.91 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat