Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.968/1.968, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3048, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.4751, allocations: 76.87 MB / 385.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.4755, allocations: 87.94 kB / 385.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04035/0.5158, allocations: 9.748 MB / 395.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5159, allocations: 4 kB / 395.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.5159, allocations: 4 kB / 395.3 MB, free: 5.859 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001796/0.5177, allocations: 0.6744 MB / 396 MB, free: 5.137 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.5178, allocations: 12.03 kB / 396 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.5179, allocations: 70.53 kB / 396 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006852/0.5186, allocations: 87.44 kB / 396.1 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.5192, allocations: 303.5 kB / 396.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.5193, allocations: 25 kB / 396.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.394e-05/0.5194, allocations: 36 kB / 396.5 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009271/0.5203, allocations: 357.1 kB / 396.8 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.5203, allocations: 0 / 396.8 MB, free: 4.203 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.5204, allocations: 16 kB / 396.8 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.5204, allocations: 8 kB / 396.8 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.5213, allocations: 250.1 kB / 397.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.5244, allocations: 1.343 MB / 398.4 MB, free: 2.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00058/0.525, allocations: 197.2 kB / 398.6 MB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/0.5261, allocations: 0.879 MB / 399.5 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.5262, allocations: 38.56 kB / 399.5 MB, free: 1.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.184e-06/0.5262, allocations: 4 kB / 399.5 MB, free: 1.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.000847/0.527, allocations: 229.3 kB / 399.8 MB, free: 1.023 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.5271, allocations: 85.11 kB / 399.9 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.5275, allocations: 250.1 kB / 400.1 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.5276, allocations: 33.7 kB / 400.1 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.5278, allocations: 235.5 kB / 400.4 MB, free: 412 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.5279, allocations: 59.16 kB / 400.4 MB, free: 352 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.5279, allocations: 7.938 kB / 400.4 MB, free: 344 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5281, allocations: 338.8 kB / 400.8 MB, free: 16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.5283, allocations: 72.62 kB / 400.8 MB, free: 15.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.5287, allocations: 198.4 kB / 401 MB, free: 15.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.529, allocations: 100.9 kB / 401.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.5291, allocations: 4 kB / 401.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008675/0.5299, allocations: 325.3 kB / 401.4 MB, free: 15.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.53, allocations: 10.45 kB / 401.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.53, allocations: 8 kB / 401.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.53, allocations: 7.938 kB / 401.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.5306, allocations: 83.89 kB / 401.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.5306, allocations: 8 kB / 401.6 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.531, allocations: 43.69 kB / 401.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.531, allocations: 16 kB / 401.6 MB, free: 15.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002518/0.5313, allocations: 153.7 kB / 401.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.5314, allocations: 23.72 kB / 401.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.305e-05/0.5315, allocations: 37.69 kB / 401.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5315, allocations: 4 kB / 401.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5315, allocations: 3.938 kB / 401.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5315, allocations: 0 / 401.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.5325, allocations: 0.5108 MB / 402.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.5326, allocations: 4 kB / 402.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.533, allocations: 47.92 kB / 402.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.533, allocations: 0 / 402.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.533, allocations: 7.938 kB / 402.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.533, allocations: 4.031 kB / 402.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5331, allocations: 7.984 kB / 402.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000869/0.5339, allocations: 451.1 kB / 402.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.534, allocations: 104.7 kB / 403 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.5341, allocations: 8 kB / 403 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.5345, allocations: 11.98 kB / 403 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.5345, allocations: 20.05 kB / 403 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.5346, allocations: 8.25 kB / 403 MB, free: 13.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002866/0.5349, allocations: 198 kB / 403.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5349, allocations: 0 / 403.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005944/0.5355, allocations: 75.84 kB / 403.3 MB, free: 13.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.5368, allocations: 1.15 MB / 404.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006444/0.5375, allocations: 195.9 kB / 404.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5375, allocations: 0 / 404.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.5377, allocations: 76.97 kB / 404.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.5382, allocations: 48.64 kB / 404.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.5432, allocations: 4.659 MB / 409.4 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.5436, allocations: 0.7794 MB / 410.2 MB, free: 6.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002482/0.5439, allocations: 34.97 kB / 410.2 MB, free: 6.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.5441, allocations: 107.4 kB / 410.3 MB, free: 6.047 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5441, allocations: 0 / 410.3 MB, free: 6.047 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.5795, allocations: 4.998 MB / 415.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004783/0.5801, allocations: 205.4 kB / 415.5 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/3.21, allocations: 0 / 415.5 MB, free: 0.8477 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat