Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.644/1.644, allocations: 171.2 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006003/0.0006003, allocations: 12 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08252/0.08318, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4066/0.4899, allocations: 74.18 MB / 346.3 MB, free: 14.76 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/0.4903, allocations: 79.33 kB / 346.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1363/0.6266, allocations: 29.61 MB / 376 MB, free: 6.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.6267, allocations: 0 / 376 MB, free: 6.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001366/0.6268, allocations: 35.92 kB / 376 MB, free: 6.008 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.007291/0.6341, allocations: 1.81 MB / 377.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.6342, allocations: 8.031 kB / 377.9 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007729/0.635, allocations: 205.5 kB / 378.1 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.6363, allocations: 237.4 kB / 378.3 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.6398, allocations: 1.059 MB / 379.3 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.6399, allocations: 100.4 kB / 379.4 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003819/0.6403, allocations: 122.1 kB / 379.6 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005283/0.6456, allocations: 1.737 MB / 381.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.6457, allocations: 0 / 381.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.6459, allocations: 52.62 kB / 381.4 MB, free: 1.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.232e-05/0.646, allocations: 42 kB / 381.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00482/0.6509, allocations: 1.462 MB / 382.9 MB, free: 180 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.6659, allocations: 5.228 MB / 388.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.6681, allocations: 1.098 MB / 389.2 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.697e-05/0.6682, allocations: 12.41 kB / 389.2 MB, free: 9.484 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.6683, allocations: 42.98 kB / 389.2 MB, free: 9.434 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.176e-06/0.6683, allocations: 0 / 389.2 MB, free: 9.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.00552/0.6738, allocations: 1.367 MB / 390.6 MB, free: 8.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.6739, allocations: 81.11 kB / 390.7 MB, free: 7.945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.6761, allocations: 0.9301 MB / 391.6 MB, free: 7.008 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.6763, allocations: 33.7 kB / 391.6 MB, free: 6.969 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006862/0.677, allocations: 0.658 MB / 392.3 MB, free: 6.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.6773, allocations: 177.5 kB / 392.5 MB, free: 6.125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.6774, allocations: 12 kB / 392.5 MB, free: 6.113 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6775, allocations: 334 kB / 392.8 MB, free: 5.781 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.6786, allocations: 345 kB / 393.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.6798, allocations: 0.4966 MB / 393.6 MB, free: 4.879 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.681, allocations: 417 kB / 394.1 MB, free: 4.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.681, allocations: 0 / 394.1 MB, free: 4.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002873/0.6839, allocations: 0.9671 MB / 395 MB, free: 3.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.684, allocations: 11.95 kB / 395 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.684, allocations: 4 kB / 395 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.684, allocations: 15.92 kB / 395.1 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.6854, allocations: 183.9 kB / 395.2 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/0.6855, allocations: 8 kB / 395.2 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009784/0.6865, allocations: 83.34 kB / 395.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.567e-05/0.6866, allocations: 27.98 kB / 395.4 MB, free: 3.172 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.001243/0.6878, allocations: 0.5208 MB / 395.9 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.6881, allocations: 90.88 kB / 396 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.6884, allocations: 111.9 kB / 396.1 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.6884, allocations: 4 kB / 396.1 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/0.6884, allocations: 4 kB / 396.1 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.6884, allocations: 0 / 396.1 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005909/0.6944, allocations: 2.256 MB / 398.3 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.6944, allocations: 4 kB / 398.3 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000767/0.6952, allocations: 83.84 kB / 398.4 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007496/0.696, allocations: 156.7 kB / 398.6 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.911e-05/0.6961, allocations: 27.92 kB / 398.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004689/0.7008, allocations: 2.665 MB / 401.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.7008, allocations: 7.969 kB / 401.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/0.7046, allocations: 1.471 MB / 402.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007406/0.7054, allocations: 255.9 kB / 403 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.7056, allocations: 15.98 kB / 403 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009229/0.7065, allocations: 64.08 kB / 403.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.7068, allocations: 51.88 kB / 403.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/0.7068, allocations: 19.98 kB / 403.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001624/0.7085, allocations: 0.741 MB / 403.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.998e-06/0.7085, allocations: 0 / 403.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0015/0.71, allocations: 342.4 kB / 404.2 MB, free: 10.01 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.004439/0.7145, allocations: 2.332 MB / 406.5 MB, free: 7.633 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002239/0.7168, allocations: 0.7373 MB / 407.3 MB, free: 6.895 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.7168, allocations: 0 / 407.3 MB, free: 6.895 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.7185, allocations: 0.5598 MB / 407.8 MB, free: 6.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.72, allocations: 168.2 kB / 408 MB, free: 6.152 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/0.7406, allocations: 10.64 MB / 418.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.7424, allocations: 1.506 MB / 420.2 MB, free: 9.703 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001026/0.7434, allocations: 202.6 kB / 420.4 MB, free: 9.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009962/0.7444, allocations: 459.3 kB / 420.8 MB, free: 9.055 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7444, allocations: 0 / 420.8 MB, free: 9.055 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3032/1.048, allocations: 20.84 MB / 441.6 MB, free: 97.27 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/1.048, allocations: 224.3 kB / 441.9 MB, free: 97.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/4.182, allocations: 0 / 441.9 MB, free: 97.04 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat