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.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 8 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09686, allocations: 44.5 MB / 308.5 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4586/0.5555, allocations: 77.02 MB / 385.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.5558, allocations: 87.69 kB / 385.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05731/0.6132, allocations: 16.1 MB / 401.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6132, allocations: 0 / 401.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.6133, allocations: 7.75 kB / 401.8 MB, free: 12.07 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.002472/0.6157, allocations: 0.782 MB / 402.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.6158, allocations: 9.094 kB / 402.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002923/0.6161, allocations: 103.6 kB / 402.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004336/0.6205, allocations: 436.1 kB / 403.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.6212, allocations: 323 kB / 403.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.6212, allocations: 44.62 kB / 403.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.6214, allocations: 56.84 kB / 403.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.623, allocations: 0.5633 MB / 404.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.623, allocations: 0 / 404.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/0.6231, allocations: 23.47 kB / 404.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.6232, allocations: 21.81 kB / 404.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.625, allocations: 0.664 MB / 404.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004961/0.63, allocations: 2.104 MB / 406.9 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/0.6331, allocations: 3.001 MB / 409.9 MB, free: 6.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.6333, allocations: 88.89 kB / 410 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.6334, allocations: 38.72 kB / 410 MB, free: 6.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 4.869e-06/0.6334, allocations: 0 / 410 MB, free: 6.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.002719/0.6361, allocations: 0.7745 MB / 410.8 MB, free: 6.211 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.6362, allocations: 55.81 kB / 410.8 MB, free: 6.148 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.6364, allocations: 187.4 kB / 411 MB, free: 6.031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.6365, allocations: 35.64 kB / 411 MB, free: 6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.6367, allocations: 297.2 kB / 411.3 MB, free: 5.742 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.6368, allocations: 166.6 kB / 411.5 MB, free: 5.621 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.6369, allocations: 17.22 kB / 411.5 MB, free: 5.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.6369, allocations: 336.1 kB / 411.8 MB, free: 5.293 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004966/0.6375, allocations: 167.6 kB / 412 MB, free: 5.273 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.638, allocations: 280.5 kB / 412.3 MB, free: 5.121 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000566/0.6386, allocations: 198.4 kB / 412.5 MB, free: 5.105 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.6386, allocations: 3.875 kB / 412.5 MB, free: 5.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001608/0.6402, allocations: 0.5943 MB / 413.1 MB, free: 4.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.6403, allocations: 8.375 kB / 413.1 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.6403, allocations: 7.844 kB / 413.1 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005185/0.6408, allocations: 76.97 kB / 413.2 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008112/0.6417, allocations: 116.4 kB / 413.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.6438, allocations: 1.671 MB / 414.9 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.6444, allocations: 54.14 kB / 415 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.6445, allocations: 22.09 kB / 415 MB, free: 3.527 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 (60): * Single equations (assignments): 59 * 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.0003279/0.6448, allocations: 171.8 kB / 415.2 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/0.6449, allocations: 34.25 kB / 415.2 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.6466, allocations: 0.5708 MB / 415.8 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.6467, allocations: 3.906 kB / 415.8 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6467, allocations: 7.812 kB / 415.8 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.6467, allocations: 0 / 415.8 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.6492, allocations: 1.195 MB / 417 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.6493, allocations: 0 / 417 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.65, allocations: 84.55 kB / 417.1 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004254/0.6504, allocations: 78.31 kB / 417.2 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.6505, allocations: 11.28 kB / 417.2 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.6526, allocations: 1.657 MB / 418.8 MB, free: 17.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6527, allocations: 4 kB / 418.8 MB, free: 17.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.6548, allocations: 0.8442 MB / 419.7 MB, free: 17.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.655, allocations: 104.1 kB / 419.8 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.6551, allocations: 11.05 kB / 419.8 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.6555, allocations: 18.25 kB / 419.8 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.6556, allocations: 43.28 kB / 419.8 MB, free: 16.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.6557, allocations: 11 kB / 419.9 MB, free: 16.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.6558, allocations: 147.5 kB / 420 MB, free: 16.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6559, allocations: 0 / 420 MB, free: 16.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007721/0.6566, allocations: 165.8 kB / 420.2 MB, free: 16.78 MB / 330.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 (46): * Single equations (assignments): 45 * 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.002617/0.6593, allocations: 1.418 MB / 421.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.661, allocations: 0.617 MB / 422.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.661, allocations: 0.8125 kB / 422.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009148/0.662, allocations: 387.5 kB / 422.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.6624, allocations: 26.73 kB / 422.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008101/0.6705, allocations: 4.792 MB / 427.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.671, allocations: 0.8303 MB / 428.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.6713, allocations: 144.4 kB / 428.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6714, allocations: 3.875 kB / 428.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.169/3.84, allocations: 8.296 MB / 436.7 MB, free: 7.371 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.ParallelResonance_res.mat does not exist to compare? outputFormat=mat