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.MultiPhaseInductance.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.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006356/0.0006357, allocations: 8 kB / 264.1 MB, free: 3.465 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3069, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.4554, allocations: 80.44 MB / 389 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.4558, allocations: 83.95 kB / 389.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3997/0.8555, allocations: 30.7 MB / 419.8 MB, free: 83.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.8556, allocations: 0 / 419.8 MB, free: 83.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001165/0.8557, allocations: 30.88 kB / 419.8 MB, free: 83.15 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006652/0.8624, allocations: 1.852 MB / 421.7 MB, free: 82.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.8625, allocations: 9.375 kB / 421.7 MB, free: 82.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005711/0.863, allocations: 209.3 kB / 421.9 MB, free: 82.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.8651, allocations: 317.6 kB / 422.2 MB, free: 82.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.868, allocations: 1.091 MB / 423.3 MB, free: 81.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-05/0.8681, allocations: 104.4 kB / 423.4 MB, free: 81.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003187/0.8685, allocations: 142.5 kB / 423.5 MB, free: 81.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006714/0.8752, allocations: 1.84 MB / 425.4 MB, free: 81.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-05/0.8753, allocations: 0 / 425.4 MB, free: 81.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003329/0.8757, allocations: 58.25 kB / 425.4 MB, free: 81.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.36e-05/0.8758, allocations: 48.91 kB / 425.5 MB, free: 81.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006265/0.8821, allocations: 1.612 MB / 427.1 MB, free: 81.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.9009, allocations: 5.593 MB / 432.7 MB, free: 80.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/0.9054, allocations: 2.903 MB / 435.6 MB, free: 77.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003582/0.909, allocations: 1.533 MB / 437.1 MB, free: 76.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.9091, allocations: 42.19 kB / 437.2 MB, free: 76.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=53): time 3.687e-06/0.9091, allocations: 4 kB / 437.2 MB, free: 76.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=53): time 0.005279/0.9144, allocations: 1.432 MB / 438.6 MB, free: 76.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.9145, allocations: 84.83 kB / 438.7 MB, free: 75.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.9164, allocations: 0.9253 MB / 439.6 MB, free: 75.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.9166, allocations: 41.02 kB / 439.6 MB, free: 75.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004779/0.9171, allocations: 0.6779 MB / 440.3 MB, free: 75.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.9173, allocations: 185 kB / 440.5 MB, free: 74.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.9173, allocations: 15.38 kB / 440.5 MB, free: 74.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.9174, allocations: 335.2 kB / 440.8 MB, free: 74.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009863/0.9184, allocations: 367 kB / 441.2 MB, free: 74.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.9195, allocations: 0.5268 MB / 441.7 MB, free: 74.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.9206, allocations: 438.8 kB / 442.2 MB, free: 74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/0.9206, allocations: 7.078 kB / 442.2 MB, free: 74 MB / 346.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002682/0.9233, allocations: 1.026 MB / 443.2 MB, free: 73.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.9234, allocations: 5.625 kB / 443.2 MB, free: 73.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.9234, allocations: 7.25 kB / 443.2 MB, free: 73.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.9234, allocations: 8.125 kB / 443.2 MB, free: 73.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.9249, allocations: 192.7 kB / 443.4 MB, free: 73.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.925, allocations: 7.469 kB / 443.4 MB, free: 73.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.9261, allocations: 91.53 kB / 443.5 MB, free: 73.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.9263, allocations: 25.81 kB / 443.5 MB, free: 73.59 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.001141/0.9274, allocations: 0.5287 MB / 444.1 MB, free: 73.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/0.9278, allocations: 91.64 kB / 444.1 MB, free: 73.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.9298, allocations: 0.6992 MB / 444.8 MB, free: 72.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.9298, allocations: 6.938 kB / 444.8 MB, free: 72.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.9299, allocations: 3.719 kB / 444.8 MB, free: 72.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.9299, allocations: 3.891 kB / 444.9 MB, free: 72.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/0.9337, allocations: 1.674 MB / 446.5 MB, free: 72.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.9338, allocations: 4 kB / 446.5 MB, free: 72.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008701/0.9347, allocations: 97.08 kB / 446.6 MB, free: 72.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000659/0.9354, allocations: 153 kB / 446.8 MB, free: 71.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/0.9354, allocations: 19.7 kB / 446.8 MB, free: 71.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003859/0.9393, allocations: 2.665 MB / 449.5 MB, free: 69.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.9394, allocations: 10.7 kB / 449.5 MB, free: 69.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.9429, allocations: 1.558 MB / 451 MB, free: 68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.9434, allocations: 190.3 kB / 451.2 MB, free: 67.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.9436, allocations: 12 kB / 451.2 MB, free: 67.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.9447, allocations: 69.77 kB / 451.3 MB, free: 67.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.9449, allocations: 54.89 kB / 451.3 MB, free: 67.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-05/0.945, allocations: 22.58 kB / 451.4 MB, free: 67.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001382/0.9464, allocations: 0.723 MB / 452.1 MB, free: 67.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.9464, allocations: 0.875 kB / 452.1 MB, free: 67.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001636/0.9481, allocations: 362.4 kB / 452.4 MB, free: 66.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * 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.004132/0.9523, allocations: 2.43 MB / 454.9 MB, free: 64.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.9544, allocations: 0.7922 MB / 455.7 MB, free: 63.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.9544, allocations: 4 kB / 455.7 MB, free: 63.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.9561, allocations: 0.5946 MB / 456.3 MB, free: 63.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.9575, allocations: 161.5 kB / 456.4 MB, free: 63.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/0.9746, allocations: 10.99 MB / 467.4 MB, free: 52.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.9759, allocations: 1.523 MB / 468.9 MB, free: 51.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001135/0.977, allocations: 233.6 kB / 469.2 MB, free: 51.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008313/0.9779, allocations: 487.3 kB / 469.6 MB, free: 50.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.402e-06/0.9779, allocations: 0 / 469.6 MB, free: 50.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05906/1.037, allocations: 21.23 MB / 490.9 MB, free: 29.88 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/1.037, allocations: 232.8 kB / 491.1 MB, free: 29.62 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.287/4.324, allocations: 0 / 491.1 MB, free: 29.62 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat