Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.635/1.635, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003458, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08095/0.08134, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3474/0.4288, allocations: 71.62 MB / 343.7 MB, free: 1.273 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.4291, allocations: 72.59 kB / 343.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08209/0.5112, allocations: 19.31 MB / 363.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5113, allocations: 3.938 kB / 363.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001248/0.5114, allocations: 31.94 kB / 363.2 MB, free: 0.8047 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.005583/0.517, allocations: 1.483 MB / 364.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.5171, allocations: 12.03 kB / 364.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007852/0.5179, allocations: 172.2 kB / 364.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005186/0.5184, allocations: 150.2 kB / 365 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.5216, allocations: 0.9153 MB / 365.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.5218, allocations: 86.69 kB / 366 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005466/0.5224, allocations: 112.6 kB / 366.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004244/0.5266, allocations: 1.515 MB / 367.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.5267, allocations: 0 / 367.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.5269, allocations: 52.5 kB / 367.6 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.527, allocations: 31.98 kB / 367.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/0.5304, allocations: 1.24 MB / 368.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.5413, allocations: 4.31 MB / 373.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.5431, allocations: 1.318 MB / 374.5 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.804e-05/0.5431, allocations: 12.44 kB / 374.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.5432, allocations: 38.94 kB / 374.6 MB, free: 7.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 3.566e-06/0.5432, allocations: 0 / 374.6 MB, free: 7.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.00241/0.5456, allocations: 0.8764 MB / 375.5 MB, free: 6.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.5457, allocations: 67.72 kB / 375.5 MB, free: 6.707 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.5473, allocations: 0.7387 MB / 376.3 MB, free: 6.129 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.5475, allocations: 31.77 kB / 376.3 MB, free: 6.098 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/0.548, allocations: 0.5464 MB / 376.9 MB, free: 5.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.5482, allocations: 173.7 kB / 377 MB, free: 5.539 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.5483, allocations: 14.25 kB / 377 MB, free: 5.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002535/0.5485, allocations: 383.5 kB / 377.4 MB, free: 5.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008595/0.5494, allocations: 299.8 kB / 377.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008911/0.5503, allocations: 398 kB / 378.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009514/0.5513, allocations: 366.7 kB / 378.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5513, allocations: 0 / 378.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002309/0.5536, allocations: 0.822 MB / 379.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.5537, allocations: 4 kB / 379.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5537, allocations: 4 kB / 379.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.5538, allocations: 4 kB / 379.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.555, allocations: 152.1 kB / 379.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.555, allocations: 7.984 kB / 379.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/0.5558, allocations: 67.38 kB / 379.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.5558, allocations: 19.98 kB / 379.5 MB, free: 3.266 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001031/0.5569, allocations: 461.4 kB / 380 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.5572, allocations: 79.14 kB / 380.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.5574, allocations: 95.08 kB / 380.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5575, allocations: 8 kB / 380.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5575, allocations: 0 / 380.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.5575, allocations: 3.984 kB / 380.2 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/0.5627, allocations: 1.926 MB / 382.1 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.5628, allocations: 0 / 382.1 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.5638, allocations: 119.8 kB / 382.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.5638, allocations: 4 kB / 382.2 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/0.5639, allocations: 19.97 kB / 382.2 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.5639, allocations: 8.078 kB / 382.2 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5639, allocations: 4 kB / 382.2 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.5667, allocations: 1.147 MB / 383.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006289/0.5673, allocations: 228.1 kB / 383.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.5675, allocations: 16 kB / 383.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007725/0.5683, allocations: 55.97 kB / 383.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.5685, allocations: 36.34 kB / 383.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.5685, allocations: 20 kB / 383.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00131/0.5698, allocations: 0.5809 MB / 384.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.5699, allocations: 0 / 384.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00124/0.5711, allocations: 286.7 kB / 384.6 MB, free: 14.05 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,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 (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003206/0.5744, allocations: 1.918 MB / 386.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.5762, allocations: 0.65 MB / 387.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.5762, allocations: 0 / 387.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007913/0.577, allocations: 322.2 kB / 387.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.5784, allocations: 163.4 kB / 387.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/0.5945, allocations: 7.606 MB / 395.2 MB, free: 3.238 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001728/0.5963, allocations: 1.367 MB / 396.6 MB, free: 1.844 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001121/0.5975, allocations: 217.8 kB / 396.8 MB, free: 1.629 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009402/0.5985, allocations: 379.3 kB / 397.2 MB, free: 1.262 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5985, allocations: 4 kB / 397.2 MB, free: 1.258 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06059/0.6591, allocations: 17.25 MB / 414.4 MB, free: 68 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/0.6595, allocations: 192.1 kB / 414.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/3.587, allocations: 4 kB / 414.6 MB, free: 15.81 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat