Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001426/0.001426, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000889/0.0008892, allocations: 100.6 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.278e-05/2.294e-05, allocations: 4 kB / 343.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 51.48 MB / 395.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3784/0.4982, allocations: 100.9 MB / 496.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.4985, allocations: 87.62 kB / 496.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248/1.747, allocations: 324.8 MB / 0.8018 GB, free: 59.49 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.747, allocations: 0 / 0.8018 GB, free: 59.49 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008876/1.748, allocations: 199.2 kB / 0.802 GB, free: 59.47 MB / 458.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.04157/1.789, allocations: 8.764 MB / 0.8105 GB, free: 57.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.668e-05/1.789, allocations: 7.031 kB / 0.8105 GB, free: 57.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02608/1.815, allocations: 4.191 MB / 0.8146 GB, free: 56.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02136/1.837, allocations: 6.022 MB / 0.8205 GB, free: 55.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008611/1.838, allocations: 279.3 kB / 0.8208 GB, free: 55.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005679/1.843, allocations: 0.4886 MB / 0.8212 GB, free: 55.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03396/1.877, allocations: 11.35 MB / 0.8323 GB, free: 55.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05192/1.929, allocations: 12.98 MB / 0.845 GB, free: 52.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000606/1.93, allocations: 11.33 kB / 0.845 GB, free: 52.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00437/1.934, allocations: 7.625 kB / 0.845 GB, free: 52.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001027/1.935, allocations: 0.6857 MB / 0.8457 GB, free: 52.12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09502/2.031, allocations: 43.96 MB / 0.8886 GB, free: 22.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01667/2.047, allocations: 11.67 MB / 0.9 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006336/2.054, allocations: 3.186 MB / 0.9031 GB, free: 7.535 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007884/2.054, allocations: 253.2 kB / 0.9034 GB, free: 7.277 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/2.055, allocations: 89.92 kB / 0.9034 GB, free: 7.184 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 1.095e-05/2.055, allocations: 0 / 0.9034 GB, free: 7.184 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.02274/2.077, allocations: 7.354 MB / 0.9106 GB, free: 1.266 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/2.078, allocations: 121.1 kB / 0.9107 GB, free: 1.129 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4002/2.478, allocations: 2.678 MB / 0.9134 GB, free: 58.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001153/2.479, allocations: 25.7 kB / 0.9134 GB, free: 58.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002819/2.482, allocations: 3.679 MB / 0.917 GB, free: 56.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002355/2.484, allocations: 1.375 MB / 0.9183 GB, free: 55.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008473/2.485, allocations: 0 / 0.9183 GB, free: 55.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004908/2.486, allocations: 0.5459 MB / 0.9189 GB, free: 55.56 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005124/2.491, allocations: 2.872 MB / 0.9217 GB, free: 55.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007197/2.498, allocations: 4.88 MB / 0.9264 GB, free: 53.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01413/2.512, allocations: 5.492 MB / 0.9318 GB, free: 53.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002044/2.512, allocations: 17.72 kB / 0.9318 GB, free: 53.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.0296/2.542, allocations: 10.22 MB / 0.9418 GB, free: 52.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/2.542, allocations: 31.09 kB / 0.9418 GB, free: 52.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000184/2.542, allocations: 68.59 kB / 0.9419 GB, free: 52.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003322/2.546, allocations: 1.091 MB / 0.943 GB, free: 52.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006563/2.552, allocations: 1.334 MB / 0.9443 GB, free: 52.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/2.567, allocations: 9.521 MB / 0.9536 GB, free: 49.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006942/2.574, allocations: 0.6642 MB / 0.9542 GB, free: 49.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002266/2.576, allocations: 275 kB / 0.9545 GB, free: 49.58 MB / 458.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.002787/2.579, allocations: 296 kB / 0.9547 GB, free: 49.43 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02227/2.602, allocations: 7.353 MB / 0.9619 GB, free: 49.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002447/2.604, allocations: 345 kB / 0.9623 GB, free: 48.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02359/2.628, allocations: 8.351 MB / 0.9704 GB, free: 48.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01865/2.646, allocations: 7.199 MB / 0.9774 GB, free: 48.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.335e-05/2.647, allocations: 11.41 kB / 0.9775 GB, free: 48.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001441/2.647, allocations: 34.67 kB / 0.9775 GB, free: 48.31 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04204/2.689, allocations: 15.79 MB / 0.9929 GB, free: 46.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.667e-05/2.689, allocations: 15.28 kB / 0.9929 GB, free: 46.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004012/2.693, allocations: 0.8303 MB / 0.9937 GB, free: 46.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00322/2.696, allocations: 1.021 MB / 0.9947 GB, free: 45.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001167/2.697, allocations: 43.27 kB / 0.9948 GB, free: 45.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/2.709, allocations: 9.325 MB / 1.004 GB, free: 40.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.871e-05/2.709, allocations: 22.17 kB / 1.004 GB, free: 40.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02539/2.735, allocations: 13.6 MB / 1.017 GB, free: 33.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003623/2.738, allocations: 1.054 MB / 1.018 GB, free: 33.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001722/2.74, allocations: 18.66 kB / 1.018 GB, free: 33.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00408/2.744, allocations: 246 kB / 1.018 GB, free: 33.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001351/2.746, allocations: 350.9 kB / 1.019 GB, free: 33.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004855/2.746, allocations: 140.4 kB / 1.019 GB, free: 33.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003859/2.75, allocations: 1.91 MB / 1.021 GB, free: 32.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.02e-07/2.75, allocations: 0 / 1.021 GB, free: 32.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0116/2.762, allocations: 2.061 MB / 1.023 GB, free: 31.88 MB / 458.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.02747/2.789, allocations: 17.71 MB / 1.04 GB, free: 17.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01511/2.804, allocations: 7.411 MB / 1.047 GB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.432e-05/2.804, allocations: 4 kB / 1.047 GB, free: 11.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007518/2.812, allocations: 3.683 MB / 1.051 GB, free: 7.777 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005868/2.818, allocations: 0.6042 MB / 1.052 GB, free: 7.316 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06483/2.883, allocations: 16.7 MB / 1.068 GB, free: 10.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01664/2.899, allocations: 6.084 MB / 1.074 GB, free: 5.891 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009625/2.909, allocations: 2.246 MB / 1.076 GB, free: 4.449 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008334/2.917, allocations: 2.911 MB / 1.079 GB, free: 1.742 MB / 474.7 MB Notification: Performance of SimCode: time 1.903e-06/2.917, allocations: 0 / 1.079 GB, free: 1.742 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5652/3.483, allocations: 110.3 MB / 1.186 GB, free: 44 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003126/3.483, allocations: 182.8 kB / 1.187 GB, free: 43.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.002/8.485, allocations: 6.75 kB / 1.187 GB, free: 43.8 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat