Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.655/1.655, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 12 kB / 233.4 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07995/0.08037, allocations: 38.76 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.4209, allocations: 74.85 MB / 347 MB, free: 13.98 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.4212, allocations: 88.02 kB / 347.1 MB, free: 13.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7114/1.133, allocations: 156.2 MB / 0.4915 GB, free: 58.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.996e-06/1.133, allocations: 0 / 0.4915 GB, free: 58.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002973/1.133, allocations: 103.9 kB / 0.4916 GB, free: 58.77 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: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.023/1.156, allocations: 4.294 MB / 0.4958 GB, free: 54.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.156, allocations: 8.031 kB / 0.4958 GB, free: 54.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002576/1.159, allocations: 0.6621 MB / 0.4964 GB, free: 53.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/1.162, allocations: 450.7 kB / 0.4969 GB, free: 53.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/1.173, allocations: 2.655 MB / 0.4995 GB, free: 50.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007144/1.174, allocations: 349 kB / 0.4998 GB, free: 50.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002245/1.176, allocations: 447.9 kB / 0.5002 GB, free: 49.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03035/1.207, allocations: 7.003 MB / 0.5071 GB, free: 42.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000277/1.207, allocations: 0 / 0.5071 GB, free: 42.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001723/1.209, allocations: 192 kB / 0.5072 GB, free: 42.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003356/1.209, allocations: 195.9 kB / 0.5074 GB, free: 42.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02206/1.231, allocations: 5.022 MB / 0.5123 GB, free: 37.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06056/1.292, allocations: 21.85 MB / 0.5337 GB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007991/1.3, allocations: 2.545 MB / 0.5362 GB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/1.3, allocations: 61.44 kB / 0.5362 GB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/1.3, allocations: 64.48 kB / 0.5363 GB, free: 12.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 9.378e-06/1.3, allocations: 0 / 0.5363 GB, free: 12.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.2759/1.576, allocations: 12.14 MB / 0.5481 GB, free: 60.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/1.576, allocations: 132.2 kB / 0.5483 GB, free: 60.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/1.578, allocations: 0.7623 MB / 0.549 GB, free: 60.51 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005881/1.579, allocations: 58.09 kB / 0.5491 GB, free: 60.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/1.58, allocations: 1.528 MB / 0.5505 GB, free: 60 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001488/1.581, allocations: 0.9319 MB / 0.5515 GB, free: 59.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/1.582, allocations: 41.5 kB / 0.5515 GB, free: 59.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003924/1.582, allocations: 475.5 kB / 0.552 GB, free: 59.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00469/1.587, allocations: 1.88 MB / 0.5538 GB, free: 59.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005393/1.592, allocations: 2.327 MB / 0.5561 GB, free: 58.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006108/1.598, allocations: 2.277 MB / 0.5583 GB, free: 58.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-05/1.599, allocations: 2.906 kB / 0.5583 GB, free: 58.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01526/1.614, allocations: 5.306 MB / 0.5635 GB, free: 58.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.453e-05/1.614, allocations: 11.81 kB / 0.5635 GB, free: 58.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.542e-05/1.614, allocations: 11.53 kB / 0.5635 GB, free: 58.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005008/1.619, allocations: 1.401 MB / 0.5649 GB, free: 58.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003403/1.622, allocations: 338.4 kB / 0.5652 GB, free: 58.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009822/1.632, allocations: 5.127 MB / 0.5702 GB, free: 56.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/1.635, allocations: 233 kB / 0.5704 GB, free: 56.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/1.636, allocations: 100.9 kB / 0.5705 GB, free: 56.13 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (200): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.005385/1.641, allocations: 1.71 MB / 0.5722 GB, free: 56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007724/1.642, allocations: 146.8 kB / 0.5723 GB, free: 55.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/1.657, allocations: 5.063 MB / 0.5773 GB, free: 55.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01375/1.671, allocations: 4.732 MB / 0.5819 GB, free: 55.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/1.671, allocations: 0 / 0.5819 GB, free: 55.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.513e-05/1.671, allocations: 12.45 kB / 0.5819 GB, free: 55.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03008/1.701, allocations: 10.88 MB / 0.5925 GB, free: 51.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/1.701, allocations: 5.5 kB / 0.5925 GB, free: 51.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.703, allocations: 219.4 kB / 0.5927 GB, free: 51.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003282/1.707, allocations: 1.397 MB / 0.5941 GB, free: 51.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003183/1.707, allocations: 62.81 kB / 0.5942 GB, free: 51.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006742/1.714, allocations: 5.106 MB / 0.5991 GB, free: 47.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.714, allocations: 5.625 kB / 0.5991 GB, free: 47.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/1.73, allocations: 8.255 MB / 0.6072 GB, free: 43.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/1.73, allocations: 272.9 kB / 0.6075 GB, free: 43.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004071/1.731, allocations: 38.25 kB / 0.6075 GB, free: 43.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.732, allocations: 56.14 kB / 0.6076 GB, free: 43.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006242/1.732, allocations: 248.6 kB / 0.6078 GB, free: 43.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/1.733, allocations: 76.33 kB / 0.6079 GB, free: 43.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009927/1.734, allocations: 0.5924 MB / 0.6084 GB, free: 43.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/1.734, allocations: 0 / 0.6084 GB, free: 43.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002984/1.737, allocations: 0.9824 MB / 0.6094 GB, free: 42.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 3 (voltageSource.voltageSource[1].pin_p.reference.gamma,voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma) * 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 (139): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01703/1.754, allocations: 9.926 MB / 0.6191 GB, free: 36.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01007/1.764, allocations: 4.447 MB / 0.6234 GB, free: 32.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.764, allocations: 1.875 kB / 0.6234 GB, free: 32.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005282/1.769, allocations: 2.245 MB / 0.6256 GB, free: 31.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/1.772, allocations: 316.6 kB / 0.6259 GB, free: 30.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04389/1.816, allocations: 29.01 MB / 0.6543 GB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006915/1.823, allocations: 3.324 MB / 0.6575 GB, free: 1.094 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002733/1.826, allocations: 369.6 kB / 0.6579 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005884/1.832, allocations: 1.297 MB / 0.6591 GB, free: 15.92 MB / 362.7 MB Notification: Performance of SimCode: time 1.794e-06/1.832, allocations: 0 / 0.6591 GB, free: 15.92 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4305/2.262, allocations: 69.04 MB / 0.7266 GB, free: 70.46 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/2.262, allocations: 228.4 kB / 0.7268 GB, free: 70.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.891/6.153, allocations: 0 / 0.7268 GB, free: 70.23 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat