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.001152/0.001151, allocations: 172.5 kB / 14.1 MB, free: 1.223 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.432/1.432, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0009114/0.0009114, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.724e-05, allocations: 0 / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08592/0.08597, allocations: 47.57 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3318/0.4179, allocations: 98.88 MB / 469 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.4181, allocations: 87.06 kB / 469.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9857/1.404, allocations: 307.1 MB / 0.758 GB, free: 60.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.404, allocations: 0 / 0.758 GB, free: 60.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004096/1.404, allocations: 193.8 kB / 0.7582 GB, free: 60.78 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.02812/1.432, allocations: 8.743 MB / 0.7667 GB, free: 58.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.433, allocations: 10.16 kB / 0.7668 GB, free: 58.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005324/1.438, allocations: 1.494 MB / 0.7682 GB, free: 58.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02227/1.46, allocations: 4.193 MB / 0.7723 GB, free: 57.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/1.473, allocations: 5.802 MB / 0.778 GB, free: 55.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008141/1.474, allocations: 0.6451 MB / 0.7786 GB, free: 55.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003597/1.478, allocations: 0.8351 MB / 0.7794 GB, free: 55.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03497/1.513, allocations: 15.11 MB / 0.7942 GB, free: 44.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003965/1.513, allocations: 11.91 kB / 0.7942 GB, free: 44.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003377/1.516, allocations: 369.7 kB / 0.7945 GB, free: 43.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007532/1.517, allocations: 0.6048 MB / 0.7951 GB, free: 43.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02746/1.545, allocations: 13.38 MB / 0.8082 GB, free: 30.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0991/1.644, allocations: 44.92 MB / 0.8521 GB, free: 1.863 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3059/1.95, allocations: 12.17 MB / 0.8639 GB, free: 69.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01141/1.961, allocations: 7.114 MB / 0.8709 GB, free: 69.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007576/1.962, allocations: 269.8 kB / 0.8711 GB, free: 68.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.01e-05/1.962, allocations: 102.9 kB / 0.8712 GB, free: 68.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=817): time 1.007e-05/1.962, allocations: 0 / 0.8712 GB, free: 68.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=817): time 0.02299/1.985, allocations: 13.08 MB / 0.884 GB, free: 68.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/1.985, allocations: 153.8 kB / 0.8842 GB, free: 68.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/1.988, allocations: 1.735 MB / 0.8859 GB, free: 68.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001557/1.99, allocations: 130.9 kB / 0.886 GB, free: 68.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/1.991, allocations: 2.774 MB / 0.8887 GB, free: 67.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003485/1.994, allocations: 2.667 MB / 0.8913 GB, free: 65.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007329/1.995, allocations: 122.8 kB / 0.8914 GB, free: 65.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005682/1.996, allocations: 0.6012 MB / 0.892 GB, free: 65.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007201/2.003, allocations: 4.943 MB / 0.8968 GB, free: 65.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008332/2.011, allocations: 5.793 MB / 0.9025 GB, free: 64.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009153/2.021, allocations: 5.879 MB / 0.9082 GB, free: 62.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.441e-05/2.021, allocations: 6.125 kB / 0.9082 GB, free: 62.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.03225/2.053, allocations: 14 MB / 0.9219 GB, free: 56.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/2.053, allocations: 11.25 kB / 0.9219 GB, free: 56.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.063e-05/2.053, allocations: 17.34 kB / 0.9219 GB, free: 56.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008848/2.062, allocations: 4.337 MB / 0.9262 GB, free: 55.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005039/2.067, allocations: 1.053 MB / 0.9272 GB, free: 55.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/2.08, allocations: 10.5 MB / 0.9375 GB, free: 50 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005339/2.085, allocations: 0.7059 MB / 0.9381 GB, free: 49.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002097/2.087, allocations: 256 kB / 0.9384 GB, free: 49.54 MB / 442.7 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 () * 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.004178/2.092, allocations: 419.2 kB / 0.9388 GB, free: 49.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00249/2.094, allocations: 391 kB / 0.9392 GB, free: 49.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03158/2.126, allocations: 14.67 MB / 0.9535 GB, free: 41.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02267/2.148, allocations: 13.12 MB / 0.9663 GB, free: 29.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-05/2.148, allocations: 0 / 0.9663 GB, free: 29.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001511/2.149, allocations: 33.94 kB / 0.9663 GB, free: 29.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05296/2.202, allocations: 26.82 MB / 0.9925 GB, free: 7.141 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.199e-05/2.202, allocations: 0 / 0.9925 GB, free: 7.141 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004416/2.206, allocations: 0.9084 MB / 0.9934 GB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008815/2.215, allocations: 4.302 MB / 0.9976 GB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002055/2.217, allocations: 171.7 kB / 0.9978 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01946/2.237, allocations: 10.9 MB / 1.008 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/2.237, allocations: 0.5469 kB / 1.008 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3546/2.591, allocations: 21.78 MB / 1.03 GB, free: 81.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005403/2.597, allocations: 1.682 MB / 1.031 GB, free: 81.46 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0022/2.599, allocations: 113.8 kB / 1.031 GB, free: 81.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004152/2.603, allocations: 348.4 kB / 1.032 GB, free: 81.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00183/2.605, allocations: 0.5643 MB / 1.032 GB, free: 81.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007452/2.606, allocations: 217.3 kB / 1.033 GB, free: 81.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002483/2.608, allocations: 1.34 MB / 1.034 GB, free: 81.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.51e-07/2.608, allocations: 0 / 1.034 GB, free: 81.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008639/2.617, allocations: 2.235 MB / 1.036 GB, free: 81.12 MB / 458.7 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 () * 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.03689/2.654, allocations: 22.52 MB / 1.058 GB, free: 79.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02145/2.675, allocations: 12.17 MB / 1.07 GB, free: 78.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/2.675, allocations: 3.938 kB / 1.07 GB, free: 78.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01171/2.687, allocations: 6.468 MB / 1.076 GB, free: 75.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005381/2.692, allocations: 0.6521 MB / 1.077 GB, free: 75.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04901/2.741, allocations: 19.99 MB / 1.096 GB, free: 68.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01499/2.757, allocations: 6.202 MB / 1.102 GB, free: 65.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007312/2.764, allocations: 1.547 MB / 1.104 GB, free: 65.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006838/2.771, allocations: 2.904 MB / 1.107 GB, free: 63.32 MB / 458.7 MB Notification: Performance of SimCode: time 2.825e-06/2.771, allocations: 2.625 kB / 1.107 GB, free: 63.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4949/3.266, allocations: 163.4 MB / 1.266 GB, free: 71.68 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/3.266, allocations: 222.8 kB / 1.267 GB, free: 71.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.212/8.478, allocations: 0 / 1.267 GB, free: 71.45 MB / 458.7 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