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.TransformerYY.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.TransformerYY,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.682/1.682, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 8 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08192/0.08232, allocations: 38.77 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3474/0.4298, allocations: 71.08 MB / 343.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.4301, allocations: 76.7 kB / 343.3 MB, free: 1.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07848/0.5086, allocations: 18.84 MB / 362.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5086, allocations: 0 / 362.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001069/0.5088, allocations: 32 kB / 362.1 MB, free: 1.738 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004316/0.5131, allocations: 1.456 MB / 363.6 MB, free: 316 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.5132, allocations: 8.031 kB / 363.6 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005403/0.5137, allocations: 175.4 kB / 363.8 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003521/0.5141, allocations: 149.7 kB / 363.9 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.5163, allocations: 0.8515 MB / 364.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/0.5164, allocations: 84.67 kB / 364.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000261/0.5167, allocations: 113 kB / 365 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.5204, allocations: 1.501 MB / 366.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.5205, allocations: 0 / 366.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.5207, allocations: 50.31 kB / 366.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.5207, allocations: 31.94 kB / 366.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.5239, allocations: 1.227 MB / 367.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.5343, allocations: 4.258 MB / 372 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.5361, allocations: 1.315 MB / 373.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.5362, allocations: 4.438 kB / 373.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.5363, allocations: 38.5 kB / 373.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 3.887e-06/0.5363, allocations: 0 / 373.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.004971/0.5413, allocations: 1.973 MB / 375.4 MB, free: 6.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.5413, allocations: 59.84 kB / 375.4 MB, free: 6.895 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.5428, allocations: 0.7411 MB / 376.2 MB, free: 6.316 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.5429, allocations: 40.45 kB / 376.2 MB, free: 6.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.5433, allocations: 0.5453 MB / 376.8 MB, free: 5.867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.5435, allocations: 174.5 kB / 376.9 MB, free: 5.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.5436, allocations: 13.62 kB / 376.9 MB, free: 5.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.5438, allocations: 389.7 kB / 377.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007655/0.5446, allocations: 312.5 kB / 377.6 MB, free: 5.141 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008675/0.5455, allocations: 406.1 kB / 378 MB, free: 4.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/0.5464, allocations: 374 kB / 378.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5464, allocations: 8 kB / 378.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002355/0.5488, allocations: 0.9205 MB / 379.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5488, allocations: 8 kB / 379.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.5489, allocations: 3.984 kB / 379.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004309/0.5493, allocations: 112.7 kB / 379.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009516/0.5503, allocations: 128 kB / 379.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003222/0.5535, allocations: 2.189 MB / 381.7 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.5542, allocations: 32.16 kB / 381.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.5543, allocations: 16 kB / 381.8 MB, free: 0.8047 MB / 298.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.001024/0.5553, allocations: 465.5 kB / 382.2 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.5555, allocations: 71.16 kB / 382.3 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.5557, allocations: 95.06 kB / 382.4 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.5558, allocations: 7.953 kB / 382.4 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.5558, allocations: 0 / 382.4 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5558, allocations: 0 / 382.4 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004885/0.5607, allocations: 2.024 MB / 384.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5607, allocations: 4.031 kB / 384.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006812/0.5614, allocations: 87.88 kB / 384.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003812/0.5618, allocations: 100.8 kB / 384.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/0.5619, allocations: 15.98 kB / 384.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003079/0.565, allocations: 2.158 MB / 386.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.565, allocations: 0 / 386.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002955/0.568, allocations: 1.238 MB / 388 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.5685, allocations: 220.2 kB / 388.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.5687, allocations: 15.98 kB / 388.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/0.5694, allocations: 52.2 kB / 388.3 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.5696, allocations: 40.45 kB / 388.4 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.5696, allocations: 19.98 kB / 388.4 MB, free: 9.938 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001265/0.5709, allocations: 0.5849 MB / 389 MB, free: 9.355 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5709, allocations: 0 / 389 MB, free: 9.355 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001047/0.572, allocations: 208 kB / 389.2 MB, free: 9.152 MB / 314.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.003225/0.5752, allocations: 1.94 MB / 391.1 MB, free: 7.164 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.5774, allocations: 0.8402 MB / 392 MB, free: 6.305 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5775, allocations: 0.625 kB / 392 MB, free: 6.305 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.5787, allocations: 481 kB / 392.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.58, allocations: 167 kB / 392.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/0.5949, allocations: 7.755 MB / 400.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.5963, allocations: 1.352 MB / 401.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008937/0.5972, allocations: 189.6 kB / 401.9 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/0.598, allocations: 379.3 kB / 402.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.598, allocations: 0 / 402.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0618/0.6599, allocations: 17.85 MB / 420.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000348/0.6603, allocations: 204.3 kB / 420.3 MB, free: 9.805 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.021/3.681, allocations: 0 / 420.3 MB, free: 9.805 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat