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.001251/0.001251, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008972/0.000897, allocations: 93.78 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.526e-05, allocations: 3.984 kB / 350.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1305, allocations: 51.49 MB / 402.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3968/0.5274, allocations: 101.6 MB / 0.4919 GB, free: 4.027 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.5277, allocations: 87.38 kB / 0.492 GB, free: 3.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.295/1.823, allocations: 328 MB / 0.8122 GB, free: 58.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.823, allocations: 0 / 0.8122 GB, free: 58.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005681/1.823, allocations: 197.8 kB / 0.8124 GB, free: 58.07 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.03384/1.857, allocations: 8.781 MB / 0.821 GB, free: 55.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.857, allocations: 7.875 kB / 0.821 GB, free: 55.61 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006511/1.864, allocations: 1.497 MB / 0.8225 GB, free: 55.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02433/1.888, allocations: 4.195 MB / 0.8266 GB, free: 55.01 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01783/1.906, allocations: 6.025 MB / 0.8325 GB, free: 53.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008794/1.907, allocations: 0.6279 MB / 0.8331 GB, free: 53.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005043/1.912, allocations: 0.8371 MB / 0.8339 GB, free: 53.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04484/1.957, allocations: 14.37 MB / 0.8479 GB, free: 49.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005003/1.957, allocations: 15.2 kB / 0.8479 GB, free: 49.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004187/1.962, allocations: 377.3 kB / 0.8483 GB, free: 49.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001115/1.963, allocations: 0.6812 MB / 0.849 GB, free: 49.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03196/1.995, allocations: 12.28 MB / 0.861 GB, free: 42.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09888/2.094, allocations: 44.82 MB / 0.9047 GB, free: 2.555 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3958/2.49, allocations: 11.6 MB / 0.916 GB, free: 46.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005181/2.495, allocations: 3.127 MB / 0.9191 GB, free: 46.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/2.495, allocations: 255.8 kB / 0.9193 GB, free: 46.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.871e-05/2.495, allocations: 85.84 kB / 0.9194 GB, free: 46.65 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 7.063e-06/2.495, allocations: 0 / 0.9194 GB, free: 46.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.01066/2.506, allocations: 5.855 MB / 0.9251 GB, free: 46.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/2.506, allocations: 124.3 kB / 0.9253 GB, free: 46.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005073/2.511, allocations: 2.773 MB / 0.928 GB, free: 46.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008926/2.512, allocations: 93.7 kB / 0.9281 GB, free: 46.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002524/2.515, allocations: 3.682 MB / 0.9317 GB, free: 44.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002026/2.517, allocations: 1.438 MB / 0.9331 GB, free: 43.69 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005126/2.517, allocations: 120.9 kB / 0.9332 GB, free: 43.69 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003874/2.518, allocations: 0.5388 MB / 0.9337 GB, free: 43.37 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004755/2.522, allocations: 2.812 MB / 0.9365 GB, free: 43.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006427/2.529, allocations: 4.848 MB / 0.9412 GB, free: 40.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007491/2.536, allocations: 3.96 MB / 0.9451 GB, free: 40.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/2.537, allocations: 19.19 kB / 0.9451 GB, free: 40.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01913/2.556, allocations: 9.02 MB / 0.9539 GB, free: 40.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/2.556, allocations: 32.28 kB / 0.9539 GB, free: 40.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001877/2.556, allocations: 66.75 kB / 0.954 GB, free: 40.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003688/2.56, allocations: 1.114 MB / 0.9551 GB, free: 40.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006128/2.566, allocations: 1.288 MB / 0.9563 GB, free: 40.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/2.581, allocations: 9.839 MB / 0.9659 GB, free: 37.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005902/2.587, allocations: 0.7344 MB / 0.9666 GB, free: 37.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/2.588, allocations: 280.5 kB / 0.9669 GB, free: 37.18 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.001516/2.59, allocations: 474.6 kB / 0.9674 GB, free: 37.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009687/2.591, allocations: 347.7 kB / 0.9677 GB, free: 36.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/2.604, allocations: 6.919 MB / 0.9745 GB, free: 36.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01047/2.615, allocations: 5.728 MB / 0.98 GB, free: 36.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.274e-05/2.615, allocations: 10.59 kB / 0.9801 GB, free: 36.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.869e-05/2.615, allocations: 26.17 kB / 0.9801 GB, free: 36.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03395/2.649, allocations: 15.44 MB / 0.9952 GB, free: 30.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/2.649, allocations: 16.19 kB / 0.9952 GB, free: 30.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003249/2.652, allocations: 0.7855 MB / 0.9959 GB, free: 30.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00293/2.655, allocations: 1.016 MB / 0.9969 GB, free: 30.12 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008467/2.656, allocations: 117.8 kB / 0.997 GB, free: 30.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/2.668, allocations: 9.626 MB / 1.006 GB, free: 24.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.89e-05/2.668, allocations: 22.94 kB / 1.006 GB, free: 24.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/2.687, allocations: 11.92 MB / 1.018 GB, free: 18.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003079/2.69, allocations: 1.015 MB / 1.019 GB, free: 17.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/2.691, allocations: 99.52 kB / 1.019 GB, free: 17.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002999/2.694, allocations: 272 kB / 1.019 GB, free: 17.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008379/2.695, allocations: 350.6 kB / 1.02 GB, free: 17.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003347/2.695, allocations: 141.4 kB / 1.02 GB, free: 17.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003864/2.699, allocations: 2.064 MB / 1.022 GB, free: 16.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.91e-07/2.699, allocations: 0 / 1.022 GB, free: 16.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00966/2.709, allocations: 2.249 MB / 1.024 GB, free: 15.94 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.01974/2.729, allocations: 16.14 MB / 1.04 GB, free: 3.113 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01682/2.745, allocations: 7.538 MB / 1.047 GB, free: 12.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.952e-05/2.745, allocations: 4 kB / 1.047 GB, free: 12.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008296/2.754, allocations: 3.658 MB / 1.051 GB, free: 9.543 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005275/2.759, allocations: 0.702 MB / 1.052 GB, free: 8.988 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04538/2.805, allocations: 16.25 MB / 1.067 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/2.815, allocations: 6.077 MB / 1.073 GB, free: 6.098 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007722/2.823, allocations: 2.235 MB / 1.076 GB, free: 4.672 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006266/2.829, allocations: 2.907 MB / 1.078 GB, free: 1.969 MB / 490.7 MB Notification: Performance of SimCode: time 1.322e-06/2.829, allocations: 0 / 1.078 GB, free: 1.969 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.552/3.381, allocations: 113.2 MB / 1.189 GB, free: 53.55 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/3.381, allocations: 215.1 kB / 1.189 GB, free: 53.32 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.317/8.699, allocations: 0 / 1.189 GB, free: 53.32 MB / 490.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