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.SeriesResonance.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.SeriesResonance,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.549/1.549, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003466, allocations: 8 kB / 233.3 MB, free: 2.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09288, allocations: 38.77 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3533/0.4463, allocations: 70.16 MB / 342.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.4466, allocations: 84.45 kB / 342.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0462/0.4928, allocations: 12.33 MB / 354.7 MB, free: 9.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.4929, allocations: 4 kB / 354.7 MB, free: 9.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.4929, allocations: 4 kB / 354.7 MB, free: 9.145 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.002397/0.4953, allocations: 0.6848 MB / 355.4 MB, free: 8.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.4954, allocations: 8.031 kB / 355.4 MB, free: 8.449 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.4955, allocations: 75.78 kB / 355.5 MB, free: 8.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002944/0.4959, allocations: 55.52 kB / 355.5 MB, free: 8.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.4963, allocations: 258.6 kB / 355.8 MB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.4963, allocations: 31.44 kB / 355.8 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.4964, allocations: 42.7 kB / 355.8 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.4975, allocations: 347.2 kB / 356.2 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.4976, allocations: 7.906 kB / 356.2 MB, free: 7.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/0.4976, allocations: 13.94 kB / 356.2 MB, free: 7.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.4977, allocations: 12 kB / 356.2 MB, free: 7.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009932/0.4987, allocations: 296.7 kB / 356.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.5018, allocations: 1.338 MB / 357.8 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008352/0.5027, allocations: 199.9 kB / 358 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.5028, allocations: 0 / 358 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.5028, allocations: 30.56 kB / 358.1 MB, free: 6.234 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.5028, allocations: 4 kB / 358.1 MB, free: 6.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002411/0.5052, allocations: 0.4923 MB / 358.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.5053, allocations: 59.3 kB / 358.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.5056, allocations: 151.7 kB / 358.8 MB, free: 5.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.5056, allocations: 25.7 kB / 358.8 MB, free: 5.539 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.5058, allocations: 271.6 kB / 359.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.5059, allocations: 65.41 kB / 359.1 MB, free: 5.234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.5059, allocations: 3.625 kB / 359.1 MB, free: 5.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5061, allocations: 326 kB / 359.4 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.5064, allocations: 68.64 kB / 359.5 MB, free: 4.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.5067, allocations: 128 kB / 359.6 MB, free: 4.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.5071, allocations: 83.91 kB / 359.7 MB, free: 4.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5071, allocations: 4 kB / 359.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001087/0.5082, allocations: 312.1 kB / 360 MB, free: 4.441 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.5082, allocations: 7.938 kB / 360 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5082, allocations: 4 kB / 360 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.5088, allocations: 85.62 kB / 360.1 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.5091, allocations: 40.03 kB / 360.2 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.512, allocations: 1.865 MB / 362 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.5123, allocations: 31.42 kB / 362.1 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.5124, allocations: 11.31 kB / 362.1 MB, free: 2.551 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 (17): * Single equations (assignments): 16 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002537/0.5126, allocations: 154.9 kB / 362.2 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.5127, allocations: 19.77 kB / 362.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009613/0.5137, allocations: 258.4 kB / 362.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.5137, allocations: 4 kB / 362.5 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5137, allocations: 0 / 362.5 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5137, allocations: 3.984 kB / 362.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.5142, allocations: 331.5 kB / 362.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5143, allocations: 4 kB / 362.8 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.5145, allocations: 23.92 kB / 362.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.5149, allocations: 85.81 kB / 362.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.515, allocations: 8.688 kB / 362.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.5178, allocations: 1.868 MB / 364.8 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5179, allocations: 4.031 kB / 364.8 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.5192, allocations: 424 kB / 365.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.621e-05/0.5193, allocations: 96.89 kB / 365.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.5193, allocations: 4 kB / 365.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.5196, allocations: 15.61 kB / 365.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.5197, allocations: 19.42 kB / 365.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.5197, allocations: 7.938 kB / 365.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001564/0.5199, allocations: 127.5 kB / 365.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5199, allocations: 0 / 365.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006859/0.5206, allocations: 103.1 kB / 365.6 MB, free: 15.33 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (7): * Single equations (assignments): 6 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001664/0.5223, allocations: 0.9877 MB / 366.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.5234, allocations: 349.3 kB / 366.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5234, allocations: 448 / 366.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006042/0.524, allocations: 248.9 kB / 367.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.5243, allocations: 19.36 kB / 367.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.5283, allocations: 2.54 MB / 369.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.5288, allocations: 0.7716 MB / 370.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.529, allocations: 91.95 kB / 370.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of SimCode: time 1.392e-06/0.529, allocations: 0 / 370.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.596/3.125, allocations: 5.104 MB / 375.7 MB, free: 5.566 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.SeriesResonance_res.mat does not exist to compare? outputFormat=mat