Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.BalancingDelta,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.046/2.046, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003615, allocations: 11.98 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09752, allocations: 44.51 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.5594, allocations: 85.04 MB / 393.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.5598, allocations: 82.77 kB / 393.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7347/1.294, allocations: 142.2 MB / 0.5233 GB, free: 78.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.376e-06/1.295, allocations: 4.469 kB / 0.5233 GB, free: 78.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002518/1.295, allocations: 91.95 kB / 0.5234 GB, free: 78.53 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01896/1.314, allocations: 3.992 MB / 0.5273 GB, free: 77.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/1.314, allocations: 13.27 kB / 0.5273 GB, free: 77.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002583/1.316, allocations: 0.6348 MB / 0.5279 GB, free: 77.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/1.332, allocations: 1.821 MB / 0.5297 GB, free: 77.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007503/1.34, allocations: 2.431 MB / 0.532 GB, free: 77.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005867/1.341, allocations: 322.4 kB / 0.5324 GB, free: 77.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001778/1.342, allocations: 414.9 kB / 0.5328 GB, free: 77.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/1.362, allocations: 6.895 MB / 0.5395 GB, free: 76.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/1.363, allocations: 4.516 kB / 0.5395 GB, free: 76.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007697/1.363, allocations: 180 kB / 0.5397 GB, free: 76.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003716/1.364, allocations: 275.9 kB / 0.5399 GB, free: 76.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01606/1.38, allocations: 5.831 MB / 0.5456 GB, free: 76.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04805/1.428, allocations: 21.34 MB / 0.5665 GB, free: 73.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/1.439, allocations: 7.589 MB / 0.5739 GB, free: 68.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01966/1.459, allocations: 9.455 MB / 0.5831 GB, free: 63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/1.459, allocations: 52.34 kB / 0.5832 GB, free: 62.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 5.921e-06/1.459, allocations: 0 / 0.5832 GB, free: 62.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.01729/1.476, allocations: 10.74 MB / 0.5936 GB, free: 55.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/1.476, allocations: 81.81 kB / 0.5937 GB, free: 55.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/1.478, allocations: 1.099 MB / 0.5948 GB, free: 54.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000478/1.479, allocations: 57.47 kB / 0.5948 GB, free: 54.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009342/1.48, allocations: 1.671 MB / 0.5965 GB, free: 53.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001148/1.481, allocations: 0.8778 MB / 0.5973 GB, free: 52.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/1.481, allocations: 57.59 kB / 0.5974 GB, free: 52.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002266/1.481, allocations: 447.3 kB / 0.5978 GB, free: 52.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004202/1.486, allocations: 1.933 MB / 0.5997 GB, free: 51.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004572/1.49, allocations: 2.701 MB / 0.6023 GB, free: 49.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004976/1.495, allocations: 2.391 MB / 0.6047 GB, free: 48.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-05/1.495, allocations: 7.25 kB / 0.6047 GB, free: 48.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.01217/1.507, allocations: 5.499 MB / 0.6101 GB, free: 46.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/1.508, allocations: 13.69 kB / 0.6101 GB, free: 46.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.343e-05/1.508, allocations: 24.09 kB / 0.6101 GB, free: 46.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/1.51, allocations: 1.074 MB / 0.6111 GB, free: 46.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003691/1.514, allocations: 0.5329 MB / 0.6117 GB, free: 46.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005342/1.519, allocations: 3.877 MB / 0.6154 GB, free: 43.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/1.523, allocations: 360.4 kB / 0.6158 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004173/1.523, allocations: 140.4 kB / 0.6159 GB, free: 43.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (305): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.003927/1.527, allocations: 1.545 MB / 0.6174 GB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006059/1.528, allocations: 155.5 kB / 0.6176 GB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.539, allocations: 4.651 MB / 0.6221 GB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009786/1.549, allocations: 4.243 MB / 0.6263 GB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/1.549, allocations: 4 kB / 0.6263 GB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-05/1.549, allocations: 7.547 kB / 0.6263 GB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/1.57, allocations: 9.522 MB / 0.6356 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/1.57, allocations: 3.562 kB / 0.6356 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/1.572, allocations: 250.5 kB / 0.6358 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002459/1.574, allocations: 1.039 MB / 0.6368 GB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002841/1.575, allocations: 58.92 kB / 0.6369 GB, free: 27.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005032/1.58, allocations: 3.847 MB / 0.6406 GB, free: 23.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.58, allocations: 2.625 kB / 0.6407 GB, free: 23.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.594, allocations: 7.101 MB / 0.6476 GB, free: 17.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006917/1.595, allocations: 298.5 kB / 0.6479 GB, free: 17.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004364/1.595, allocations: 32 kB / 0.6479 GB, free: 17.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.597, allocations: 92.05 kB / 0.648 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/1.598, allocations: 201.6 kB / 0.6482 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002671/1.598, allocations: 71.39 kB / 0.6482 GB, free: 16.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001499/1.6, allocations: 0.7954 MB / 0.649 GB, free: 16.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.91e-07/1.6, allocations: 0 / 0.649 GB, free: 16.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003487/1.603, allocations: 0.997 MB / 0.65 GB, free: 15.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor31.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 (152): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01451/1.618, allocations: 7.762 MB / 0.6576 GB, free: 8.273 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009539/1.627, allocations: 4.47 MB / 0.6619 GB, free: 4.449 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.627, allocations: 0 / 0.6619 GB, free: 4.449 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004702/1.632, allocations: 2.064 MB / 0.664 GB, free: 2.688 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.634, allocations: 264.3 kB / 0.6642 GB, free: 2.488 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.397/2.031, allocations: 36.83 MB / 0.7002 GB, free: 81.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004498/2.036, allocations: 2.97 MB / 0.7031 GB, free: 80.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00297/2.039, allocations: 1.243 MB / 0.7043 GB, free: 80.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/2.039, allocations: 0 / 0.7043 GB, free: 80.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.564/5.603, allocations: 128 MB / 0.8293 GB, free: 8.602 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat