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.TransformerYD.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.TransformerYD,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004727, allocations: 8 kB / 264.1 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2948, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4342, allocations: 76.82 MB / 385.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.4346, allocations: 71.95 kB / 385.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07757/0.5122, allocations: 18.99 MB / 404.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5122, allocations: 3.938 kB / 404.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001097/0.5123, allocations: 27.98 kB / 404.5 MB, free: 12.52 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.00488/0.5172, allocations: 1.477 MB / 406 MB, free: 10.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.5173, allocations: 12.03 kB / 406 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005661/0.5179, allocations: 181.1 kB / 406.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003968/0.5183, allocations: 142.7 kB / 406.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.5211, allocations: 0.9174 MB / 407.2 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.5212, allocations: 86.25 kB / 407.3 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/0.5215, allocations: 108 kB / 407.4 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004411/0.5259, allocations: 1.525 MB / 408.9 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.526, allocations: 4 kB / 408.9 MB, free: 7.887 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/0.5262, allocations: 44 kB / 409 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/0.5263, allocations: 32 kB / 409 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003518/0.5298, allocations: 1.231 MB / 410.2 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.5409, allocations: 4.311 MB / 414.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.5428, allocations: 1.316 MB / 415.8 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.197e-05/0.5429, allocations: 8.438 kB / 415.9 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.5429, allocations: 39 kB / 415.9 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 3.486e-06/0.5429, allocations: 0 / 415.9 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.2524/0.7953, allocations: 0.8759 MB / 416.8 MB, free: 88.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.7954, allocations: 56.97 kB / 416.8 MB, free: 88.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.7974, allocations: 0.7306 MB / 417.6 MB, free: 88.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.7976, allocations: 35.7 kB / 417.6 MB, free: 88.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.7981, allocations: 0.5451 MB / 418.1 MB, free: 87.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.7983, allocations: 176.2 kB / 418.3 MB, free: 87.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.7983, allocations: 9.438 kB / 418.3 MB, free: 87.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.7985, allocations: 384.5 kB / 418.7 MB, free: 87.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.7995, allocations: 304.3 kB / 419 MB, free: 87.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009037/0.8005, allocations: 396.8 kB / 419.4 MB, free: 87.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008887/0.8014, allocations: 362.3 kB / 419.7 MB, free: 87.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.8014, allocations: 0 / 419.7 MB, free: 87.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002011/0.8034, allocations: 0.8242 MB / 420.6 MB, free: 87.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.8035, allocations: 3.75 kB / 420.6 MB, free: 87.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.8035, allocations: 11.44 kB / 420.6 MB, free: 87.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/0.8036, allocations: 7.453 kB / 420.6 MB, free: 87.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.8047, allocations: 155.6 kB / 420.7 MB, free: 87.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.8047, allocations: 10.56 kB / 420.7 MB, free: 87.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007328/0.8055, allocations: 67.42 kB / 420.8 MB, free: 87.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.8055, allocations: 19.19 kB / 420.8 MB, free: 87.34 MB / 346.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.0008822/0.8064, allocations: 457 kB / 421.3 MB, free: 87.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.8067, allocations: 73.72 kB / 421.3 MB, free: 87.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.807, allocations: 88.88 kB / 421.4 MB, free: 87.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.807, allocations: 14.67 kB / 421.4 MB, free: 87.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.807, allocations: 0 / 421.4 MB, free: 87.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.807, allocations: 1.078 kB / 421.4 MB, free: 87.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004513/0.8115, allocations: 1.925 MB / 423.4 MB, free: 86.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.8116, allocations: 3.953 kB / 423.4 MB, free: 86.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009605/0.8126, allocations: 125 kB / 423.5 MB, free: 86.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.8126, allocations: 3.875 kB / 423.5 MB, free: 86.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.8127, allocations: 12.84 kB / 423.5 MB, free: 86.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/0.8127, allocations: 3.375 kB / 423.5 MB, free: 86.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8127, allocations: 3.562 kB / 423.5 MB, free: 86.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.815, allocations: 1.143 MB / 424.7 MB, free: 86.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.8154, allocations: 166.4 kB / 424.8 MB, free: 86.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.8156, allocations: 12.92 kB / 424.8 MB, free: 86.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/0.8164, allocations: 58.11 kB / 424.9 MB, free: 86.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.8165, allocations: 40.62 kB / 424.9 MB, free: 86.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.8166, allocations: 14.16 kB / 424.9 MB, free: 86.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001022/0.8176, allocations: 0.5812 MB / 425.5 MB, free: 86.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8176, allocations: 0 / 425.5 MB, free: 86.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001088/0.8187, allocations: 283.8 kB / 425.8 MB, free: 86.28 MB / 346.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.002722/0.8215, allocations: 1.916 MB / 427.7 MB, free: 85.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.8231, allocations: 0.6499 MB / 428.4 MB, free: 85.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/0.8231, allocations: 0 / 428.4 MB, free: 85.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006734/0.8238, allocations: 323.6 kB / 428.7 MB, free: 85.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.8251, allocations: 162.3 kB / 428.8 MB, free: 85.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.8381, allocations: 7.592 MB / 436.4 MB, free: 80.83 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.8392, allocations: 1.361 MB / 437.8 MB, free: 80.01 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009344/0.8401, allocations: 215.1 kB / 438 MB, free: 79.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006765/0.8408, allocations: 381.4 kB / 438.4 MB, free: 79.69 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8408, allocations: 2.625 kB / 438.4 MB, free: 79.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/0.8912, allocations: 17.26 MB / 455.6 MB, free: 65.72 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.8915, allocations: 180.3 kB / 455.8 MB, free: 65.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/3.853, allocations: 0 / 455.8 MB, free: 65.48 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat