Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.634/1.634, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003841, allocations: 8 kB / 233.3 MB, free: 2.922 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08106/0.08148, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3381/0.4197, allocations: 70.16 MB / 342.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.42, allocations: 83.61 kB / 342.4 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04671/0.4667, allocations: 12.42 MB / 354.8 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4668, allocations: 0 / 354.8 MB, free: 9.113 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.305e-05/0.4668, allocations: 4 kB / 354.8 MB, free: 9.109 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002464/0.4693, allocations: 0.6877 MB / 355.5 MB, free: 8.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.4694, allocations: 12.03 kB / 355.5 MB, free: 8.406 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.4695, allocations: 77.45 kB / 355.6 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.4699, allocations: 55.08 kB / 355.6 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.4703, allocations: 263.1 kB / 355.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.4703, allocations: 31.44 kB / 355.9 MB, free: 8.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.206e-05/0.4704, allocations: 39.02 kB / 355.9 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.4715, allocations: 365.7 kB / 356.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.4715, allocations: 7.906 kB / 356.3 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.4716, allocations: 10.31 kB / 356.3 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.4716, allocations: 12 kB / 356.3 MB, free: 7.723 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009922/0.4726, allocations: 305.7 kB / 356.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/0.4758, allocations: 1.361 MB / 358 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.4766, allocations: 178.6 kB / 358.2 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.4767, allocations: 0 / 358.2 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.4767, allocations: 45 kB / 358.2 MB, free: 6.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.4767, allocations: 4 kB / 358.2 MB, free: 6.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002001/0.4787, allocations: 459.9 kB / 358.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.4788, allocations: 51.41 kB / 358.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.479, allocations: 154.5 kB / 358.9 MB, free: 5.598 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.4791, allocations: 32.2 kB / 358.9 MB, free: 5.562 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.4792, allocations: 276 kB / 359.2 MB, free: 5.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.4793, allocations: 50.27 kB / 359.2 MB, free: 5.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.4794, allocations: 7.5 kB / 359.2 MB, free: 5.262 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4795, allocations: 322.4 kB / 359.5 MB, free: 4.941 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.4798, allocations: 73.53 kB / 359.6 MB, free: 4.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.4801, allocations: 133.2 kB / 359.7 MB, free: 4.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.4805, allocations: 99.59 kB / 359.8 MB, free: 4.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4805, allocations: 0 / 359.8 MB, free: 4.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001036/0.4816, allocations: 310.6 kB / 360.1 MB, free: 4.465 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4816, allocations: 7.938 kB / 360.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4816, allocations: 4 kB / 360.1 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.4821, allocations: 83.55 kB / 360.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.4825, allocations: 39.97 kB / 360.3 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.4849, allocations: 1.662 MB / 361.9 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.4853, allocations: 27.53 kB / 361.9 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.4853, allocations: 8 kB / 362 MB, free: 2.723 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002555/0.4856, allocations: 160.2 kB / 362.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.4856, allocations: 11.81 kB / 362.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009721/0.4866, allocations: 277.6 kB / 362.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4866, allocations: 4 kB / 362.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4867, allocations: 0 / 362.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.4867, allocations: 3.984 kB / 362.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.4872, allocations: 348.4 kB / 362.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4873, allocations: 0 / 362.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.4875, allocations: 27.97 kB / 362.8 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004303/0.488, allocations: 80.58 kB / 362.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.488, allocations: 4 kB / 362.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.4903, allocations: 1.657 MB / 364.5 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4904, allocations: 4.031 kB / 364.5 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.4916, allocations: 445 kB / 364.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.4917, allocations: 92.89 kB / 365 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.4918, allocations: 11.88 kB / 365.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.492, allocations: 19.88 kB / 365.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.4921, allocations: 19.41 kB / 365.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.4922, allocations: 4 kB / 365.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.4923, allocations: 127 kB / 365.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4923, allocations: 0 / 365.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005818/0.4929, allocations: 98.72 kB / 365.3 MB, free: 15.63 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001711/0.4947, allocations: 1.003 MB / 366.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.4959, allocations: 356.8 kB / 366.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4959, allocations: 0 / 366.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006734/0.4966, allocations: 244.9 kB / 366.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.497, allocations: 16.19 kB / 366.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.5011, allocations: 2.561 MB / 369.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.5016, allocations: 0.7677 MB / 370.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.5018, allocations: 88.47 kB / 370.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of SimCode: time 9.61e-07/0.5018, allocations: 0 / 370.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.74/3.242, allocations: 5.394 MB / 375.7 MB, free: 5.578 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat