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.MultiPhaseInductance.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.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.566/1.566, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005944/0.0005942, allocations: 8 kB / 233.3 MB, free: 2.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09394, allocations: 38.76 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3634/0.4574, allocations: 74.19 MB / 346.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/0.4578, allocations: 78.2 kB / 346.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1171/0.5749, allocations: 29.61 MB / 376 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.575, allocations: 0 / 376 MB, free: 6.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001207/0.5751, allocations: 32.16 kB / 376 MB, free: 6.945 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006602/0.5817, allocations: 1.809 MB / 377.8 MB, free: 5.203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.5818, allocations: 12.03 kB / 377.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006324/0.5824, allocations: 195.1 kB / 378 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.5837, allocations: 244.8 kB / 378.3 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/0.5867, allocations: 1.06 MB / 379.3 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.541e-05/0.5868, allocations: 92.77 kB / 379.4 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.5872, allocations: 125.8 kB / 379.5 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00451/0.5917, allocations: 1.736 MB / 381.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/0.5917, allocations: 0 / 381.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/0.592, allocations: 55.98 kB / 381.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.74e-05/0.592, allocations: 42 kB / 381.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004316/0.5964, allocations: 1.461 MB / 382.8 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.6101, allocations: 5.236 MB / 388.1 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.6123, allocations: 1.095 MB / 389.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.59e-05/0.6123, allocations: 4.422 kB / 389.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.6124, allocations: 46.98 kB / 389.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.745e-06/0.6124, allocations: 0 / 389.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.005382/0.6178, allocations: 1.367 MB / 390.6 MB, free: 8.746 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.6179, allocations: 81.11 kB / 390.7 MB, free: 8.648 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.62, allocations: 0.9339 MB / 391.6 MB, free: 7.707 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.6202, allocations: 37.7 kB / 391.6 MB, free: 7.664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/0.6208, allocations: 0.6527 MB / 392.3 MB, free: 7.004 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.621, allocations: 173.5 kB / 392.4 MB, free: 6.832 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.6211, allocations: 20 kB / 392.5 MB, free: 6.812 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.6213, allocations: 334.8 kB / 392.8 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.6224, allocations: 341 kB / 393.1 MB, free: 6.145 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.6235, allocations: 0.5005 MB / 393.6 MB, free: 5.574 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.6247, allocations: 421.2 kB / 394 MB, free: 5.164 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.6247, allocations: 0 / 394 MB, free: 5.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002594/0.6273, allocations: 0.9012 MB / 394.9 MB, free: 4.258 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.6274, allocations: 14.14 kB / 395 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.6274, allocations: 4 kB / 395 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.6275, allocations: 8 kB / 395 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.6288, allocations: 180 kB / 395.1 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.6288, allocations: 8 kB / 395.1 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009665/0.6298, allocations: 87.33 kB / 395.2 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.36e-05/0.6299, allocations: 28 kB / 395.3 MB, free: 3.938 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (77): * Single equations (assignments): 77 * 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.001245/0.6312, allocations: 0.5169 MB / 395.8 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.6315, allocations: 94.95 kB / 395.9 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.6318, allocations: 107.9 kB / 396 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.6318, allocations: 11.94 kB / 396 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.6318, allocations: 0 / 396 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.6319, allocations: 4 kB / 396 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/0.6379, allocations: 2.269 MB / 398.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.6379, allocations: 0 / 398.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/0.6387, allocations: 83.89 kB / 398.3 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007114/0.6394, allocations: 160.7 kB / 398.5 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-05/0.6395, allocations: 16.27 kB / 398.5 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00482/0.6443, allocations: 2.665 MB / 401.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6444, allocations: 0 / 401.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003866/0.6482, allocations: 1.485 MB / 402.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000665/0.6489, allocations: 255.9 kB / 402.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.6491, allocations: 19.98 kB / 402.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/0.6501, allocations: 59.95 kB / 403 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.6503, allocations: 51.88 kB / 403 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/0.6504, allocations: 19.98 kB / 403.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001615/0.652, allocations: 0.7371 MB / 403.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.652, allocations: 0 / 403.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001479/0.6535, allocations: 334.6 kB / 404.1 MB, free: 10.78 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].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 (33): * Single equations (assignments): 32 * 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 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004401/0.6579, allocations: 2.333 MB / 406.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.6602, allocations: 0.7334 MB / 407.2 MB, free: 7.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.6602, allocations: 0 / 407.2 MB, free: 7.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001684/0.6619, allocations: 0.5639 MB / 407.8 MB, free: 7.082 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.6634, allocations: 160.2 kB / 407.9 MB, free: 6.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/0.6826, allocations: 10.62 MB / 418.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.6842, allocations: 1.472 MB / 420 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/0.6853, allocations: 455.3 kB / 420.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6853, allocations: 0 / 420.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.004/3.689, allocations: 25.64 MB / 446.1 MB, free: 96.65 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat