Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.002/2.002, allocations: 194.9 MB / 211.1 MB, free: 8.547 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 8 kB / 264.1 MB, free: 3.465 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3003, allocations: 44.49 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.48, allocations: 85.12 MB / 393.7 MB, free: 7.523 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/0.4805, allocations: 79.95 kB / 393.8 MB, free: 7.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8231/1.304, allocations: 157.4 MB / 0.5383 GB, free: 3.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.847e-06/1.304, allocations: 0 / 0.5383 GB, free: 3.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002968/1.304, allocations: 95.94 kB / 0.5384 GB, free: 3.836 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.02344/1.327, allocations: 4.347 MB / 0.5426 GB, free: 15.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/1.328, allocations: 8.031 kB / 0.5426 GB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00341/1.331, allocations: 0.6909 MB / 0.5433 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/1.346, allocations: 1.704 MB / 0.5449 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008769/1.355, allocations: 2.68 MB / 0.5476 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007158/1.355, allocations: 345.2 kB / 0.5479 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002232/1.358, allocations: 451.8 kB / 0.5483 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02719/1.385, allocations: 7.546 MB / 0.5557 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002014/1.385, allocations: 0 / 0.5557 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001953/1.387, allocations: 196 kB / 0.5559 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005811/1.388, allocations: 301.3 kB / 0.5562 GB, free: 1.277 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3366/1.724, allocations: 6.189 MB / 0.5622 GB, free: 68.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06077/1.785, allocations: 23.24 MB / 0.5849 GB, free: 66.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/1.797, allocations: 6.465 MB / 0.5912 GB, free: 63.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02987/1.827, allocations: 10.8 MB / 0.6018 GB, free: 59.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/1.827, allocations: 57 kB / 0.6018 GB, free: 59.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=319): time 9.297e-06/1.827, allocations: 0 / 0.6018 GB, free: 59.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=319): time 0.02468/1.851, allocations: 13 MB / 0.6145 GB, free: 50.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/1.852, allocations: 75.06 kB / 0.6146 GB, free: 50.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/1.854, allocations: 1.068 MB / 0.6156 GB, free: 50.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006648/1.855, allocations: 61.55 kB / 0.6157 GB, free: 50 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/1.856, allocations: 1.683 MB / 0.6173 GB, free: 49.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001691/1.857, allocations: 1.059 MB / 0.6184 GB, free: 48.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004039/1.858, allocations: 54.31 kB / 0.6184 GB, free: 48.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004832/1.858, allocations: 0.4941 MB / 0.6189 GB, free: 47.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00557/1.864, allocations: 2.206 MB / 0.6211 GB, free: 46.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006409/1.87, allocations: 2.91 MB / 0.6239 GB, free: 45.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006669/1.877, allocations: 2.703 MB / 0.6265 GB, free: 44.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.213e-05/1.877, allocations: 7.938 kB / 0.6265 GB, free: 44.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01657/1.894, allocations: 6.286 MB / 0.6327 GB, free: 41.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/1.894, allocations: 17.16 kB / 0.6327 GB, free: 41.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.19e-05/1.894, allocations: 18.88 kB / 0.6327 GB, free: 41.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003835/1.898, allocations: 1.434 MB / 0.6341 GB, free: 41.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/1.902, allocations: 0.5091 MB / 0.6346 GB, free: 41.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007488/1.909, allocations: 5.174 MB / 0.6397 GB, free: 37.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/1.913, allocations: 374.5 kB / 0.64 GB, free: 37.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008582/1.914, allocations: 145 kB / 0.6402 GB, free: 37.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * 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 (301): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * 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.004584/1.918, allocations: 1.708 MB / 0.6418 GB, free: 36.65 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006428/1.919, allocations: 168.6 kB / 0.642 GB, free: 36.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/1.934, allocations: 5.615 MB / 0.6475 GB, free: 32.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01265/1.946, allocations: 5.161 MB / 0.6525 GB, free: 28.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/1.947, allocations: 0 / 0.6525 GB, free: 28.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.162e-05/1.947, allocations: 11.06 kB / 0.6525 GB, free: 28.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02731/1.974, allocations: 11.16 MB / 0.6634 GB, free: 18.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.794e-05/1.974, allocations: 1.875 kB / 0.6634 GB, free: 18.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/1.977, allocations: 282.5 kB / 0.6637 GB, free: 18.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003758/1.981, allocations: 1.397 MB / 0.6651 GB, free: 17.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007959/1.981, allocations: 71.81 kB / 0.6651 GB, free: 17.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00724/1.989, allocations: 5.128 MB / 0.6701 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.989, allocations: 4 kB / 0.6701 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01926/2.008, allocations: 8.558 MB / 0.6785 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/2.01, allocations: 0.7327 MB / 0.6792 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005783/2.011, allocations: 36 kB / 0.6792 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/2.013, allocations: 89.45 kB / 0.6793 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006894/2.013, allocations: 237.8 kB / 0.6796 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003076/2.014, allocations: 82.45 kB / 0.6796 GB, free: 3.992 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001497/2.015, allocations: 0.7889 MB / 0.6804 GB, free: 3.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.015, allocations: 0 / 0.6804 GB, free: 3.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003851/2.019, allocations: 1.076 MB / 0.6815 GB, free: 2.254 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor0.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 (174): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * 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.02308/2.042, allocations: 9.212 MB / 0.6905 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01862/2.061, allocations: 5.157 MB / 0.6955 GB, free: 5.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/2.061, allocations: 0 / 0.6955 GB, free: 5.695 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01122/2.072, allocations: 2.468 MB / 0.6979 GB, free: 3.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004696/2.077, allocations: 307.5 kB / 0.6982 GB, free: 3.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4182/2.495, allocations: 37.42 MB / 0.7347 GB, free: 90.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005706/2.501, allocations: 3.328 MB / 0.738 GB, free: 90.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00296/2.504, allocations: 0.592 MB / 0.7386 GB, free: 90.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003195/2.507, allocations: 1.31 MB / 0.7398 GB, free: 90.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/2.507, allocations: 0 / 0.7398 GB, free: 90.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2149/2.722, allocations: 75.68 MB / 0.8137 GB, free: 59.13 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/2.723, allocations: 235.5 kB / 0.814 GB, free: 58.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.438/7.16, allocations: 0 / 0.814 GB, free: 58.89 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat