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.SinglePhase.Examples.SeriesResonance.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.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 8 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.09231, allocations: 44.5 MB / 308.5 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/0.5073, allocations: 77.03 MB / 385.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/0.5077, allocations: 81.78 kB / 385.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06005/0.5678, allocations: 16.02 MB / 401.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5679, allocations: 3.938 kB / 401.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.5679, allocations: 7.812 kB / 401.7 MB, free: 12.5 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002496/0.5704, allocations: 0.7804 MB / 402.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.5705, allocations: 9.062 kB / 402.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000264/0.5707, allocations: 99.73 kB / 402.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004301/0.5751, allocations: 438.5 kB / 403 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.5757, allocations: 319.5 kB / 403.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.5758, allocations: 41 kB / 403.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.5759, allocations: 66.08 kB / 403.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.5775, allocations: 0.5502 MB / 404 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/0.5776, allocations: 0 / 404 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/0.5777, allocations: 26.06 kB / 404 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.5777, allocations: 11.56 kB / 404 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.5795, allocations: 0.6502 MB / 404.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.584, allocations: 2.064 MB / 406.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004572/0.5886, allocations: 3.01 MB / 409.7 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.5888, allocations: 89.05 kB / 409.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.5889, allocations: 38.41 kB / 409.8 MB, free: 6.863 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 4.157e-06/0.5889, allocations: 0 / 409.8 MB, free: 6.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.004485/0.5934, allocations: 0.812 MB / 410.7 MB, free: 6.578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.5935, allocations: 59.72 kB / 410.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/0.5939, allocations: 185.5 kB / 410.9 MB, free: 6.402 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.594, allocations: 32.08 kB / 410.9 MB, free: 6.371 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.5943, allocations: 308.7 kB / 411.2 MB, free: 6.105 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.5945, allocations: 163.9 kB / 411.4 MB, free: 5.988 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/0.5946, allocations: 12.69 kB / 411.4 MB, free: 5.984 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5948, allocations: 336.6 kB / 411.7 MB, free: 5.664 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008489/0.5956, allocations: 163.7 kB / 411.9 MB, free: 5.641 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.5968, allocations: 268.9 kB / 412.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.5979, allocations: 203.2 kB / 412.4 MB, free: 5.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.598, allocations: 0 / 412.4 MB, free: 5.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002515/0.6005, allocations: 0.5824 MB / 412.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.6006, allocations: 8.25 kB / 412.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.6006, allocations: 3.969 kB / 412.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006787/0.6013, allocations: 94.33 kB / 413 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.6025, allocations: 112.3 kB / 413.1 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.6054, allocations: 1.87 MB / 415 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.606, allocations: 56.5 kB / 415.1 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.6061, allocations: 24.61 kB / 415.1 MB, free: 3.789 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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.0002963/0.6064, allocations: 174.6 kB / 415.3 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.6065, allocations: 31.05 kB / 415.3 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.6081, allocations: 0.5613 MB / 415.9 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.6081, allocations: 7.859 kB / 415.9 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6081, allocations: 3.969 kB / 415.9 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.6081, allocations: 3.984 kB / 415.9 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.6105, allocations: 1.148 MB / 417 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.6106, allocations: 0 / 417 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/0.6112, allocations: 76.88 kB / 417.1 MB, free: 2.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.6117, allocations: 94.27 kB / 417.2 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.6118, allocations: 9.656 kB / 417.2 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.6143, allocations: 1.872 MB / 419.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6143, allocations: 0 / 419.1 MB, free: 17.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.6163, allocations: 0.8116 MB / 419.9 MB, free: 17.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.6165, allocations: 115.8 kB / 420 MB, free: 17.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/0.6166, allocations: 6.562 kB / 420 MB, free: 17.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.617, allocations: 19.52 kB / 420 MB, free: 17.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.6171, allocations: 46.47 kB / 420.1 MB, free: 17.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.6171, allocations: 10.88 kB / 420.1 MB, free: 17.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002014/0.6174, allocations: 142.6 kB / 420.2 MB, free: 16.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6174, allocations: 0 / 420.2 MB, free: 16.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008079/0.6182, allocations: 159.3 kB / 420.4 MB, free: 16.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.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 (44): * Single equations (assignments): 43 * 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.002433/0.6206, allocations: 1.4 MB / 421.8 MB, free: 16.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.6222, allocations: 0.6006 MB / 422.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6223, allocations: 4.25 kB / 422.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008141/0.6231, allocations: 383.2 kB / 422.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.6235, allocations: 23.56 kB / 422.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008075/0.6315, allocations: 4.772 MB / 427.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.6321, allocations: 0.8263 MB / 428.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.6324, allocations: 151.8 kB / 428.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of SimCode: time 3.406e-06/0.6324, allocations: 4.031 kB / 428.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.731/3.363, allocations: 8.022 MB / 436.5 MB, free: 7.672 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat