Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000529/0.000529, allocations: 8 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4201, allocations: 44.49 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.6083, allocations: 77.03 MB / 385.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.6087, allocations: 91.89 kB / 385.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06475/0.6734, allocations: 16.02 MB / 401.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6735, allocations: 0 / 401.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.6735, allocations: 8 kB / 401.7 MB, free: 15.25 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002577/0.6761, allocations: 0.78 MB / 402.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.6762, allocations: 12.03 kB / 402.5 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002889/0.6765, allocations: 95.83 kB / 402.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004343/0.6809, allocations: 435 kB / 403 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.6816, allocations: 326.2 kB / 403.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/0.6817, allocations: 45.31 kB / 403.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.6819, allocations: 56 kB / 403.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.6837, allocations: 0.557 MB / 404 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.6838, allocations: 0 / 404 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-05/0.6839, allocations: 24 kB / 404 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.684, allocations: 12 kB / 404 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.6861, allocations: 0.6532 MB / 404.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005312/0.6914, allocations: 2.073 MB / 406.8 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004143/0.6956, allocations: 3.009 MB / 409.8 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.6959, allocations: 89.55 kB / 409.9 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.6959, allocations: 39 kB / 409.9 MB, free: 6.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.787e-06/0.696, allocations: 0 / 409.9 MB, free: 6.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.003373/0.6993, allocations: 0.8092 MB / 410.7 MB, free: 5.398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.6994, allocations: 59.84 kB / 410.8 MB, free: 5.328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.6998, allocations: 186.3 kB / 410.9 MB, free: 5.141 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/0.6999, allocations: 33.7 kB / 411 MB, free: 5.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.7001, allocations: 244 kB / 411.2 MB, free: 4.855 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.7003, allocations: 165.6 kB / 411.4 MB, free: 4.691 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.7003, allocations: 8 kB / 411.4 MB, free: 4.684 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.7005, allocations: 342.8 kB / 411.7 MB, free: 4.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.7011, allocations: 161 kB / 411.9 MB, free: 4.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/0.7018, allocations: 273.9 kB / 412.1 MB, free: 3.871 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/0.7024, allocations: 200.7 kB / 412.3 MB, free: 3.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.7024, allocations: 0 / 412.3 MB, free: 3.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001847/0.7043, allocations: 0.5903 MB / 412.9 MB, free: 3.074 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.7044, allocations: 8 kB / 412.9 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.7044, allocations: 4 kB / 412.9 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005523/0.7049, allocations: 92.73 kB / 413 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008136/0.7058, allocations: 103.9 kB / 413.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/0.7088, allocations: 1.87 MB / 415 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.7095, allocations: 59.41 kB / 415.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/0.7095, allocations: 23.98 kB / 415.1 MB, free: 0.7852 MB / 346.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.0003364/0.7099, allocations: 169.8 kB / 415.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.71, allocations: 31.67 kB / 415.3 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.7119, allocations: 0.5666 MB / 415.8 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2559/0.9678, allocations: 4.609 kB / 415.9 MB, free: 90.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.95e-05/0.9679, allocations: 4.094 kB / 415.9 MB, free: 90.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/0.9679, allocations: 0.5625 kB / 415.9 MB, free: 90.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.9713, allocations: 1.144 MB / 417 MB, free: 90.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.9714, allocations: 0.875 kB / 417 MB, free: 90.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.9721, allocations: 85.5 kB / 417.1 MB, free: 90.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/0.9726, allocations: 86.39 kB / 417.2 MB, free: 90.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.9726, allocations: 10.44 kB / 417.2 MB, free: 90.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.9753, allocations: 1.861 MB / 419 MB, free: 88.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.9754, allocations: 4.016 kB / 419 MB, free: 88.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.9776, allocations: 0.8189 MB / 419.9 MB, free: 88.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.9778, allocations: 110.3 kB / 420 MB, free: 88.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/0.9778, allocations: 9.094 kB / 420 MB, free: 88.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.9782, allocations: 21.3 kB / 420 MB, free: 88.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.9784, allocations: 38.45 kB / 420 MB, free: 88.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.9784, allocations: 21.25 kB / 420.1 MB, free: 88.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001598/0.9786, allocations: 138 kB / 420.2 MB, free: 88.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9786, allocations: 0 / 420.2 MB, free: 88.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008003/0.9794, allocations: 176.1 kB / 420.4 MB, free: 88.52 MB / 346.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.002309/0.9817, allocations: 1.385 MB / 421.7 MB, free: 87.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.984, allocations: 0.6105 MB / 422.4 MB, free: 87.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.9841, allocations: 0 / 422.4 MB, free: 87.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.9854, allocations: 388.1 kB / 422.7 MB, free: 87.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.9862, allocations: 22.91 kB / 422.8 MB, free: 87.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.9984, allocations: 4.729 MB / 427.5 MB, free: 84.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.9989, allocations: 0.8276 MB / 428.3 MB, free: 84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005911/0.9995, allocations: 56.38 kB / 428.4 MB, free: 83.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/0.9999, allocations: 142.6 kB / 428.5 MB, free: 83.98 MB / 346.7 MB Notification: Performance of SimCode: time 2.124e-06/0.9999, allocations: 0 / 428.5 MB, free: 83.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03702/1.037, allocations: 6.994 MB / 435.5 MB, free: 83.41 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/1.037, allocations: 230.9 kB / 435.7 MB, free: 83.17 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.095/4.132, allocations: 0 / 435.7 MB, free: 83.17 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat