Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.000346, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09277/0.09315, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.496, allocations: 76.87 MB / 385.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.4964, allocations: 81.75 kB / 385.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03581/0.5322, allocations: 9.742 MB / 395.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5323, allocations: 4 kB / 395.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.5323, allocations: 7.625 kB / 395.2 MB, free: 13.44 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001638/0.5339, allocations: 0.6889 MB / 395.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.534, allocations: 7.625 kB / 395.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.5341, allocations: 69.52 kB / 396 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006661/0.5348, allocations: 89.62 kB / 396.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.5353, allocations: 297.8 kB / 396.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.5354, allocations: 27.66 kB / 396.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.5354, allocations: 32.88 kB / 396.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008301/0.5363, allocations: 356.8 kB / 396.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.5363, allocations: 3.844 kB / 396.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.5364, allocations: 10.19 kB / 396.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.5364, allocations: 15.11 kB / 396.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007052/0.5371, allocations: 244.2 kB / 397.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.5399, allocations: 1.344 MB / 398.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.5404, allocations: 201.1 kB / 398.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009336/0.5414, allocations: 0.8718 MB / 399.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.5414, allocations: 41.31 kB / 399.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.114e-06/0.5414, allocations: 0 / 399.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007608/0.5422, allocations: 232 kB / 399.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.5423, allocations: 87.55 kB / 399.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.5426, allocations: 249.5 kB / 400.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.5426, allocations: 29.55 kB / 400.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.5428, allocations: 298.8 kB / 400.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.5428, allocations: 62.42 kB / 400.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.5429, allocations: 7.5 kB / 400.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.5429, allocations: 321.5 kB / 400.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.5432, allocations: 75.58 kB / 400.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.5435, allocations: 198.7 kB / 401 MB, free: 9.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.5438, allocations: 108 kB / 401.1 MB, free: 9.926 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5438, allocations: 4 kB / 401.1 MB, free: 9.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007386/0.5446, allocations: 307.3 kB / 401.4 MB, free: 9.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.5446, allocations: 11.48 kB / 401.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5446, allocations: 3.875 kB / 401.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.5447, allocations: 7.406 kB / 401.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.5452, allocations: 83.98 kB / 401.6 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.5452, allocations: 7.75 kB / 401.6 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.5456, allocations: 43.06 kB / 401.6 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.5456, allocations: 15.19 kB / 401.6 MB, free: 9.82 MB / 314.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.0002212/0.5458, allocations: 150.5 kB / 401.8 MB, free: 9.699 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.5459, allocations: 27.25 kB / 401.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.39e-05/0.546, allocations: 39.17 kB / 401.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.546, allocations: 0 / 401.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.546, allocations: 3.938 kB / 401.8 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.5461, allocations: 3.906 kB / 401.8 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008795/0.5469, allocations: 0.5152 MB / 402.4 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.547, allocations: 0 / 402.4 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.5473, allocations: 47.03 kB / 402.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.5474, allocations: 3.875 kB / 402.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.5474, allocations: 3.25 kB / 402.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.5474, allocations: 11.84 kB / 402.4 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5474, allocations: 0 / 402.4 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/0.5482, allocations: 454.5 kB / 402.9 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.5483, allocations: 107 kB / 403 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.5483, allocations: 0 / 403 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.5487, allocations: 17.58 kB / 403 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.5488, allocations: 16.97 kB / 403 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.5488, allocations: 7.812 kB / 403 MB, free: 8.957 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000244/0.549, allocations: 201.9 kB / 403.2 MB, free: 8.867 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.549, allocations: 0 / 403.2 MB, free: 8.867 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005957/0.5497, allocations: 84.78 kB / 403.3 MB, free: 8.855 MB / 314.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.00106/0.5507, allocations: 1.139 MB / 404.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006377/0.5514, allocations: 191.5 kB / 404.6 MB, free: 7.906 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5514, allocations: 0 / 404.6 MB, free: 7.906 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.5517, allocations: 78.39 kB / 404.7 MB, free: 7.898 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.5521, allocations: 32.67 kB / 404.7 MB, free: 7.891 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/0.5564, allocations: 4.69 MB / 409.4 MB, free: 20.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.5568, allocations: 0.781 MB / 410.2 MB, free: 19.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.557, allocations: 108.5 kB / 410.3 MB, free: 19.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5571, allocations: 4 kB / 410.3 MB, free: 19.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.524/3.081, allocations: 4.854 MB / 415.2 MB, free: 17.26 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat