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.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_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09506/0.09544, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5398, allocations: 80.44 MB / 389 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000375/0.5403, allocations: 82.36 kB / 389.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1665/0.7068, allocations: 30.69 MB / 419.8 MB, free: 6.254 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.7068, allocations: 0 / 419.8 MB, free: 6.254 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001109/0.7069, allocations: 35.06 kB / 419.8 MB, free: 6.25 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006275/0.7132, allocations: 1.851 MB / 421.6 MB, free: 5.113 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.7133, allocations: 7.406 kB / 421.6 MB, free: 5.113 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006586/0.714, allocations: 215.1 kB / 421.9 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.7161, allocations: 321.3 kB / 422.2 MB, free: 4.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002916/0.719, allocations: 1.09 MB / 423.3 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.002e-05/0.7192, allocations: 101.8 kB / 423.4 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003531/0.7195, allocations: 128.1 kB / 423.5 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004624/0.7242, allocations: 1.845 MB / 425.3 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/0.7242, allocations: 0 / 425.3 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/0.7245, allocations: 57.81 kB / 425.4 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.631e-05/0.7246, allocations: 52.08 kB / 425.4 MB, free: 3.852 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004163/0.7287, allocations: 1.618 MB / 427.1 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.7417, allocations: 5.588 MB / 432.6 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004631/0.7464, allocations: 2.919 MB / 435.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003631/0.7501, allocations: 1.527 MB / 437.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.7502, allocations: 42.44 kB / 437.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=53): time 3.066e-06/0.7502, allocations: 3.938 kB / 437.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.005143/0.7553, allocations: 1.433 MB / 438.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.7554, allocations: 84.92 kB / 438.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.7575, allocations: 0.9223 MB / 439.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.7577, allocations: 33.7 kB / 439.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006506/0.7583, allocations: 0.6838 MB / 440.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.7586, allocations: 184.5 kB / 440.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.7587, allocations: 12 kB / 440.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.7589, allocations: 342.8 kB / 440.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.76, allocations: 373 kB / 441.2 MB, free: 9.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.7613, allocations: 0.5244 MB / 441.7 MB, free: 9.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.7625, allocations: 437.3 kB / 442.1 MB, free: 8.949 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.7626, allocations: 4 kB / 442.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00279/0.7654, allocations: 0.963 MB / 443.1 MB, free: 7.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.7654, allocations: 4 kB / 443.1 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.7655, allocations: 8 kB / 443.1 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/0.7655, allocations: 11.98 kB / 443.1 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.7669, allocations: 188 kB / 443.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/0.7669, allocations: 11.94 kB / 443.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.768, allocations: 95.23 kB / 443.4 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/0.7681, allocations: 24 kB / 443.4 MB, free: 7.645 MB / 330.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.001322/0.7694, allocations: 0.5325 MB / 444 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.7697, allocations: 86.97 kB / 444.1 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.7719, allocations: 0.7046 MB / 444.8 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.7719, allocations: 8 kB / 444.8 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.772, allocations: 8 kB / 444.8 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.772, allocations: 4 kB / 444.8 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004365/0.7764, allocations: 1.675 MB / 446.5 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.7764, allocations: 0 / 446.5 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/0.7773, allocations: 91.88 kB / 446.5 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007246/0.7781, allocations: 152.8 kB / 446.7 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.86e-05/0.7782, allocations: 24.27 kB / 446.7 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005247/0.7834, allocations: 2.655 MB / 449.4 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7835, allocations: 8.094 kB / 449.4 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004141/0.7876, allocations: 1.561 MB / 450.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.7881, allocations: 191.9 kB / 451.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.7884, allocations: 23.92 kB / 451.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009903/0.7894, allocations: 71.89 kB / 451.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.7896, allocations: 47.92 kB / 451.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.7897, allocations: 19.98 kB / 451.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001609/0.7913, allocations: 0.7254 MB / 452 MB, free: 14.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7913, allocations: 0 / 452 MB, free: 14.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001627/0.7929, allocations: 362.4 kB / 452.4 MB, free: 14.43 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.004856/0.7978, allocations: 2.424 MB / 454.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.8002, allocations: 0.7875 MB / 455.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.8002, allocations: 4.375 kB / 455.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.802, allocations: 0.5985 MB / 456.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.8035, allocations: 171.1 kB / 456.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/0.8243, allocations: 10.96 MB / 467.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.826, allocations: 1.485 MB / 468.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.8272, allocations: 487.3 kB / 469.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.8272, allocations: 0 / 469.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.106/3.933, allocations: 26.78 MB / 496 MB, free: 2.379 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat