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.EddyCurrentLosses.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.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004876, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09344, allocations: 44.5 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4498/0.5433, allocations: 83.56 MB / 392.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004431/0.5438, allocations: 84.19 kB / 392.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1964/0.7402, allocations: 53.81 MB / 446 MB, free: 7.613 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.7403, allocations: 0 / 446 MB, free: 7.613 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002656/0.7405, allocations: 67.94 kB / 446.1 MB, free: 7.547 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01278/0.7533, allocations: 2.973 MB / 449 MB, free: 4.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.7534, allocations: 8.031 kB / 449 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001911/0.7553, allocations: 444.7 kB / 449.5 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005084/0.7604, allocations: 0.6015 MB / 450.1 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006033/0.7665, allocations: 1.825 MB / 451.9 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000291/0.7668, allocations: 197.4 kB / 452.1 MB, free: 1.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.768, allocations: 264 kB / 452.3 MB, free: 1.148 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.7793, allocations: 3.546 MB / 455.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.617e-05/0.7795, allocations: 4 kB / 455.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005173/0.78, allocations: 112 kB / 456 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/0.7802, allocations: 105.4 kB / 456.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009716/0.7899, allocations: 2.906 MB / 459 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03034/0.8203, allocations: 10.54 MB / 469.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008839/0.8292, allocations: 4.684 MB / 474.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007021/0.8362, allocations: 2.522 MB / 476.8 MB, free: 7.625 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.8363, allocations: 51.5 kB / 476.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=108): time 3.697e-06/0.8363, allocations: 0 / 476.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=108): time 0.01182/0.8482, allocations: 2.787 MB / 479.6 MB, free: 4.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.8483, allocations: 94.05 kB / 479.7 MB, free: 4.621 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003468/0.8518, allocations: 1.2 MB / 480.9 MB, free: 3.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003728/0.8522, allocations: 45.7 kB / 480.9 MB, free: 3.359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/0.854, allocations: 1.131 MB / 482.1 MB, free: 2.219 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.855, allocations: 366.1 kB / 482.4 MB, free: 1.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.8554, allocations: 24 kB / 482.4 MB, free: 1.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003395/0.8557, allocations: 362.7 kB / 482.8 MB, free: 1.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/0.859, allocations: 0.6037 MB / 483.4 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003288/0.8624, allocations: 0.8606 MB / 484.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003254/0.8657, allocations: 0.7343 MB / 485 MB, free: 15.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-05/0.8658, allocations: 3.938 kB / 485 MB, free: 15.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.009492/0.8753, allocations: 1.934 MB / 486.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.8754, allocations: 8.781 kB / 486.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.8754, allocations: 8 kB / 487 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/0.8782, allocations: 405.7 kB / 487.4 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/0.8812, allocations: 227.7 kB / 487.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/0.8999, allocations: 6.226 MB / 493.8 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/0.9026, allocations: 146.8 kB / 493.9 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004075/0.9031, allocations: 44 kB / 494 MB, free: 5.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (109): * Single equations (assignments): 107 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003634/0.9067, allocations: 0.8681 MB / 494.9 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007231/0.9075, allocations: 134.3 kB / 495 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008824/0.9163, allocations: 1.764 MB / 496.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/0.9164, allocations: 15.94 kB / 496.8 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-05/0.9165, allocations: 8 kB / 496.8 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.891e-05/0.9166, allocations: 7.812 kB / 496.8 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/0.9358, allocations: 4.115 MB / 0.4892 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/0.9359, allocations: 3.984 kB / 0.4892 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002062/0.938, allocations: 147.9 kB / 0.4893 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002783/0.9408, allocations: 400.6 kB / 0.4897 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003639/0.9412, allocations: 35.97 kB / 0.4897 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/0.9597, allocations: 6.217 MB / 0.4958 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.9598, allocations: 8.094 kB / 0.4958 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/0.9715, allocations: 2.708 MB / 0.4984 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009178/0.9725, allocations: 243.2 kB / 0.4987 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007779/0.9733, allocations: 35.92 kB / 0.4987 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/0.976, allocations: 103.9 kB / 0.4988 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007268/0.9768, allocations: 92.73 kB / 0.4989 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/0.9771, allocations: 35.98 kB / 0.4989 GB, free: 4.543 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003729/0.9808, allocations: 0.9353 MB / 0.4998 GB, free: 3.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.9809, allocations: 0 / 0.4998 GB, free: 3.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004808/0.9857, allocations: 0.6844 MB / 0.5005 GB, free: 2.914 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01328/0.999, allocations: 3.739 MB / 0.5042 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008502/1.008, allocations: 1.859 MB / 0.506 GB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/1.008, allocations: 7.938 kB / 0.506 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005333/1.013, allocations: 1.18 MB / 0.5071 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003815/1.017, allocations: 284.2 kB / 0.5074 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4089/1.426, allocations: 17.3 MB / 0.5243 GB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005328/1.431, allocations: 2.173 MB / 0.5264 GB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/1.434, allocations: 0.8795 MB / 0.5273 GB, free: 105.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.813e-06/1.434, allocations: 0 / 0.5273 GB, free: 105.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.552/4.986, allocations: 63.84 MB / 0.5896 GB, free: 80.36 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat