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.EddyCurrentLosses.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.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.663/1.663, allocations: 171.1 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 8 kB / 233.3 MB, free: 2.918 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08054/0.08091, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3473/0.4283, allocations: 77.32 MB / 349.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.4286, allocations: 83.52 kB / 349.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1934/0.622, allocations: 51.72 MB / 401.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.6221, allocations: 0 / 401.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002483/0.6224, allocations: 71.88 kB / 401.3 MB, free: 14.34 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01228/0.6346, allocations: 2.887 MB / 404.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.6347, allocations: 8.031 kB / 404.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001659/0.6364, allocations: 415.4 kB / 404.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002599/0.639, allocations: 424.4 kB / 405 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005833/0.6449, allocations: 1.76 MB / 406.8 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.6452, allocations: 189 kB / 407 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/0.6463, allocations: 252 kB / 407.2 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.6568, allocations: 3.303 MB / 410.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.878e-05/0.6569, allocations: 4 kB / 410.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004118/0.6574, allocations: 104 kB / 410.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/0.6575, allocations: 101.1 kB / 410.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008335/0.6659, allocations: 2.585 MB / 413.3 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02599/0.6919, allocations: 9.773 MB / 423.1 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/0.6951, allocations: 1.513 MB / 424.6 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.974e-05/0.6952, allocations: 8.766 kB / 424.6 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.6953, allocations: 43.33 kB / 424.6 MB, free: 6.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=88): time 3.617e-06/0.6953, allocations: 0 / 424.6 MB, free: 6.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.01092/0.7062, allocations: 2.52 MB / 427.2 MB, free: 3.652 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.7063, allocations: 85.55 kB / 427.2 MB, free: 3.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002842/0.7092, allocations: 1.208 MB / 428.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002447/0.7095, allocations: 41.7 kB / 428.5 MB, free: 2.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009722/0.7104, allocations: 1.096 MB / 429.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004466/0.7109, allocations: 299.6 kB / 429.9 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.636e-05/0.711, allocations: 20 kB / 429.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.7112, allocations: 354.8 kB / 430.2 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.224/0.9352, allocations: 0.5191 MB / 430.8 MB, free: 81.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.9373, allocations: 0.7541 MB / 431.5 MB, free: 81.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.9391, allocations: 0.642 MB / 432.2 MB, free: 81.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.9392, allocations: 6.734 kB / 432.2 MB, free: 81.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004977/0.9442, allocations: 1.725 MB / 433.9 MB, free: 80.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.9442, allocations: 6.969 kB / 433.9 MB, free: 80.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.9443, allocations: 7.406 kB / 433.9 MB, free: 80.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.946, allocations: 401.7 kB / 434.3 MB, free: 80.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.9474, allocations: 179.1 kB / 434.5 MB, free: 80.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.9588, allocations: 6.288 MB / 440.8 MB, free: 78.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.9604, allocations: 128.5 kB / 440.9 MB, free: 78.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.9605, allocations: 41.66 kB / 440.9 MB, free: 78.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (86): * Single equations (assignments): 84 * 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.002029/0.9626, allocations: 0.8358 MB / 441.8 MB, free: 78.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.963, allocations: 133.1 kB / 441.9 MB, free: 78.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.9634, allocations: 164.5 kB / 442.1 MB, free: 78.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.9634, allocations: 8.25 kB / 442.1 MB, free: 78.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.074e-05/0.9635, allocations: 6.75 kB / 442.1 MB, free: 78.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.9635, allocations: 9.297 kB / 442.1 MB, free: 78.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008807/0.9723, allocations: 3.773 MB / 445.9 MB, free: 77.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.9723, allocations: 2.875 kB / 445.9 MB, free: 77.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008461/0.9732, allocations: 112.3 kB / 446 MB, free: 77.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/0.9747, allocations: 393.4 kB / 446.3 MB, free: 77.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.9748, allocations: 31.7 kB / 446.4 MB, free: 77.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009454/0.9843, allocations: 6.226 MB / 452.6 MB, free: 74.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9843, allocations: 0 / 452.6 MB, free: 74.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005214/0.9896, allocations: 2.413 MB / 455 MB, free: 74.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007527/0.9903, allocations: 343.5 kB / 455.4 MB, free: 74.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.9906, allocations: 32.66 kB / 455.4 MB, free: 74.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.9919, allocations: 91.31 kB / 455.5 MB, free: 74.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/0.9921, allocations: 84.7 kB / 455.6 MB, free: 74.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/0.9922, allocations: 33.59 kB / 455.6 MB, free: 74.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001684/0.9939, allocations: 0.9419 MB / 456.5 MB, free: 73.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.9939, allocations: 2.625 kB / 456.5 MB, free: 73.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002339/0.9963, allocations: 0.6255 MB / 457.2 MB, free: 73.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.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 (47): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.005566/1.002, allocations: 3.481 MB / 460.6 MB, free: 72.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003897/1.006, allocations: 1.659 MB / 462.3 MB, free: 72.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.006, allocations: 0 / 462.3 MB, free: 72.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0024/1.008, allocations: 1.06 MB / 463.4 MB, free: 71.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/1.01, allocations: 274.2 kB / 463.6 MB, free: 71.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02432/1.035, allocations: 16.31 MB / 479.9 MB, free: 61.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/1.037, allocations: 2.117 MB / 482.1 MB, free: 60.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/1.038, allocations: 0.8131 MB / 482.9 MB, free: 59.62 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/1.038, allocations: 0 / 482.9 MB, free: 59.62 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.077/4.115, allocations: 60.37 MB / 0.5305 GB, free: 14.12 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.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat