Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009201/0.0009201, allocations: 90.19 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.756e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09679, allocations: 50.42 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3227/0.4196, allocations: 100 MB / 487.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.4199, allocations: 91.94 kB / 487.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.085/1.505, allocations: 307.6 MB / 0.7767 GB, free: 48.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.534e-06/1.505, allocations: 0 / 0.7767 GB, free: 48.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004681/1.505, allocations: 193.2 kB / 0.7768 GB, free: 48.18 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.03348/1.539, allocations: 8.739 MB / 0.7854 GB, free: 45.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.539, allocations: 9.031 kB / 0.7854 GB, free: 45.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02476/1.563, allocations: 4.182 MB / 0.7895 GB, free: 45.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01678/1.58, allocations: 6.024 MB / 0.7954 GB, free: 44.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000588/1.581, allocations: 281.4 kB / 0.7956 GB, free: 44.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004047/1.585, allocations: 0.4909 MB / 0.7961 GB, free: 44.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02968/1.615, allocations: 11.35 MB / 0.8072 GB, free: 41.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04116/1.656, allocations: 12.98 MB / 0.8199 GB, free: 30.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000499/1.656, allocations: 7.906 kB / 0.8199 GB, free: 30.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004281/1.661, allocations: 7.953 kB / 0.8199 GB, free: 30.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009784/1.662, allocations: 0.6848 MB / 0.8205 GB, free: 30.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08593/1.748, allocations: 43.47 MB / 0.863 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3677/2.115, allocations: 11.65 MB / 0.8744 GB, free: 51.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006096/2.122, allocations: 3.192 MB / 0.8775 GB, free: 51.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005166/2.122, allocations: 172.9 kB / 0.8777 GB, free: 51.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.727e-05/2.122, allocations: 79.88 kB / 0.8777 GB, free: 51.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=421): time 6.753e-06/2.122, allocations: 0 / 0.8777 GB, free: 51.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=421): time 0.01522/2.137, allocations: 6.858 MB / 0.8844 GB, free: 51.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/2.138, allocations: 121 kB / 0.8846 GB, free: 50.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005495/2.143, allocations: 2.609 MB / 0.8871 GB, free: 50.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006497/2.144, allocations: 28.52 kB / 0.8871 GB, free: 50.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002681/2.146, allocations: 3.671 MB / 0.8907 GB, free: 49.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001567/2.148, allocations: 1.379 MB / 0.8921 GB, free: 48.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/2.148, allocations: 0 / 0.8921 GB, free: 48.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003288/2.149, allocations: 0.5512 MB / 0.8926 GB, free: 47.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004104/2.153, allocations: 2.869 MB / 0.8954 GB, free: 47.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005446/2.158, allocations: 4.88 MB / 0.9002 GB, free: 45.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009628/2.168, allocations: 4.959 MB / 0.905 GB, free: 45.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001898/2.168, allocations: 18.72 kB / 0.905 GB, free: 45.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02212/2.19, allocations: 9.69 MB / 0.9145 GB, free: 45.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/2.19, allocations: 41.61 kB / 0.9145 GB, free: 45.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/2.191, allocations: 69.67 kB / 0.9146 GB, free: 45.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/2.194, allocations: 1.096 MB / 0.9157 GB, free: 45.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005415/2.199, allocations: 1.331 MB / 0.917 GB, free: 45.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/2.212, allocations: 9.538 MB / 0.9263 GB, free: 42.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005781/2.217, allocations: 0.6637 MB / 0.9269 GB, free: 41.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001685/2.219, allocations: 282.1 kB / 0.9272 GB, free: 41.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 670 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002462/2.222, allocations: 283.1 kB / 0.9275 GB, free: 41.75 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01471/2.236, allocations: 6.855 MB / 0.9342 GB, free: 41.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/2.238, allocations: 347.8 kB / 0.9345 GB, free: 41.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01761/2.255, allocations: 7.855 MB / 0.9422 GB, free: 39.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01346/2.269, allocations: 6.712 MB / 0.9487 GB, free: 37.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.132e-05/2.269, allocations: 15.55 kB / 0.9487 GB, free: 37.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.009e-05/2.269, allocations: 21.61 kB / 0.9488 GB, free: 37.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03502/2.304, allocations: 15.3 MB / 0.9637 GB, free: 31.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.893e-05/2.304, allocations: 11.25 kB / 0.9637 GB, free: 31.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003757/2.308, allocations: 0.8332 MB / 0.9645 GB, free: 31.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/2.311, allocations: 1.015 MB / 0.9655 GB, free: 31.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009809/2.312, allocations: 47.38 kB / 0.9656 GB, free: 31.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/2.325, allocations: 9.329 MB / 0.9747 GB, free: 26.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.51e-05/2.325, allocations: 21.84 kB / 0.9747 GB, free: 26.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/2.346, allocations: 13.1 MB / 0.9875 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003075/2.35, allocations: 1.055 MB / 0.9885 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001664/2.351, allocations: 23.95 kB / 0.9885 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003665/2.355, allocations: 242.3 kB / 0.9888 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009979/2.356, allocations: 346 kB / 0.9891 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005443/2.356, allocations: 147.4 kB / 0.9892 GB, free: 12.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003757/2.36, allocations: 1.903 MB / 0.9911 GB, free: 11.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/2.36, allocations: 0 / 0.9911 GB, free: 11.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009029/2.369, allocations: 2.056 MB / 0.9931 GB, free: 9.211 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03505/2.404, allocations: 17.99 MB / 1.011 GB, free: 11.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01774/2.422, allocations: 7.395 MB / 1.018 GB, free: 4.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.139e-05/2.422, allocations: 4 kB / 1.018 GB, free: 4.766 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008575/2.431, allocations: 3.684 MB / 1.021 GB, free: 1.492 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005761/2.437, allocations: 0.6104 MB / 1.022 GB, free: 1.023 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0493/2.486, allocations: 16.17 MB / 1.038 GB, free: 3.211 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3422/2.828, allocations: 6.655 MB / 1.044 GB, free: 82.94 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008782/2.837, allocations: 2.249 MB / 1.047 GB, free: 82.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006611/2.844, allocations: 2.908 MB / 1.049 GB, free: 82.89 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/2.844, allocations: 0 / 1.049 GB, free: 82.89 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1909/3.035, allocations: 109.9 MB / 1.157 GB, free: 45.55 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/3.035, allocations: 179.1 kB / 1.157 GB, free: 45.36 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.98/8.015, allocations: 2.062 kB / 1.157 GB, free: 45.36 MB / 474.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat