Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.591/1.591, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003347, allocations: 8 kB / 233.3 MB, free: 0.8242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07831/0.07867, allocations: 38.77 MB / 272.1 MB, free: 9.973 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3242/0.4029, allocations: 70.86 MB / 343 MB, free: 12.12 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.4032, allocations: 79.95 kB / 343 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03446/0.4377, allocations: 8.998 MB / 352 MB, free: 2.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.3e-06/0.4378, allocations: 0 / 352 MB, free: 2.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.15e-05/0.4378, allocations: 7.938 kB / 352.1 MB, free: 2.957 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001627/0.4394, allocations: 0.6585 MB / 352.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4395, allocations: 12.03 kB / 352.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.4396, allocations: 66.53 kB / 352.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.4399, allocations: 55.52 kB / 352.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.4405, allocations: 292.2 kB / 353.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.4405, allocations: 24.66 kB / 353.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/0.4406, allocations: 28 kB / 353.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008152/0.4414, allocations: 320.6 kB / 353.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4414, allocations: 0 / 353.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.4415, allocations: 16 kB / 353.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.4415, allocations: 8 kB / 353.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006978/0.4422, allocations: 211.9 kB / 353.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.4449, allocations: 1.324 MB / 355 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.4453, allocations: 137.2 kB / 355.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.4453, allocations: 8.156 kB / 355.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.4454, allocations: 42.48 kB / 355.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 3.487e-06/0.4454, allocations: 0 / 355.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007424/0.4461, allocations: 205.2 kB / 355.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.4462, allocations: 81.11 kB / 355.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.4466, allocations: 246 kB / 355.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.4466, allocations: 29.7 kB / 355.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.4468, allocations: 282.1 kB / 356.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.4469, allocations: 51.34 kB / 356.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.4469, allocations: 4 kB / 356.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4471, allocations: 326.8 kB / 356.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.4473, allocations: 55.97 kB / 356.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.4476, allocations: 165.7 kB / 356.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.4479, allocations: 84.89 kB / 356.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4479, allocations: 0 / 356.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007313/0.4487, allocations: 261 kB / 357 MB, free: 13.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.4487, allocations: 8 kB / 357 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.4487, allocations: 4.438 kB / 357 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.4488, allocations: 11.98 kB / 357 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.4492, allocations: 67.91 kB / 357.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.4492, allocations: 11.94 kB / 357.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.4495, allocations: 31.69 kB / 357.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.4496, allocations: 15.98 kB / 357.1 MB, free: 13.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (31): * Single equations (assignments): 31 * 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.0001887/0.4498, allocations: 145.8 kB / 357.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.4499, allocations: 31.67 kB / 357.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.19e-05/0.4499, allocations: 25.73 kB / 357.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.45, allocations: 4 kB / 357.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.45, allocations: 0 / 357.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.45, allocations: 0 / 357.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009427/0.4509, allocations: 0.511 MB / 357.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.451, allocations: 64 / 357.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.4513, allocations: 39.98 kB / 357.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4513, allocations: 0 / 357.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.4514, allocations: 7.938 kB / 357.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4514, allocations: 0 / 357.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.4514, allocations: 3.984 kB / 357.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007598/0.4521, allocations: 422.9 kB / 358.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.4523, allocations: 112.9 kB / 358.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.4524, allocations: 7.938 kB / 358.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.4527, allocations: 15.98 kB / 358.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.4528, allocations: 11.98 kB / 358.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.4528, allocations: 7.938 kB / 358.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002626/0.4531, allocations: 194 kB / 358.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4531, allocations: 4 kB / 358.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005543/0.4536, allocations: 79.64 kB / 358.7 MB, free: 11.8 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter_m.Phi.re,inductor_e.i) * 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 (13): * Single equations (assignments): 13 * 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.001146/0.4548, allocations: 1.103 MB / 359.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000565/0.4554, allocations: 164.6 kB / 360 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4554, allocations: 192 / 360 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.4556, allocations: 63.91 kB / 360.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.4561, allocations: 36.77 kB / 360.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/0.4605, allocations: 3.982 MB / 364.1 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.461, allocations: 0.7755 MB / 364.8 MB, free: 5.488 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.4612, allocations: 99.66 kB / 364.9 MB, free: 5.391 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4612, allocations: 0 / 364.9 MB, free: 5.391 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.444/2.905, allocations: 4.471 MB / 369.4 MB, free: 0.9219 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat