Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009163/0.0009163, allocations: 180.5 kB / 17.01 MB, free: 5.125 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.38/1.38, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0008905/0.0008906, allocations: 96.56 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002709, allocations: 4 kB / 328.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2712, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.3879, allocations: 98.98 MB / 474.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.3882, allocations: 95.94 kB / 475 MB, free: 13.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.969/1.357, allocations: 307.5 MB / 0.7641 GB, free: 41.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.286e-06/1.357, allocations: 0 / 0.7641 GB, free: 41.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004502/1.358, allocations: 195.7 kB / 0.7643 GB, free: 41.25 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.03122/1.389, allocations: 9.054 MB / 0.7732 GB, free: 32.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.389, allocations: 8.031 kB / 0.7732 GB, free: 32.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005546/1.395, allocations: 1.519 MB / 0.7747 GB, free: 30.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02245/1.417, allocations: 4.215 MB / 0.7788 GB, free: 26.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/1.431, allocations: 5.815 MB / 0.7845 GB, free: 20.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008134/1.432, allocations: 0.646 MB / 0.7851 GB, free: 19.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003645/1.436, allocations: 0.8319 MB / 0.7859 GB, free: 18.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03983/1.476, allocations: 15.27 MB / 0.8008 GB, free: 3.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003893/1.476, allocations: 11.89 kB / 0.8008 GB, free: 3.406 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003518/1.48, allocations: 368 kB / 0.8012 GB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008115/1.481, allocations: 0.6075 MB / 0.8018 GB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4809/1.961, allocations: 13.56 MB / 0.815 GB, free: 51.64 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07823/2.04, allocations: 44.91 MB / 0.8589 GB, free: 46.61 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/2.054, allocations: 12.24 MB / 0.8708 GB, free: 40.09 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008346/2.055, allocations: 271.6 kB / 0.8711 GB, free: 39.95 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/2.055, allocations: 106 kB / 0.8712 GB, free: 39.86 MB / 426.8 MB Notification: Performance of pre-optimization done (n=817): time 9.187e-06/2.055, allocations: 0 / 0.8712 GB, free: 39.86 MB / 426.8 MB Notification: Performance of matching and sorting (n=817): time 0.06779/2.123, allocations: 33.83 MB / 0.9042 GB, free: 24.4 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-05/2.123, allocations: 146.2 kB / 0.9044 GB, free: 24.3 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/2.126, allocations: 1.756 MB / 0.9061 GB, free: 23.65 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00143/2.127, allocations: 133.1 kB / 0.9062 GB, free: 23.54 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/2.129, allocations: 2.771 MB / 0.9089 GB, free: 21.65 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003009/2.132, allocations: 2.67 MB / 0.9115 GB, free: 19.57 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004619/2.132, allocations: 120.8 kB / 0.9116 GB, free: 19.47 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000458/2.133, allocations: 0.6062 MB / 0.9122 GB, free: 19.04 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006529/2.139, allocations: 4.996 MB / 0.9171 GB, free: 16.12 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007574/2.147, allocations: 5.844 MB / 0.9228 GB, free: 10.92 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009163/2.156, allocations: 5.926 MB / 0.9286 GB, free: 5.73 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/2.156, allocations: 6.719 kB / 0.9286 GB, free: 5.727 MB / 426.8 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.02858/2.185, allocations: 14.13 MB / 0.9424 GB, free: 9.41 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/2.185, allocations: 12 kB / 0.9424 GB, free: 9.398 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.35e-05/2.185, allocations: 16 kB / 0.9424 GB, free: 9.383 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009514/2.194, allocations: 4.37 MB / 0.9467 GB, free: 5.844 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005189/2.199, allocations: 1.053 MB / 0.9477 GB, free: 5.047 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/2.215, allocations: 10.57 MB / 0.9581 GB, free: 11.68 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005074/2.22, allocations: 0.7086 MB / 0.9587 GB, free: 11.06 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/2.222, allocations: 257 kB / 0.959 GB, free: 10.83 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.008717/2.23, allocations: 3.347 MB / 0.9623 GB, free: 8.102 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002064/2.233, allocations: 391 kB / 0.9626 GB, free: 7.715 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2894/2.522, allocations: 15.03 MB / 0.9773 GB, free: 78.9 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01924/2.541, allocations: 13.22 MB / 0.9902 GB, free: 78.64 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.942e-05/2.541, allocations: 5.5 kB / 0.9902 GB, free: 78.64 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-05/2.541, allocations: 33.89 kB / 0.9903 GB, free: 78.64 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05086/2.592, allocations: 26.94 MB / 1.017 GB, free: 77.78 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/2.592, allocations: 0 / 1.017 GB, free: 77.78 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003931/2.596, allocations: 0.9006 MB / 1.017 GB, free: 77.78 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007898/2.604, allocations: 4.342 MB / 1.022 GB, free: 77.71 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001299/2.606, allocations: 166.8 kB / 1.022 GB, free: 77.71 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/2.617, allocations: 10.52 MB / 1.032 GB, free: 74.12 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/2.617, allocations: 4.812 kB / 1.032 GB, free: 74.12 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0382/2.655, allocations: 21.79 MB / 1.053 GB, free: 64.84 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006059/2.661, allocations: 1.676 MB / 1.055 GB, free: 64.07 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00242/2.664, allocations: 112 kB / 1.055 GB, free: 63.98 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004401/2.668, allocations: 347.4 kB / 1.055 GB, free: 63.89 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002254/2.67, allocations: 0.5647 MB / 1.056 GB, free: 63.78 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001627/2.672, allocations: 213.4 kB / 1.056 GB, free: 63.73 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002704/2.675, allocations: 1.357 MB / 1.058 GB, free: 63.21 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.61e-07/2.675, allocations: 0 / 1.058 GB, free: 63.21 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009388/2.684, allocations: 2.245 MB / 1.06 GB, free: 62.77 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.03906/2.723, allocations: 22.65 MB / 1.082 GB, free: 46.46 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02246/2.746, allocations: 12.28 MB / 1.094 GB, free: 35.92 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/2.746, allocations: 0 / 1.094 GB, free: 35.92 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01433/2.76, allocations: 6.53 MB / 1.1 GB, free: 30.38 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005548/2.766, allocations: 0.6537 MB / 1.101 GB, free: 29.87 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.364/3.13, allocations: 65.2 MB / 1.165 GB, free: 91.85 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007637/3.137, allocations: 6.204 MB / 1.171 GB, free: 90.96 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.005176/3.143, allocations: 1.544 MB / 1.172 GB, free: 90.92 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004233/3.147, allocations: 2.903 MB / 1.175 GB, free: 90.91 MB / 474.8 MB Notification: Performance of SimCode: time 1.522e-06/3.147, allocations: 2.812 kB / 1.175 GB, free: 90.91 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4896/3.636, allocations: 169.4 MB / 1.34 GB, free: 79.65 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/3.637, allocations: 249.5 kB / 1.341 GB, free: 79.35 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.789/8.426, allocations: 0 / 1.341 GB, free: 79.35 MB / 474.8 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat