Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.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.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_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.001501/0.001505, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.878/1.878, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001199/0.001198, allocations: 86.92 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003688, allocations: 8 kB / 327.1 MB, free: 104 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3221, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.4645, allocations: 87.8 MB / 462.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.4649, allocations: 83.95 kB / 462.5 MB, free: 8.742 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.48/0.9449, allocations: 53.89 MB / 0.5043 GB, free: 86.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.945, allocations: 0 / 0.5043 GB, free: 86.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002131/0.9452, allocations: 66.66 kB / 0.5044 GB, free: 86.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01177/0.957, allocations: 2.966 MB / 0.5073 GB, free: 85.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.9571, allocations: 11.34 kB / 0.5073 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001697/0.9588, allocations: 443.5 kB / 0.5077 GB, free: 85.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004912/0.9637, allocations: 0.6069 MB / 0.5083 GB, free: 85.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005574/0.9694, allocations: 1.823 MB / 0.5101 GB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.9696, allocations: 200.3 kB / 0.5103 GB, free: 85.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.9707, allocations: 260 kB / 0.5105 GB, free: 85.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.9812, allocations: 3.556 MB / 0.514 GB, free: 84.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.9813, allocations: 0 / 0.514 GB, free: 84.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006631/0.982, allocations: 121 kB / 0.5141 GB, free: 84.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.9821, allocations: 102.8 kB / 0.5142 GB, free: 84.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008988/0.9911, allocations: 2.914 MB / 0.517 GB, free: 83.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02698/1.018, allocations: 10.54 MB / 0.5273 GB, free: 78.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007777/1.026, allocations: 4.698 MB / 0.5319 GB, free: 74.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00658/1.033, allocations: 2.52 MB / 0.5344 GB, free: 73.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/1.033, allocations: 47.06 kB / 0.5344 GB, free: 72.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 4.889e-06/1.033, allocations: 0 / 0.5344 GB, free: 72.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.01094/1.044, allocations: 2.787 MB / 0.5372 GB, free: 71.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/1.044, allocations: 89.11 kB / 0.5372 GB, free: 71.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/1.046, allocations: 1.21 MB / 0.5384 GB, free: 71.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003528/1.047, allocations: 47.64 kB / 0.5385 GB, free: 71.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007474/1.048, allocations: 1.115 MB / 0.5396 GB, free: 70.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005108/1.048, allocations: 377.5 kB / 0.5399 GB, free: 70.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/1.048, allocations: 23.09 kB / 0.5399 GB, free: 70.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/1.048, allocations: 360.7 kB / 0.5403 GB, free: 69.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/1.05, allocations: 0.6056 MB / 0.5409 GB, free: 69.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/1.052, allocations: 0.8515 MB / 0.5417 GB, free: 68.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/1.054, allocations: 0.7445 MB / 0.5424 GB, free: 67.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/1.054, allocations: 0 / 0.5424 GB, free: 67.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00527/1.059, allocations: 1.929 MB / 0.5443 GB, free: 66.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/1.059, allocations: 8 kB / 0.5443 GB, free: 66.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/1.059, allocations: 8 kB / 0.5443 GB, free: 66.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/1.061, allocations: 407.1 kB / 0.5447 GB, free: 65.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/1.063, allocations: 239.4 kB / 0.5449 GB, free: 65.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/1.073, allocations: 6.231 MB / 0.551 GB, free: 59.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.075, allocations: 142.8 kB / 0.5512 GB, free: 59.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/1.075, allocations: 47.98 kB / 0.5512 GB, free: 59.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002068/1.077, allocations: 0.8643 MB / 0.5521 GB, free: 58.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000466/1.078, allocations: 138.3 kB / 0.5522 GB, free: 58.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005001/1.083, allocations: 1.759 MB / 0.5539 GB, free: 56.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/1.083, allocations: 12 kB / 0.5539 GB, free: 56.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/1.083, allocations: 8 kB / 0.5539 GB, free: 56.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.083, allocations: 7.969 kB / 0.5539 GB, free: 56.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/1.093, allocations: 4.119 MB / 0.558 GB, free: 52.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.093, allocations: 3.938 kB / 0.558 GB, free: 52.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/1.094, allocations: 152 kB / 0.5581 GB, free: 52.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/1.096, allocations: 401.8 kB / 0.5585 GB, free: 51.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/1.096, allocations: 39.97 kB / 0.5585 GB, free: 51.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009753/1.106, allocations: 6.217 MB / 0.5646 GB, free: 45.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.106, allocations: 0 / 0.5646 GB, free: 45.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006324/1.112, allocations: 2.719 MB / 0.5673 GB, free: 42.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00057/1.113, allocations: 243.2 kB / 0.5675 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/1.113, allocations: 31.98 kB / 0.5675 GB, free: 42.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.114, allocations: 103.9 kB / 0.5676 GB, free: 42.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/1.115, allocations: 92.72 kB / 0.5677 GB, free: 41.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.115, allocations: 35.98 kB / 0.5677 GB, free: 41.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001767/1.117, allocations: 0.9353 MB / 0.5687 GB, free: 40.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.117, allocations: 0 / 0.5687 GB, free: 40.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002599/1.119, allocations: 0.6805 MB / 0.5693 GB, free: 40.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00699/1.126, allocations: 3.741 MB / 0.573 GB, free: 36.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00467/1.131, allocations: 1.874 MB / 0.5748 GB, free: 34.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.131, allocations: 0 / 0.5748 GB, free: 34.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002902/1.134, allocations: 1.188 MB / 0.576 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/1.136, allocations: 281.6 kB / 0.5762 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0281/1.164, allocations: 17.32 MB / 0.5931 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002217/1.167, allocations: 2.171 MB / 0.5953 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/1.168, allocations: 0.8781 MB / 0.5961 GB, free: 12.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/1.168, allocations: 0 / 0.5961 GB, free: 12.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.415/4.583, allocations: 63.85 MB / 0.6585 GB, free: 117 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.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.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat