Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 93.28 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 8 kB / 327.1 MB, free: 116 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3224, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.4792, allocations: 98.99 MB / 473.6 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.4796, allocations: 91.94 kB / 473.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.441/1.921, allocations: 307.5 MB / 0.7629 GB, free: 41.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.921, allocations: 0 / 0.7629 GB, free: 41.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004585/1.921, allocations: 195.2 kB / 0.7631 GB, free: 41.22 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04114/1.963, allocations: 9.055 MB / 0.7719 GB, free: 32.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.963, allocations: 12.03 kB / 0.7719 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006499/1.969, allocations: 1.512 MB / 0.7734 GB, free: 30.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03406/2.003, allocations: 4.215 MB / 0.7775 GB, free: 26.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/2.021, allocations: 5.818 MB / 0.7832 GB, free: 20.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/2.022, allocations: 0.6499 MB / 0.7839 GB, free: 19.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003798/2.026, allocations: 0.8319 MB / 0.7847 GB, free: 18.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0506/2.076, allocations: 15.27 MB / 0.7996 GB, free: 3.398 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004311/2.077, allocations: 7.906 kB / 0.7996 GB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003399/2.08, allocations: 372 kB / 0.7999 GB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001075/2.081, allocations: 0.6036 MB / 0.8005 GB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6429/2.724, allocations: 13.56 MB / 0.8138 GB, free: 51.73 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1111/2.835, allocations: 44.92 MB / 0.8576 GB, free: 46.71 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02393/2.859, allocations: 12.24 MB / 0.8696 GB, free: 40.18 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/2.86, allocations: 275 kB / 0.8699 GB, free: 40.04 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.468e-05/2.861, allocations: 101.3 kB / 0.87 GB, free: 39.95 MB / 426.8 MB Notification: Performance of pre-optimization done (n=817): time 1.258e-05/2.861, allocations: 0 / 0.87 GB, free: 39.95 MB / 426.8 MB Notification: Performance of matching and sorting (n=817): time 0.1248/2.985, allocations: 33.84 MB / 0.903 GB, free: 24.5 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/2.986, allocations: 144.2 kB / 0.9031 GB, free: 24.4 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00361/2.989, allocations: 1.758 MB / 0.9049 GB, free: 23.75 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001734/2.991, allocations: 128.9 kB / 0.905 GB, free: 23.63 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001561/2.992, allocations: 2.701 MB / 0.9076 GB, free: 21.74 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00388/2.996, allocations: 2.671 MB / 0.9102 GB, free: 19.65 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/2.998, allocations: 117.4 kB / 0.9103 GB, free: 19.56 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0006601/2.998, allocations: 0.6134 MB / 0.9109 GB, free: 19.11 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0123/3.011, allocations: 4.995 MB / 0.9158 GB, free: 16.19 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01357/3.024, allocations: 5.841 MB / 0.9215 GB, free: 10.99 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/3.038, allocations: 5.93 MB / 0.9273 GB, free: 5.797 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-05/3.039, allocations: 4 kB / 0.9273 GB, free: 5.793 MB / 426.8 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.0491/3.088, allocations: 14.64 MB / 0.9416 GB, free: 11.24 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/3.088, allocations: 12.06 kB / 0.9416 GB, free: 11.23 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-05/3.088, allocations: 19.84 kB / 0.9416 GB, free: 11.21 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0154/3.103, allocations: 4.378 MB / 0.9459 GB, free: 7.668 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008974/3.112, allocations: 1.045 MB / 0.9469 GB, free: 6.879 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02478/3.137, allocations: 10.67 MB / 0.9574 GB, free: 13.75 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007145/3.144, allocations: 0.7064 MB / 0.958 GB, free: 13.13 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/3.146, allocations: 256.2 kB / 0.9583 GB, free: 12.91 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (559): * Single equations (assignments): 484 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,12 72,6 9,12 95} Notification: Performance of prepare postOptimizeDAE: time 0.01124/3.158, allocations: 3.352 MB / 0.9616 GB, free: 10.17 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002549/3.16, allocations: 391 kB / 0.9619 GB, free: 9.781 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3745/3.535, allocations: 14.94 MB / 0.9765 GB, free: 78.48 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03396/3.569, allocations: 13.22 MB / 0.9894 GB, free: 78.23 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.074e-05/3.569, allocations: 3.906 kB / 0.9894 GB, free: 78.23 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001282/3.569, allocations: 32.44 kB / 0.9895 GB, free: 78.23 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06873/3.638, allocations: 26.94 MB / 1.016 GB, free: 77.37 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001013/3.638, allocations: 3.625 kB / 1.016 GB, free: 77.37 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007641/3.646, allocations: 0.8969 MB / 1.017 GB, free: 77.37 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01415/3.66, allocations: 4.348 MB / 1.021 GB, free: 77.31 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001867/3.662, allocations: 167.2 kB / 1.021 GB, free: 77.31 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/3.681, allocations: 10.53 MB / 1.031 GB, free: 74.49 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/3.681, allocations: 3.875 kB / 1.031 GB, free: 74.49 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05287/3.733, allocations: 21.78 MB / 1.053 GB, free: 65.21 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005647/3.739, allocations: 1.678 MB / 1.054 GB, free: 64.44 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002054/3.741, allocations: 117 kB / 1.054 GB, free: 64.35 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005934/3.747, allocations: 348.6 kB / 1.055 GB, free: 64.26 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002655/3.75, allocations: 0.5625 MB / 1.055 GB, free: 64.15 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001374/3.751, allocations: 216.1 kB / 1.055 GB, free: 64.1 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00286/3.754, allocations: 1.356 MB / 1.057 GB, free: 63.57 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.21e-07/3.754, allocations: 3.938 kB / 1.057 GB, free: 63.57 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009305/3.764, allocations: 2.235 MB / 1.059 GB, free: 63.14 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_p.reference.gamma) * 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 (488): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 71 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,11 73,6 9,12 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.05455/3.818, allocations: 22.64 MB / 1.081 GB, free: 48.23 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.03234/3.851, allocations: 12.29 MB / 1.093 GB, free: 37.69 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/3.851, allocations: 0 / 1.093 GB, free: 37.69 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01858/3.869, allocations: 6.528 MB / 1.099 GB, free: 32.15 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006484/3.876, allocations: 0.6501 MB / 1.1 GB, free: 31.64 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4603/4.336, allocations: 64.55 MB / 1.163 GB, free: 91.97 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01119/4.347, allocations: 6.023 MB / 1.169 GB, free: 91.11 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007791/4.355, allocations: 2.949 MB / 1.172 GB, free: 91.11 MB / 474.8 MB Notification: Performance of SimCode: time 1.182e-06/4.355, allocations: 0 / 1.172 GB, free: 91.11 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.056/9.412, allocations: 336.4 MB / 1.5 GB, free: 92.09 MB / 490.8 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat