Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001567/0.001568, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001164/0.001164, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.358e-05, allocations: 3.984 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 47.57 MB / 369.2 MB, free: 2.094 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4636/0.5667, allocations: 98.89 MB / 468.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003883/0.5672, allocations: 86.06 kB / 468.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.581/2.148, allocations: 307.1 MB / 0.7571 GB, free: 60.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.605e-06/2.148, allocations: 6.719 kB / 0.7571 GB, free: 60.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006099/2.149, allocations: 192.1 kB / 0.7573 GB, free: 60.62 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.04568/2.194, allocations: 8.732 MB / 0.7658 GB, free: 58.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/2.194, allocations: 7.844 kB / 0.7658 GB, free: 58.13 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007554/2.202, allocations: 1.501 MB / 0.7673 GB, free: 58.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03531/2.237, allocations: 4.194 MB / 0.7714 GB, free: 57.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02056/2.258, allocations: 5.799 MB / 0.7771 GB, free: 55.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001169/2.259, allocations: 0.6489 MB / 0.7777 GB, free: 55.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004726/2.264, allocations: 0.8322 MB / 0.7785 GB, free: 55.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05147/2.316, allocations: 15.11 MB / 0.7933 GB, free: 44.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000414/2.316, allocations: 10.58 kB / 0.7933 GB, free: 44.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003988/2.32, allocations: 366.5 kB / 0.7936 GB, free: 43.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001023/2.321, allocations: 0.6042 MB / 0.7942 GB, free: 43.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04037/2.361, allocations: 13.38 MB / 0.8073 GB, free: 30.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1347/2.496, allocations: 44.92 MB / 0.8511 GB, free: 1.871 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3676/2.864, allocations: 12.17 MB / 0.863 GB, free: 69.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01901/2.883, allocations: 7.107 MB / 0.87 GB, free: 68.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/2.885, allocations: 280.2 kB / 0.8702 GB, free: 68.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/2.885, allocations: 103.2 kB / 0.8703 GB, free: 68.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=817): time 1.293e-05/2.885, allocations: 0 / 0.8703 GB, free: 68.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=817): time 0.04091/2.926, allocations: 13.09 MB / 0.8831 GB, free: 68.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/2.926, allocations: 146.3 kB / 0.8833 GB, free: 68.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004293/2.93, allocations: 1.735 MB / 0.885 GB, free: 68.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002091/2.932, allocations: 131.6 kB / 0.8851 GB, free: 68.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002096/2.934, allocations: 2.705 MB / 0.8877 GB, free: 67.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004812/2.939, allocations: 2.665 MB / 0.8903 GB, free: 65.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002149/2.941, allocations: 121.8 kB / 0.8904 GB, free: 65.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009869/2.942, allocations: 0.6057 MB / 0.891 GB, free: 65.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01387/2.956, allocations: 4.942 MB / 0.8959 GB, free: 65.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01542/2.972, allocations: 5.794 MB / 0.9015 GB, free: 64.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01598/2.988, allocations: 5.883 MB / 0.9073 GB, free: 62.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.28e-05/2.988, allocations: 1.594 kB / 0.9073 GB, free: 62.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.03869/3.027, allocations: 13.89 MB / 0.9208 GB, free: 57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/3.027, allocations: 12.75 kB / 0.9208 GB, free: 57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.709e-05/3.027, allocations: 15.28 kB / 0.9209 GB, free: 57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01428/3.041, allocations: 4.337 MB / 0.9251 GB, free: 55.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008901/3.05, allocations: 1.051 MB / 0.9261 GB, free: 55.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/3.07, allocations: 10.52 MB / 0.9364 GB, free: 50.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007755/3.078, allocations: 0.7031 MB / 0.9371 GB, free: 49.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002533/3.081, allocations: 249.8 kB / 0.9373 GB, free: 49.74 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.004392/3.085, allocations: 422.7 kB / 0.9377 GB, free: 49.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002735/3.088, allocations: 396.4 kB / 0.9381 GB, free: 49.22 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0416/3.129, allocations: 14.67 MB / 0.9524 GB, free: 41.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03451/3.164, allocations: 13.11 MB / 0.9652 GB, free: 29.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.79e-05/3.164, allocations: 0 / 0.9652 GB, free: 29.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001686/3.164, allocations: 33.05 kB / 0.9653 GB, free: 29.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07625/3.241, allocations: 26.82 MB / 0.9914 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001121/3.241, allocations: 0 / 0.9914 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008128/3.249, allocations: 0.8965 MB / 0.9923 GB, free: 6.621 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01565/3.265, allocations: 4.31 MB / 0.9965 GB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002331/3.267, allocations: 171.3 kB / 0.9967 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0298/3.297, allocations: 10.85 MB / 1.007 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/3.297, allocations: 0 / 1.007 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4238/3.721, allocations: 21.78 MB / 1.029 GB, free: 81.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006841/3.728, allocations: 1.681 MB / 1.03 GB, free: 81.32 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002853/3.73, allocations: 111.8 kB / 1.03 GB, free: 81.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007072/3.738, allocations: 347.5 kB / 1.031 GB, free: 81.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003325/3.741, allocations: 0.5714 MB / 1.031 GB, free: 81.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002398/3.743, allocations: 208 kB / 1.031 GB, free: 81.31 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004259/3.748, allocations: 1.341 MB / 1.033 GB, free: 81.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.102e-06/3.748, allocations: 0.5625 kB / 1.033 GB, free: 81.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01252/3.76, allocations: 2.24 MB / 1.035 GB, free: 80.98 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.06697/3.827, allocations: 22.53 MB / 1.057 GB, free: 79.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03721/3.865, allocations: 12.17 MB / 1.069 GB, free: 78.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/3.865, allocations: 0 / 1.069 GB, free: 78.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0222/3.887, allocations: 6.471 MB / 1.075 GB, free: 75.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008375/3.895, allocations: 0.6482 MB / 1.076 GB, free: 75.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06242/3.958, allocations: 19.58 MB / 1.095 GB, free: 68.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01657/3.974, allocations: 6.031 MB / 1.101 GB, free: 66.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01376/3.988, allocations: 2.946 MB / 1.104 GB, free: 63.77 MB / 458.7 MB Notification: Performance of SimCode: time 2.575e-06/3.988, allocations: 0 / 1.104 GB, free: 63.77 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.43/9.419, allocations: 338.8 MB / 1.434 GB, free: 100.9 MB / 490.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat