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.TransformerTestbench.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.TransformerTestbench,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.703/1.703, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003992, allocations: 8 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08257/0.08301, allocations: 38.76 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4404, allocations: 82.5 MB / 354.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.4408, allocations: 88.2 kB / 354.7 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3093/0.7501, allocations: 74.85 MB / 429.6 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.7501, allocations: 4 kB / 429.6 MB, free: 1.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003566/0.7505, allocations: 83.88 kB / 429.6 MB, free: 1.91 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.2604/1.011, allocations: 3.129 MB / 432.8 MB, free: 62.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.011, allocations: 12 kB / 432.8 MB, free: 62.74 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001822/1.013, allocations: 435.2 kB / 433.2 MB, free: 62.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/1.015, allocations: 401.7 kB / 433.6 MB, free: 62.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006439/1.021, allocations: 1.989 MB / 435.6 MB, free: 62.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/1.021, allocations: 220.3 kB / 435.8 MB, free: 62.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/1.023, allocations: 281.5 kB / 436.1 MB, free: 62.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/1.036, allocations: 4.132 MB / 440.2 MB, free: 61.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.695e-05/1.036, allocations: 4.969 kB / 440.2 MB, free: 61.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007845/1.037, allocations: 126 kB / 440.3 MB, free: 61.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002176/1.037, allocations: 136.8 kB / 440.5 MB, free: 61.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/1.048, allocations: 3.211 MB / 443.7 MB, free: 61.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02956/1.078, allocations: 10.93 MB / 454.6 MB, free: 60.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/1.082, allocations: 2.633 MB / 457.2 MB, free: 59.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000448/1.082, allocations: 142.4 kB / 457.4 MB, free: 58.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/1.082, allocations: 53.62 kB / 457.4 MB, free: 58.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.967e-06/1.082, allocations: 0 / 457.4 MB, free: 58.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.01499/1.097, allocations: 5.656 MB / 463.1 MB, free: 57.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/1.098, allocations: 93.58 kB / 463.2 MB, free: 57.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/1.101, allocations: 1.606 MB / 464.8 MB, free: 57.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003482/1.102, allocations: 50.73 kB / 464.8 MB, free: 57.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008409/1.102, allocations: 1.239 MB / 466.1 MB, free: 56.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006091/1.103, allocations: 460.1 kB / 466.5 MB, free: 56.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/1.103, allocations: 27.44 kB / 466.6 MB, free: 56.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/1.103, allocations: 368.8 kB / 466.9 MB, free: 55.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/1.105, allocations: 0.8258 MB / 467.7 MB, free: 55.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/1.108, allocations: 1.176 MB / 468.9 MB, free: 54.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002515/1.11, allocations: 1.018 MB / 469.9 MB, free: 54.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/1.11, allocations: 3.969 kB / 469.9 MB, free: 54.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006673/1.117, allocations: 2.431 MB / 472.4 MB, free: 53.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/1.117, allocations: 15.06 kB / 472.4 MB, free: 53.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.147e-05/1.117, allocations: 11.56 kB / 472.4 MB, free: 53.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/1.119, allocations: 383.7 kB / 472.8 MB, free: 53.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/1.121, allocations: 324 kB / 473.1 MB, free: 53.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007656/1.129, allocations: 4.348 MB / 477.4 MB, free: 50.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/1.131, allocations: 88.41 kB / 477.5 MB, free: 50.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/1.132, allocations: 70.17 kB / 477.6 MB, free: 50.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002545/1.134, allocations: 1.03 MB / 478.6 MB, free: 50.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007307/1.135, allocations: 195.3 kB / 478.8 MB, free: 50.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005744/1.141, allocations: 2.21 MB / 481 MB, free: 49.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/1.141, allocations: 14.53 kB / 481 MB, free: 49.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/1.141, allocations: 14.47 kB / 481 MB, free: 49.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/1.141, allocations: 9.688 kB / 481.1 MB, free: 49.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/1.154, allocations: 5.114 MB / 486.2 MB, free: 47.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/1.154, allocations: 7.375 kB / 486.2 MB, free: 47.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/1.156, allocations: 221.2 kB / 486.4 MB, free: 47.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/1.158, allocations: 372.8 kB / 486.8 MB, free: 47.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/1.158, allocations: 30.52 kB / 486.8 MB, free: 47.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007235/1.165, allocations: 4.279 MB / 491.1 MB, free: 44.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.165, allocations: 7.062 kB / 491.1 MB, free: 44.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0079/1.173, allocations: 3.307 MB / 494.4 MB, free: 43.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.175, allocations: 462.8 kB / 494.8 MB, free: 42.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005085/1.175, allocations: 27.03 kB / 494.9 MB, free: 42.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/1.177, allocations: 100.9 kB / 495 MB, free: 42.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00035/1.178, allocations: 84.2 kB / 495 MB, free: 42.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.178, allocations: 45.56 kB / 495.1 MB, free: 42.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00266/1.18, allocations: 1.25 MB / 496.3 MB, free: 42.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.232e-06/1.18, allocations: 0 / 496.3 MB, free: 42.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002876/1.183, allocations: 0.5526 MB / 496.9 MB, free: 42.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.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 (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008315/1.192, allocations: 4.11 MB / 0.4893 GB, free: 40.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005488/1.197, allocations: 2.337 MB / 0.4915 GB, free: 39.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.197, allocations: 0 / 0.4915 GB, free: 39.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003276/1.201, allocations: 1.327 MB / 0.4928 GB, free: 38.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00394/1.205, allocations: 480.3 kB / 0.4933 GB, free: 38.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04057/1.245, allocations: 22.71 MB / 0.5155 GB, free: 18.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00332/1.249, allocations: 2.404 MB / 0.5178 GB, free: 16.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002508/1.251, allocations: 1.013 MB / 0.5188 GB, free: 15.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/1.251, allocations: 3.172 kB / 0.5188 GB, free: 15.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.704/4.955, allocations: 63.56 MB / 0.5809 GB, free: 73.26 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat