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.BalancingStar.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.BalancingStar,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.673/1.673, allocations: 171.2 MB / 186.1 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 19.92 kB / 233.4 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08246/0.08288, allocations: 38.76 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3443/0.4273, allocations: 74.6 MB / 346.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.4276, allocations: 83.08 kB / 346.8 MB, free: 14.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8109/1.239, allocations: 171.9 MB / 0.5065 GB, free: 44.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.239, allocations: 0 / 0.5065 GB, free: 44.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002811/1.239, allocations: 115.9 kB / 0.5066 GB, free: 43.94 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: 1355 * Number of variables: 1355 Notification: Performance of Generate backend data structure: time 0.02116/1.26, allocations: 4.647 MB / 0.5112 GB, free: 39.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.26, allocations: 8.031 kB / 0.5112 GB, free: 39.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002984/1.263, allocations: 0.7273 MB / 0.5119 GB, free: 38.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/1.266, allocations: 486.3 kB / 0.5124 GB, free: 38.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/1.276, allocations: 2.934 MB / 0.5152 GB, free: 35.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007538/1.277, allocations: 369.8 kB / 0.5156 GB, free: 34.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002335/1.279, allocations: 476 kB / 0.516 GB, free: 34.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05762/1.337, allocations: 7.695 MB / 0.5236 GB, free: 26.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002618/1.337, allocations: 7.844 kB / 0.5236 GB, free: 26.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007916/1.345, allocations: 208 kB / 0.5238 GB, free: 26.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004093/1.346, allocations: 219.9 kB / 0.524 GB, free: 25.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/1.362, allocations: 5.47 MB / 0.5293 GB, free: 20.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3813/1.744, allocations: 23.96 MB / 0.5527 GB, free: 46.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009675/1.753, allocations: 2.753 MB / 0.5554 GB, free: 46.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005189/1.754, allocations: 71.05 kB / 0.5555 GB, free: 46.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/1.754, allocations: 61.2 kB / 0.5555 GB, free: 46.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=324): time 1.082e-05/1.754, allocations: 0 / 0.5555 GB, free: 46.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=324): time 0.04082/1.795, allocations: 14.21 MB / 0.5694 GB, free: 39.56 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/1.795, allocations: 131.1 kB / 0.5695 GB, free: 39.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/1.797, allocations: 0.772 MB / 0.5703 GB, free: 39.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008782/1.798, allocations: 57.61 kB / 0.5703 GB, free: 39.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/1.8, allocations: 1.627 MB / 0.5719 GB, free: 38.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002353/1.802, allocations: 1.056 MB / 0.5729 GB, free: 38.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/1.803, allocations: 39.66 kB / 0.573 GB, free: 38.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005197/1.803, allocations: 441.3 kB / 0.5734 GB, free: 37.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007544/1.811, allocations: 2.111 MB / 0.5755 GB, free: 37.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008591/1.819, allocations: 2.56 MB / 0.578 GB, free: 37.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009085/1.829, allocations: 2.553 MB / 0.5805 GB, free: 37.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-05/1.829, allocations: 3.875 kB / 0.5805 GB, free: 37.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.02353/1.852, allocations: 6.019 MB / 0.5863 GB, free: 37.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/1.852, allocations: 10.78 kB / 0.5864 GB, free: 37.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.234e-05/1.852, allocations: 15.38 kB / 0.5864 GB, free: 37.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006577/1.859, allocations: 1.756 MB / 0.5881 GB, free: 36.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/1.863, allocations: 326.3 kB / 0.5884 GB, free: 36.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/1.876, allocations: 6.435 MB / 0.5947 GB, free: 34.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/1.879, allocations: 232 kB / 0.5949 GB, free: 34.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007423/1.88, allocations: 110.3 kB / 0.595 GB, free: 34.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.006788/1.887, allocations: 1.873 MB / 0.5968 GB, free: 34.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.888, allocations: 155 kB / 0.597 GB, free: 33.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02084/1.908, allocations: 5.886 MB / 0.6027 GB, free: 33.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01587/1.924, allocations: 5.529 MB / 0.6081 GB, free: 31.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/1.924, allocations: 6.578 kB / 0.6081 GB, free: 31.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.639e-05/1.925, allocations: 10 kB / 0.6081 GB, free: 31.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03032/1.955, allocations: 12.21 MB / 0.6201 GB, free: 25.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.27e-05/1.955, allocations: 3.281 kB / 0.6201 GB, free: 25.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/1.957, allocations: 222.9 kB / 0.6203 GB, free: 25.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004607/1.962, allocations: 1.75 MB / 0.622 GB, free: 25.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007006/1.963, allocations: 70.7 kB / 0.6221 GB, free: 25.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.973, allocations: 6.41 MB / 0.6283 GB, free: 20.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/1.974, allocations: 10.12 kB / 0.6283 GB, free: 20.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02666/2, allocations: 9.359 MB / 0.6375 GB, free: 16.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/2.001, allocations: 276.3 kB / 0.6377 GB, free: 16.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009158/2.002, allocations: 38.25 kB / 0.6378 GB, free: 16.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/2.004, allocations: 69.64 kB / 0.6378 GB, free: 16.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000895/2.004, allocations: 261.4 kB / 0.6381 GB, free: 16.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003286/2.005, allocations: 82.08 kB / 0.6382 GB, free: 16.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001096/2.006, allocations: 0.6041 MB / 0.6388 GB, free: 15.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.7e-07/2.006, allocations: 0 / 0.6388 GB, free: 15.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004113/2.01, allocations: 1.073 MB / 0.6398 GB, free: 14.47 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (147): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.02161/2.032, allocations: 10.63 MB / 0.6502 GB, free: 4.875 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01301/2.045, allocations: 5.025 MB / 0.6551 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/2.045, allocations: 4 kB / 0.6551 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02073/2.066, allocations: 3.128 MB / 0.6581 GB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003861/2.069, allocations: 337.7 kB / 0.6585 GB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06794/2.137, allocations: 31.26 MB / 0.689 GB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2809/2.418, allocations: 3.732 MB / 0.6926 GB, free: 85.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002035/2.42, allocations: 371.7 kB / 0.693 GB, free: 85.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003404/2.424, allocations: 1.358 MB / 0.6943 GB, free: 85.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/2.424, allocations: 1.875 kB / 0.6943 GB, free: 85.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1714/2.595, allocations: 78.79 MB / 0.7713 GB, free: 56.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/2.596, allocations: 227.2 kB / 0.7715 GB, free: 55.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.92/6.516, allocations: 0 / 0.7715 GB, free: 55.86 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat