Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005057, allocations: 12 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1097, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3522/0.4619, allocations: 70.16 MB / 342.3 MB, free: 2.754 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.4623, allocations: 83.58 kB / 342.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04777/0.5101, allocations: 12.34 MB / 354.7 MB, free: 8.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5101, allocations: 0 / 354.7 MB, free: 8.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.523e-05/0.5102, allocations: 8 kB / 354.7 MB, free: 8.629 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.002444/0.5126, allocations: 0.6887 MB / 355.4 MB, free: 7.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.5127, allocations: 12.03 kB / 355.4 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.5129, allocations: 75.16 kB / 355.5 MB, free: 7.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/0.5132, allocations: 62.94 kB / 355.5 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.5136, allocations: 254.8 kB / 355.8 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.5137, allocations: 30.81 kB / 355.8 MB, free: 7.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.385e-05/0.5138, allocations: 41.95 kB / 355.9 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.5148, allocations: 342.8 kB / 356.2 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.5149, allocations: 5.406 kB / 356.2 MB, free: 7.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.515, allocations: 17.38 kB / 356.2 MB, free: 7.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.515, allocations: 12 kB / 356.2 MB, free: 7.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009097/0.5159, allocations: 288.4 kB / 356.5 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.5188, allocations: 1.341 MB / 357.9 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008236/0.5197, allocations: 189.4 kB / 358 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.5197, allocations: 11.98 kB / 358.1 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.5198, allocations: 33.81 kB / 358.1 MB, free: 5.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.926e-06/0.5198, allocations: 0 / 358.1 MB, free: 5.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002423/0.5222, allocations: 496.6 kB / 358.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.5223, allocations: 67.23 kB / 358.6 MB, free: 5.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.5226, allocations: 148 kB / 358.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.5226, allocations: 32.89 kB / 358.8 MB, free: 5.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.5228, allocations: 207 kB / 359 MB, free: 4.832 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.383e-05/0.5229, allocations: 58.41 kB / 359.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.5229, allocations: 6.938 kB / 359.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5231, allocations: 326.1 kB / 359.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.5233, allocations: 73.28 kB / 359.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.5237, allocations: 126.9 kB / 359.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.524, allocations: 82.8 kB / 359.7 MB, free: 4.234 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.524, allocations: 3.938 kB / 359.7 MB, free: 4.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001134/0.5252, allocations: 316.3 kB / 360 MB, free: 3.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.5252, allocations: 9.078 kB / 360 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5253, allocations: 4 kB / 360 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005249/0.5258, allocations: 87.19 kB / 360.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.5261, allocations: 39.53 kB / 360.1 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.5291, allocations: 1.876 MB / 362 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.5294, allocations: 30.92 kB / 362 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.5295, allocations: 4 kB / 362 MB, free: 2.086 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.0002648/0.5297, allocations: 155.9 kB / 362.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.5298, allocations: 15.86 kB / 362.2 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009652/0.5308, allocations: 267.9 kB / 362.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5308, allocations: 0 / 362.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5308, allocations: 4 kB / 362.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.5308, allocations: 0 / 362.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.5314, allocations: 332.3 kB / 362.8 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5314, allocations: 0 / 362.8 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.5316, allocations: 27.05 kB / 362.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/0.5321, allocations: 84.31 kB / 362.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.5321, allocations: 3.125 kB / 362.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002915/0.5351, allocations: 1.87 MB / 364.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5351, allocations: 64 / 364.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.5364, allocations: 439.1 kB / 365.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/0.5365, allocations: 89 kB / 365.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.5365, allocations: 7.984 kB / 365.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.5368, allocations: 11.38 kB / 365.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.5369, allocations: 18.09 kB / 365.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.5369, allocations: 8 kB / 365.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.5371, allocations: 132 kB / 365.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.627e-06/0.5371, allocations: 0 / 365.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006845/0.5378, allocations: 108.6 kB / 365.6 MB, free: 14.86 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.001709/0.5395, allocations: 0.9884 MB / 366.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.5407, allocations: 347.3 kB / 366.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5407, allocations: 0 / 366.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006677/0.5414, allocations: 249 kB / 367.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.5418, allocations: 11.94 kB / 367.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.5459, allocations: 2.506 MB / 369.7 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.5464, allocations: 0.7755 MB / 370.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.5465, allocations: 17.48 kB / 370.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.5467, allocations: 83.94 kB / 370.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5467, allocations: 7.938 kB / 370.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.5817, allocations: 4.43 MB / 375 MB, free: 5.793 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/0.5821, allocations: 234.4 kB / 375.2 MB, free: 5.543 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/3.03, allocations: 0 / 375.2 MB, free: 5.543 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat