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.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.808/1.808, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005212/0.0005211, allocations: 8 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1101, allocations: 38.76 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3514/0.4615, allocations: 70.16 MB / 342.3 MB, free: 2.773 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.4619, allocations: 85.39 kB / 342.4 MB, free: 2.727 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04661/0.5085, allocations: 12.43 MB / 354.8 MB, free: 8.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5086, allocations: 4 kB / 354.8 MB, free: 8.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.5086, allocations: 8 kB / 354.8 MB, free: 8.574 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.002331/0.511, allocations: 0.6872 MB / 355.5 MB, free: 7.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.511, allocations: 8.031 kB / 355.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.5112, allocations: 78.09 kB / 355.6 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.5115, allocations: 59.45 kB / 355.6 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.5119, allocations: 259.4 kB / 355.9 MB, free: 7.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.512, allocations: 29.81 kB / 355.9 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.5121, allocations: 44.95 kB / 356 MB, free: 7.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.5132, allocations: 359.2 kB / 356.3 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.5132, allocations: 3.906 kB / 356.3 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.5133, allocations: 21 kB / 356.3 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.5133, allocations: 8 kB / 356.3 MB, free: 7.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/0.5143, allocations: 300 kB / 356.6 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00323/0.5175, allocations: 1.366 MB / 358 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.5183, allocations: 182.4 kB / 358.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.5183, allocations: 4 kB / 358.2 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.5184, allocations: 34.38 kB / 358.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 3.296e-06/0.5184, allocations: 0 / 358.2 MB, free: 5.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002149/0.5206, allocations: 462.7 kB / 358.7 MB, free: 5.277 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.5206, allocations: 51.41 kB / 358.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.5209, allocations: 155.9 kB / 358.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.5209, allocations: 29.08 kB / 358.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.5211, allocations: 208.9 kB / 359.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.5212, allocations: 49.77 kB / 359.2 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.5212, allocations: 11.31 kB / 359.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5214, allocations: 330.3 kB / 359.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.5217, allocations: 75.45 kB / 359.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.522, allocations: 134.1 kB / 359.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.5224, allocations: 87.42 kB / 359.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.5224, allocations: 4 kB / 359.8 MB, free: 4.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001126/0.5235, allocations: 328.1 kB / 360.1 MB, free: 3.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5236, allocations: 4 kB / 360.1 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5236, allocations: 4 kB / 360.1 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005104/0.5241, allocations: 73.5 kB / 360.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.5245, allocations: 47.22 kB / 360.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.5269, allocations: 1.657 MB / 361.9 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.5272, allocations: 35.39 kB / 361.9 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.5273, allocations: 8 kB / 361.9 MB, free: 2.246 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 (19): * Single equations (assignments): 18 * 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.0002551/0.5275, allocations: 155.1 kB / 362.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.5276, allocations: 7.906 kB / 362.1 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009722/0.5286, allocations: 274.1 kB / 362.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.5286, allocations: 7.938 kB / 362.4 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5286, allocations: 3.938 kB / 362.4 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5286, allocations: 4 kB / 362.4 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.5292, allocations: 352.5 kB / 362.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.5292, allocations: 0 / 362.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.5295, allocations: 23.98 kB / 362.7 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.5299, allocations: 86.61 kB / 362.8 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.53, allocations: 7.188 kB / 362.8 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.5323, allocations: 1.66 MB / 364.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.5323, allocations: 4.031 kB / 364.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.5336, allocations: 438.6 kB / 364.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.5337, allocations: 100.1 kB / 365 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.5337, allocations: 4 kB / 365 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.534, allocations: 19.44 kB / 365 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.5341, allocations: 19.8 kB / 365.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.5341, allocations: 4 kB / 365.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.5343, allocations: 127.8 kB / 365.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5343, allocations: 0 / 365.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005826/0.5349, allocations: 94.36 kB / 365.3 MB, free: 15.15 MB / 298.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 (9): * Single equations (assignments): 8 * 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.001662/0.5365, allocations: 0.995 MB / 366.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.5376, allocations: 365.1 kB / 366.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5377, allocations: 0 / 366.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.5383, allocations: 251.1 kB / 366.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.5386, allocations: 15.14 kB / 366.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.5425, allocations: 2.524 MB / 369.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.543, allocations: 0.7716 MB / 370.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.5431, allocations: 9.547 kB / 370.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.5433, allocations: 87.78 kB / 370.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5433, allocations: 0 / 370.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.5712, allocations: 4.497 MB / 374.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003215/0.5716, allocations: 220.9 kB / 375 MB, free: 5.789 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.167, allocations: 4 kB / 375 MB, free: 5.785 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat