Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.TransformerTestbench.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.093/1.093, allocations: 111.2 MB / 119.1 MB, free: 11.19 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.793e-05, allocations: 8 kB / 148.2 MB, free: 6.133 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05804/0.0581, allocations: 25.17 MB / 173.4 MB, free: 12.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.2889, allocations: 43.62 MB / 217 MB, free: 4.066 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.2892, allocations: 69.61 kB / 217.1 MB, free: 4.055 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2938/0.583, allocations: 71.66 MB / 288.7 MB, free: 8.176 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5831, allocations: 4 kB / 288.7 MB, free: 8.172 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003597/0.5835, allocations: 79.81 kB / 288.8 MB, free: 8.094 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 672 * Number of variables: 672 Notification: Performance of Generate backend data structure: time 0.01057/0.5941, allocations: 2.612 MB / 291.4 MB, free: 5.426 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.5941, allocations: 8.031 kB / 291.4 MB, free: 5.418 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.5959, allocations: 320.2 kB / 291.8 MB, free: 5.102 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006036/0.602, allocations: 1.829 MB / 293.6 MB, free: 3.215 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.6022, allocations: 84 kB / 293.7 MB, free: 3.133 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.6033, allocations: 148 kB / 293.8 MB, free: 2.988 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008727/0.612, allocations: 2.65 MB / 296.5 MB, free: 340 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1704/0.7825, allocations: 3.21 MB / 299.7 MB, free: 36.85 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.06e-05/0.7826, allocations: 0.8125 kB / 299.7 MB, free: 36.85 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004664/0.7831, allocations: 3.438 kB / 299.7 MB, free: 36.85 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/0.7833, allocations: 124.1 kB / 299.8 MB, free: 36.84 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02531/0.8086, allocations: 8.759 MB / 308.5 MB, free: 35.86 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/0.8123, allocations: 2.433 MB / 311 MB, free: 34.7 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003208/0.8155, allocations: 1.204 MB / 312.2 MB, free: 34.68 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/0.8157, allocations: 15.56 kB / 312.2 MB, free: 34.68 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.8158, allocations: 49.25 kB / 312.2 MB, free: 34.63 MB / 234.7 MB Notification: Performance of pre-optimization done (n=117): time 4.87e-06/0.8158, allocations: 3.5 kB / 312.3 MB, free: 34.63 MB / 234.7 MB Notification: Performance of matching and sorting (n=121): time 0.01129/0.8271, allocations: 3.846 MB / 316.1 MB, free: 33.91 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.8272, allocations: 94.28 kB / 316.2 MB, free: 33.82 MB / 234.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7955:5-7956:40:writable] Warning: Parameter transformerData.P_sc has no value, and is fixed during initialization (fixed=true), using available start value (start=300.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7953:5-7954:36:writable] Warning: Parameter transformerData.v_sc has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7951:5-7952:33:writable] Warning: Parameter transformerData.SNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=30000.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7945:5-7946:86:writable] Warning: Parameter transformerData.V2 has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7940:5-7941:53:writable] Warning: Parameter transformerData.V1 has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7939:5-7939:73:writable] Warning: Parameter transformerData.f has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/0.8304, allocations: 1.254 MB / 317.4 MB, free: 33.66 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003644/0.8308, allocations: 29.23 kB / 317.5 MB, free: 33.63 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009478/0.8317, allocations: 1.13 MB / 318.6 MB, free: 33.14 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006402/0.8324, allocations: 397.8 kB / 319 MB, free: 32.88 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.8326, allocations: 0 / 319 MB, free: 32.88 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.8327, allocations: 366.7 kB / 319.4 MB, free: 32.57 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.8343, allocations: 0.6998 MB / 320.1 MB, free: 32.57 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.8362, allocations: 1.003 MB / 321.1 MB, free: 32.24 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.8384, allocations: 0.8844 MB / 321.9 MB, free: 32.22 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.911e-05/0.8385, allocations: 0 / 321.9 MB, free: 32.22 MB / 234.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005684/0.8442, allocations: 2.033 MB / 324 MB, free: 32.12 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.8443, allocations: 14.73 kB / 324 MB, free: 32.11 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-05/0.8443, allocations: 10.38 kB / 324 MB, free: 32.11 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.8458, allocations: 334.5 kB / 324.3 MB, free: 32.11 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.8485, allocations: 305.3 kB / 324.6 MB, free: 32.11 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006878/0.8555, allocations: 3.669 MB / 328.3 MB, free: 30.77 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.8576, allocations: 59.92 kB / 328.3 MB, free: 30.77 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003504/0.858, allocations: 52.91 kB / 328.4 MB, free: 30.77 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: transformer.l1sigma.inductor[3].i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [3] transformer.l1sigma.inductor[2].i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 135 * 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 {(3,88.9%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004373/0.8585, allocations: 146.8 kB / 328.5 MB, free: 30.66 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00415/0.8626, allocations: 1.701 MB / 330.2 MB, free: 30.17 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005611/0.8632, allocations: 166.4 kB / 330.4 MB, free: 30.09 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/0.8676, allocations: 1.82 MB / 332.2 MB, free: 29.41 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.8677, allocations: 8.969 kB / 332.2 MB, free: 29.41 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.8677, allocations: 3.938 kB / 332.2 MB, free: 29.41 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.8678, allocations: 7.172 kB / 332.2 MB, free: 29.41 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.878, allocations: 4.117 MB / 336.4 MB, free: 27.77 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-05/0.8781, allocations: 3.938 kB / 336.4 MB, free: 27.77 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/0.88, allocations: 212 kB / 336.6 MB, free: 27.77 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/0.8814, allocations: 315 kB / 336.9 MB, free: 27.69 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/0.8817, allocations: 13.66 kB / 336.9 MB, free: 27.68 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006282/0.888, allocations: 3.611 MB / 340.5 MB, free: 25.34 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.888, allocations: 3.25 kB / 340.5 MB, free: 25.34 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006416/0.8945, allocations: 2.844 MB / 343.4 MB, free: 24.12 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/0.8959, allocations: 411.4 kB / 343.8 MB, free: 23.87 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004814/0.8965, allocations: 10.12 kB / 343.8 MB, free: 23.87 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.8982, allocations: 92.47 kB / 343.9 MB, free: 23.87 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003786/0.8986, allocations: 91.11 kB / 343.9 MB, free: 23.85 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.8988, allocations: 33.64 kB / 344 MB, free: 23.84 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.00206/0.9009, allocations: 0.9456 MB / 344.9 MB, free: 23.45 MB / 234.7 MB Notification: Performance of sort global known variables: time 2.044e-06/0.9009, allocations: 3.375 kB / 344.9 MB, free: 23.45 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002756/0.9037, allocations: 437.1 kB / 345.4 MB, free: 23.45 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 89 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006787/0.9105, allocations: 3.608 MB / 349 MB, free: 21.57 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.004381/0.915, allocations: 1.993 MB / 351 MB, free: 20.72 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.915, allocations: 7.312 kB / 351 MB, free: 20.72 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002522/0.9175, allocations: 1.125 MB / 352.1 MB, free: 20.16 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/0.9212, allocations: 385 kB / 352.5 MB, free: 20.09 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.934, allocations: 4.581 MB / 357 MB, free: 18.38 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/0.9366, allocations: 2.228 MB / 359.3 MB, free: 17.36 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/0.9385, allocations: 0.8998 MB / 360.2 MB, free: 16.62 MB / 234.7 MB Notification: Performance of SimCode: time 1.643e-06/0.9385, allocations: 0 / 360.2 MB, free: 16.62 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.65/4.589, allocations: 54.72 MB / 414.9 MB, free: 28.64 MB / 234.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat