Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.4 MB / 235.5 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009317/0.0009314, allocations: 95.78 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.86e-05, allocations: 0 / 343.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1242, allocations: 50.42 MB / 394.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/0.5554, allocations: 100.7 MB / 495 MB, free: 2.738 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/0.5558, allocations: 83.94 kB / 495.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.251/1.807, allocations: 310.8 MB / 0.7871 GB, free: 72.17 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.886e-06/1.807, allocations: 0 / 0.7871 GB, free: 72.17 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005199/1.808, allocations: 197.9 kB / 0.7873 GB, free: 72.15 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.03379/1.841, allocations: 8.741 MB / 0.7958 GB, free: 69.69 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/1.841, allocations: 7.188 kB / 0.7958 GB, free: 69.69 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007908/1.849, allocations: 1.497 MB / 0.7973 GB, free: 69.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02516/1.875, allocations: 4.193 MB / 0.8014 GB, free: 69.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01785/1.892, allocations: 6.023 MB / 0.8072 GB, free: 68.06 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008369/1.893, allocations: 0.6347 MB / 0.8079 GB, free: 68.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005001/1.898, allocations: 0.8318 MB / 0.8087 GB, free: 68.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04381/1.942, allocations: 14.37 MB / 0.8227 GB, free: 63.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005702/1.943, allocations: 11.48 kB / 0.8227 GB, free: 63.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004227/1.947, allocations: 384.3 kB / 0.8231 GB, free: 63.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001016/1.948, allocations: 0.6803 MB / 0.8238 GB, free: 63.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03246/1.981, allocations: 12.28 MB / 0.8357 GB, free: 53.12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09689/2.078, allocations: 44.33 MB / 0.879 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4217/2.499, allocations: 11.6 MB / 0.8904 GB, free: 64.65 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0076/2.507, allocations: 3.129 MB / 0.8934 GB, free: 64.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006069/2.508, allocations: 176.3 kB / 0.8936 GB, free: 64.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.14e-05/2.508, allocations: 78 kB / 0.8937 GB, free: 64.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 8.667e-06/2.508, allocations: 0 / 0.8937 GB, free: 64.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.01279/2.521, allocations: 5.862 MB / 0.8994 GB, free: 64.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/2.521, allocations: 121.8 kB / 0.8995 GB, free: 64.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006988/2.528, allocations: 2.782 MB / 0.9022 GB, free: 63.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001316/2.529, allocations: 92.17 kB / 0.9023 GB, free: 63.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003803/2.533, allocations: 3.679 MB / 0.9059 GB, free: 62.47 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002671/2.536, allocations: 1.436 MB / 0.9073 GB, free: 61.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004924/2.536, allocations: 115 kB / 0.9074 GB, free: 61.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005117/2.537, allocations: 0.544 MB / 0.9079 GB, free: 61.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005742/2.542, allocations: 2.811 MB / 0.9107 GB, free: 61.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007213/2.55, allocations: 4.858 MB / 0.9154 GB, free: 58.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007822/2.557, allocations: 3.958 MB / 0.9193 GB, free: 58.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001604/2.558, allocations: 23.36 kB / 0.9193 GB, free: 58.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01883/2.577, allocations: 9.022 MB / 0.9281 GB, free: 58.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001704/2.577, allocations: 30.97 kB / 0.9282 GB, free: 58.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002106/2.577, allocations: 75.69 kB / 0.9282 GB, free: 58.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003352/2.58, allocations: 1.11 MB / 0.9293 GB, free: 58.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005478/2.586, allocations: 1.287 MB / 0.9306 GB, free: 58.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/2.602, allocations: 9.829 MB / 0.9402 GB, free: 55.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007591/2.609, allocations: 0.7297 MB / 0.9409 GB, free: 55.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002136/2.611, allocations: 276.3 kB / 0.9412 GB, free: 55.08 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.003126/2.615, allocations: 475.3 kB / 0.9416 GB, free: 54.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002132/2.617, allocations: 351 kB / 0.9419 GB, free: 54.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/2.633, allocations: 6.926 MB / 0.9487 GB, free: 54.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01072/2.644, allocations: 5.727 MB / 0.9543 GB, free: 53.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.583e-05/2.644, allocations: 10.22 kB / 0.9543 GB, free: 53.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-05/2.644, allocations: 23.3 kB / 0.9543 GB, free: 53.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03937/2.683, allocations: 15.43 MB / 0.9694 GB, free: 47.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.377e-05/2.684, allocations: 10.62 kB / 0.9694 GB, free: 47.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003462/2.687, allocations: 0.7857 MB / 0.9702 GB, free: 47.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003302/2.69, allocations: 1.024 MB / 0.9712 GB, free: 47.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009497/2.691, allocations: 115.3 kB / 0.9713 GB, free: 47.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/2.705, allocations: 9.636 MB / 0.9807 GB, free: 42.01 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.029e-05/2.705, allocations: 22.66 kB / 0.9807 GB, free: 42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/2.727, allocations: 11.91 MB / 0.9923 GB, free: 35.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003515/2.73, allocations: 1.016 MB / 0.9933 GB, free: 35.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/2.732, allocations: 93.97 kB / 0.9934 GB, free: 35.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003705/2.736, allocations: 279.4 kB / 0.9937 GB, free: 35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/2.737, allocations: 346.5 kB / 0.994 GB, free: 34.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007314/2.738, allocations: 146.6 kB / 0.9942 GB, free: 34.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004728/2.742, allocations: 2.061 MB / 0.9962 GB, free: 34.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.742, allocations: 0 / 0.9962 GB, free: 34.12 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01071/2.753, allocations: 2.237 MB / 0.9984 GB, free: 32.25 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.02091/2.774, allocations: 16.17 MB / 1.014 GB, free: 17.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01359/2.788, allocations: 7.391 MB / 1.021 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-05/2.788, allocations: 0 / 1.021 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007246/2.795, allocations: 3.66 MB / 1.025 GB, free: 7.238 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00509/2.8, allocations: 0.691 MB / 1.026 GB, free: 6.688 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06357/2.864, allocations: 17.21 MB / 1.042 GB, free: 10.33 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01446/2.878, allocations: 6.077 MB / 1.048 GB, free: 5.688 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008653/2.887, allocations: 2.236 MB / 1.051 GB, free: 4.262 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00746/2.894, allocations: 2.91 MB / 1.053 GB, free: 1.555 MB / 474.7 MB Notification: Performance of SimCode: time 1.824e-06/2.894, allocations: 0 / 1.053 GB, free: 1.555 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5708/3.465, allocations: 113 MB / 1.164 GB, free: 77.98 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/3.465, allocations: 214.8 kB / 1.164 GB, free: 77.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.249/8.714, allocations: 0 / 1.164 GB, free: 77.75 MB / 490.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat