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.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_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.597/1.597, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004739, allocations: 8 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09593, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4511, allocations: 77.32 MB / 349.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.4515, allocations: 82.02 kB / 349.5 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2067/0.6582, allocations: 51.72 MB / 401.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.6583, allocations: 4 kB / 401.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002705/0.6586, allocations: 67.88 kB / 401.3 MB, free: 13.68 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.01303/0.6716, allocations: 2.895 MB / 404.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.6717, allocations: 8.031 kB / 404.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002199/0.6739, allocations: 419.5 kB / 404.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/0.6771, allocations: 420.4 kB / 405 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00602/0.6831, allocations: 1.756 MB / 406.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003009/0.6835, allocations: 193 kB / 407 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009568/0.6844, allocations: 240 kB / 407.2 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.6956, allocations: 3.31 MB / 410.5 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.39e-05/0.6958, allocations: 0 / 410.5 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004706/0.6963, allocations: 108 kB / 410.6 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.6964, allocations: 97.08 kB / 410.7 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008892/0.7053, allocations: 2.585 MB / 413.3 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02781/0.7332, allocations: 9.781 MB / 423.1 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.7364, allocations: 1.505 MB / 424.6 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/0.7365, allocations: 8.766 kB / 424.6 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.7366, allocations: 47.33 kB / 424.7 MB, free: 5.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=88): time 3.316e-06/0.7366, allocations: 3.938 kB / 424.7 MB, free: 5.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.01075/0.7474, allocations: 2.52 MB / 427.2 MB, free: 2.988 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.7475, allocations: 93.53 kB / 427.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/0.7503, allocations: 1.208 MB / 428.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.7506, allocations: 41.7 kB / 428.5 MB, free: 1.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.7517, allocations: 1.11 MB / 429.6 MB, free: 500 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004137/0.7521, allocations: 307.5 kB / 429.9 MB, free: 188 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/0.7522, allocations: 20 kB / 430 MB, free: 168 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.2301/0.9823, allocations: 346.5 kB / 430.3 MB, free: 80.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.9843, allocations: 0.5244 MB / 430.8 MB, free: 80.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.9859, allocations: 0.7548 MB / 431.6 MB, free: 80.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.9877, allocations: 0.6426 MB / 432.2 MB, free: 80.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.9878, allocations: 1.406 kB / 432.2 MB, free: 80.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005469/0.9932, allocations: 1.814 MB / 434 MB, free: 80.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.9933, allocations: 9.5 kB / 434 MB, free: 80.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.9933, allocations: 7.281 kB / 434 MB, free: 80.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.9951, allocations: 401.2 kB / 434.4 MB, free: 80.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.9965, allocations: 184.5 kB / 434.6 MB, free: 80.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/1.008, allocations: 6.279 MB / 440.9 MB, free: 77.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/1.01, allocations: 125.1 kB / 441 MB, free: 77.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/1.01, allocations: 41.14 kB / 441.1 MB, free: 77.41 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.00226/1.012, allocations: 0.8387 MB / 441.9 MB, free: 77.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/1.013, allocations: 132.1 kB / 442 MB, free: 77.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/1.013, allocations: 164.2 kB / 442.2 MB, free: 77.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/1.013, allocations: 8.25 kB / 442.2 MB, free: 77.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.724e-05/1.013, allocations: 6.875 kB / 442.2 MB, free: 77.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/1.013, allocations: 10.11 kB / 442.2 MB, free: 77.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009844/1.023, allocations: 3.778 MB / 446 MB, free: 76.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/1.023, allocations: 1.406 kB / 446 MB, free: 76.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009116/1.024, allocations: 114.1 kB / 446.1 MB, free: 76.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001648/1.026, allocations: 388.9 kB / 446.5 MB, free: 76.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/1.026, allocations: 32.61 kB / 446.5 MB, free: 76.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/1.036, allocations: 6.222 MB / 452.7 MB, free: 73.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.036, allocations: 0 / 452.7 MB, free: 73.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/1.042, allocations: 2.41 MB / 455.1 MB, free: 73.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009549/1.043, allocations: 349.1 kB / 455.5 MB, free: 73.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/1.043, allocations: 31.05 kB / 455.5 MB, free: 73.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.044, allocations: 94.28 kB / 455.6 MB, free: 73.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/1.044, allocations: 82.91 kB / 455.7 MB, free: 73.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.537e-05/1.045, allocations: 26.72 kB / 455.7 MB, free: 73.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001757/1.046, allocations: 0.9455 MB / 456.7 MB, free: 73.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.046, allocations: 1.875 kB / 456.7 MB, free: 73.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002347/1.049, allocations: 0.6338 MB / 457.3 MB, free: 73.03 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.005879/1.055, allocations: 3.471 MB / 460.8 MB, free: 71.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004181/1.059, allocations: 1.66 MB / 462.4 MB, free: 71.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.059, allocations: 3.594 kB / 462.4 MB, free: 71.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002582/1.061, allocations: 1.061 MB / 463.5 MB, free: 70.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/1.064, allocations: 284 kB / 463.8 MB, free: 70.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0263/1.09, allocations: 16.36 MB / 480.1 MB, free: 60.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/1.092, allocations: 2.173 MB / 482.3 MB, free: 59.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001383/1.094, allocations: 278.2 kB / 482.6 MB, free: 59.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/1.095, allocations: 0.8097 MB / 483.4 MB, free: 58.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/1.095, allocations: 0 / 483.4 MB, free: 58.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08785/1.183, allocations: 33.96 MB / 0.5052 GB, free: 39.06 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/1.183, allocations: 224.9 kB / 0.5054 GB, free: 38.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.429/4.613, allocations: 0 / 0.5054 GB, free: 38.82 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat