Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.67/1.67, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003918, allocations: 8 kB / 233.4 MB, free: 0.8125 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0796/0.08002, allocations: 38.75 MB / 272.1 MB, free: 9.98 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3474/0.4275, allocations: 79.04 MB / 351.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/0.4279, allocations: 91.94 kB / 351.2 MB, free: 3.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2511/0.679, allocations: 57.08 MB / 408.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.679, allocations: 0 / 408.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000158/0.6792, allocations: 47.94 kB / 408.4 MB, free: 10.33 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.006222/0.6854, allocations: 2.014 MB / 410.4 MB, free: 8.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.6855, allocations: 12.03 kB / 410.4 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007158/0.6862, allocations: 281.9 kB / 410.7 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.6872, allocations: 265.2 kB / 410.9 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.6906, allocations: 1.306 MB / 412.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.6908, allocations: 127.5 kB / 412.4 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004165/0.6912, allocations: 179.9 kB / 412.5 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00631/0.6976, allocations: 2.487 MB / 415 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.002e-05/0.6976, allocations: 0 / 415 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/0.6979, allocations: 79.98 kB / 415.1 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.6981, allocations: 95.58 kB / 415.2 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005547/0.7037, allocations: 1.966 MB / 417.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2505/0.9542, allocations: 6.913 MB / 424.1 MB, free: 76.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003316/0.9576, allocations: 2.145 MB / 426.2 MB, free: 74.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003988/0.958, allocations: 132.9 kB / 426.3 MB, free: 74.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.9581, allocations: 44.95 kB / 426.4 MB, free: 74.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 3.627e-06/0.9581, allocations: 1.531 kB / 426.4 MB, free: 74.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.00948/0.9676, allocations: 3.276 MB / 429.7 MB, free: 74.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.9677, allocations: 86.83 kB / 429.7 MB, free: 74.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.9702, allocations: 1.101 MB / 430.8 MB, free: 74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000209/0.9705, allocations: 39.61 kB / 430.9 MB, free: 73.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006244/0.9711, allocations: 0.7903 MB / 431.7 MB, free: 73.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.9715, allocations: 304.5 kB / 432 MB, free: 73.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.9716, allocations: 20.56 kB / 432 MB, free: 73.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.9717, allocations: 345.5 kB / 432.3 MB, free: 73.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.973, allocations: 498.6 kB / 432.8 MB, free: 73.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.9743, allocations: 0.6645 MB / 433.5 MB, free: 72.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.9757, allocations: 0.6035 MB / 434.1 MB, free: 72.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.9757, allocations: 2.281 kB / 434.1 MB, free: 72.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003306/0.9791, allocations: 1.349 MB / 435.4 MB, free: 72.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.9791, allocations: 7.188 kB / 435.4 MB, free: 72.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.9791, allocations: 4.75 kB / 435.4 MB, free: 72.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.9797, allocations: 121 kB / 435.6 MB, free: 72.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.9818, allocations: 236.1 kB / 435.8 MB, free: 72.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/0.9857, allocations: 2.144 MB / 437.9 MB, free: 71.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.9876, allocations: 43.23 kB / 438 MB, free: 71.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.9877, allocations: 32.94 kB / 438 MB, free: 71.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (107): * Single equations (assignments): 106 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002094/0.9899, allocations: 0.6789 MB / 438.7 MB, free: 71.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005731/0.9904, allocations: 126 kB / 438.8 MB, free: 71.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004471/0.9949, allocations: 1.274 MB / 440.1 MB, free: 71.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.995, allocations: 10.11 kB / 440.1 MB, free: 71.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.995, allocations: 1.875 kB / 440.1 MB, free: 71.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/0.995, allocations: 7.172 kB / 440.1 MB, free: 71.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/1.006, allocations: 3.217 MB / 443.3 MB, free: 70.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/1.006, allocations: 3.875 kB / 443.3 MB, free: 70.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.008, allocations: 178 kB / 443.5 MB, free: 70.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006786/1.009, allocations: 108.1 kB / 443.6 MB, free: 70.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.784e-05/1.009, allocations: 24.69 kB / 443.6 MB, free: 70.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004559/1.013, allocations: 3.42 MB / 447.1 MB, free: 68.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.014, allocations: 3.906 kB / 447.1 MB, free: 68.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006243/1.02, allocations: 1.991 MB / 449 MB, free: 67.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.021, allocations: 325.4 kB / 449.4 MB, free: 67.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/1.021, allocations: 19.72 kB / 449.4 MB, free: 67.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/1.023, allocations: 57.19 kB / 449.4 MB, free: 67.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/1.023, allocations: 65.8 kB / 449.5 MB, free: 67.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.023, allocations: 23.19 kB / 449.5 MB, free: 67.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00235/1.026, allocations: 0.8612 MB / 450.4 MB, free: 67.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.026, allocations: 0 / 450.4 MB, free: 67.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002498/1.028, allocations: 371.9 kB / 450.8 MB, free: 67.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (load.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 (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006764/1.035, allocations: 2.634 MB / 453.4 MB, free: 65.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004045/1.039, allocations: 1.294 MB / 454.7 MB, free: 65.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.039, allocations: 6.906 kB / 454.7 MB, free: 65.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002181/1.041, allocations: 0.7142 MB / 455.4 MB, free: 64.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/1.045, allocations: 354 kB / 455.7 MB, free: 64.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02707/1.072, allocations: 12.73 MB / 468.5 MB, free: 57.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/1.074, allocations: 1.72 MB / 470.2 MB, free: 56.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/1.075, allocations: 0.6067 MB / 470.8 MB, free: 55.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/1.075, allocations: 0 / 470.8 MB, free: 55.72 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.285/4.359, allocations: 45.98 MB / 0.5047 GB, free: 29.25 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat