Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003438, allocations: 11.98 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.09296, allocations: 44.51 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.5177, allocations: 76.81 MB / 385.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.518, allocations: 73.73 kB / 385.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07122/0.5893, allocations: 19 MB / 404.4 MB, free: 11.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5893, allocations: 0 / 404.4 MB, free: 11.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.373e-05/0.5894, allocations: 23.25 kB / 404.4 MB, free: 11.1 MB / 314.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.004065/0.5935, allocations: 1.485 MB / 405.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.5935, allocations: 7.844 kB / 405.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000467/0.594, allocations: 185.9 kB / 406.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003252/0.5944, allocations: 144.2 kB / 406.3 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.5967, allocations: 0.9072 MB / 407.2 MB, free: 9.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.5968, allocations: 88.41 kB / 407.2 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/0.5971, allocations: 105.6 kB / 407.4 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/0.6006, allocations: 1.526 MB / 408.9 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.6006, allocations: 0 / 408.9 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.6008, allocations: 49.09 kB / 408.9 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.197e-05/0.6009, allocations: 27.12 kB / 409 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003298/0.6042, allocations: 1.233 MB / 410.2 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009806/0.614, allocations: 4.314 MB / 414.5 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.6155, allocations: 1.311 MB / 415.8 MB, free: 5.883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.6156, allocations: 12.17 kB / 415.8 MB, free: 5.879 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.6156, allocations: 45.62 kB / 415.9 MB, free: 5.836 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 2.935e-06/0.6156, allocations: 0 / 415.9 MB, free: 5.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.002169/0.6178, allocations: 0.8816 MB / 416.7 MB, free: 5.617 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.6179, allocations: 55.72 kB / 416.8 MB, free: 5.555 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.6192, allocations: 0.7273 MB / 417.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.112e-05/0.6193, allocations: 35.39 kB / 417.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.6196, allocations: 0.5611 MB / 418.1 MB, free: 4.895 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.6198, allocations: 178.3 kB / 418.3 MB, free: 4.766 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.6198, allocations: 13.38 kB / 418.3 MB, free: 4.766 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.6199, allocations: 332.1 kB / 418.6 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006881/0.6206, allocations: 305.7 kB / 418.9 MB, free: 4.387 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/0.6214, allocations: 394.5 kB / 419.3 MB, free: 4.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.6221, allocations: 365.8 kB / 419.7 MB, free: 4.164 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6222, allocations: 0 / 419.7 MB, free: 4.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001648/0.6238, allocations: 0.7682 MB / 420.4 MB, free: 3.984 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.6239, allocations: 7.781 kB / 420.5 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.6239, allocations: 0 / 420.5 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.6239, allocations: 7.75 kB / 420.5 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.625, allocations: 155.6 kB / 420.6 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.625, allocations: 11.83 kB / 420.6 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007019/0.6257, allocations: 69.58 kB / 420.7 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.6258, allocations: 22.83 kB / 420.7 MB, free: 3.898 MB / 314.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.0008802/0.6267, allocations: 452.4 kB / 421.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.6269, allocations: 74.12 kB / 421.2 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.6271, allocations: 92.38 kB / 421.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.6271, allocations: 7.688 kB / 421.3 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6271, allocations: 11.89 kB / 421.3 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.6271, allocations: 0 / 421.3 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.631, allocations: 1.925 MB / 423.3 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.631, allocations: 0 / 423.3 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.6322, allocations: 116.4 kB / 423.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.6322, allocations: 3.781 kB / 423.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/0.6323, allocations: 17.14 kB / 423.4 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.6323, allocations: 3.875 kB / 423.4 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6323, allocations: 0 / 423.4 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.6345, allocations: 1.148 MB / 424.6 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.6348, allocations: 168.6 kB / 424.7 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.635, allocations: 14.98 kB / 424.7 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/0.6357, allocations: 57.03 kB / 424.8 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.6358, allocations: 36.7 kB / 424.8 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.6359, allocations: 14.94 kB / 424.8 MB, free: 2.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001009/0.6369, allocations: 0.5746 MB / 425.4 MB, free: 2.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6369, allocations: 4 kB / 425.4 MB, free: 2.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009419/0.6378, allocations: 284.6 kB / 425.7 MB, free: 2.027 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.002392/0.6402, allocations: 1.918 MB / 427.6 MB, free: 0.875 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.6418, allocations: 0.6497 MB / 428.3 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.6418, allocations: 0 / 428.3 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006545/0.6425, allocations: 320.2 kB / 428.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.6438, allocations: 168.5 kB / 428.7 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.6573, allocations: 7.579 MB / 436.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.6586, allocations: 1.334 MB / 437.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009003/0.6595, allocations: 394 kB / 438 MB, free: 10.87 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6595, allocations: 0 / 438 MB, free: 10.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.569/3.229, allocations: 19.19 MB / 457.2 MB, free: 8.672 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat