Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001382/0.001382, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 227.2 MB / 245 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008642/0.0008641, allocations: 108.8 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001979/0.0001979, allocations: 4 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1889, allocations: 51.48 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.2909, allocations: 90.5 MB / 500 MB, free: 96 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.2911, allocations: 87.95 kB / 0.4884 GB, free: 8 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.29/0.5811, allocations: 56.59 MB / 0.5436 GB, free: 66.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5811, allocations: 0 / 0.5436 GB, free: 66.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001552/0.5813, allocations: 67.88 kB / 0.5437 GB, free: 66.77 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.006877/0.5882, allocations: 2.997 MB / 0.5466 GB, free: 63.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.5882, allocations: 8.031 kB / 0.5466 GB, free: 63.7 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/0.5893, allocations: 440.9 kB / 0.547 GB, free: 63.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003342/0.5926, allocations: 0.6718 MB / 0.5477 GB, free: 62.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/0.5962, allocations: 1.827 MB / 0.5495 GB, free: 60.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.5964, allocations: 201.3 kB / 0.5497 GB, free: 60.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000482/0.5968, allocations: 267.9 kB / 0.5499 GB, free: 60.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004972/0.6018, allocations: 3.543 MB / 0.5534 GB, free: 56.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.614e-05/0.6019, allocations: 3.938 kB / 0.5534 GB, free: 56.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/0.6021, allocations: 116 kB / 0.5535 GB, free: 56.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.698e-05/0.6022, allocations: 101.4 kB / 0.5536 GB, free: 56.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003895/0.6061, allocations: 2.902 MB / 0.5564 GB, free: 53.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01459/0.6207, allocations: 10.53 MB / 0.5667 GB, free: 42.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003654/0.6244, allocations: 4.694 MB / 0.5713 GB, free: 37.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003801/0.6282, allocations: 2.745 MB / 0.574 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.6283, allocations: 51.56 kB / 0.574 GB, free: 34.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 2.966e-06/0.6283, allocations: 0 / 0.574 GB, free: 34.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.005371/0.6337, allocations: 2.791 MB / 0.5768 GB, free: 31.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.6337, allocations: 90.11 kB / 0.5768 GB, free: 31.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.635, allocations: 1.216 MB / 0.578 GB, free: 30.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.667e-05/0.6351, allocations: 41.7 kB / 0.5781 GB, free: 30.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.6356, allocations: 1.153 MB / 0.5792 GB, free: 28.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.6358, allocations: 378.6 kB / 0.5796 GB, free: 28.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.6358, allocations: 24 kB / 0.5796 GB, free: 28.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.681e-05/0.6359, allocations: 357.9 kB / 0.5799 GB, free: 28.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007438/0.6366, allocations: 0.5998 MB / 0.5805 GB, free: 27.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008243/0.6375, allocations: 0.8527 MB / 0.5813 GB, free: 26.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008512/0.6383, allocations: 0.7382 MB / 0.5821 GB, free: 25.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.6383, allocations: 4 kB / 0.5821 GB, free: 25.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002616/0.641, allocations: 2.016 MB / 0.584 GB, free: 23.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.641, allocations: 12.03 kB / 0.584 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.641, allocations: 7.984 kB / 0.5841 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008275/0.6419, allocations: 407.1 kB / 0.5844 GB, free: 23.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007911/0.6427, allocations: 223.7 kB / 0.5847 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00533/0.648, allocations: 6.232 MB / 0.5907 GB, free: 16.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.6491, allocations: 142.8 kB / 0.5909 GB, free: 16.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.807e-05/0.6491, allocations: 51.98 kB / 0.5909 GB, free: 16.47 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.00124/0.6504, allocations: 0.8686 MB / 0.5918 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.6506, allocations: 138.4 kB / 0.5919 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.6531, allocations: 1.764 MB / 0.5936 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.6531, allocations: 12 kB / 0.5936 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6531, allocations: 8 kB / 0.5936 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.6531, allocations: 7.969 kB / 0.5937 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005452/0.6586, allocations: 4.116 MB / 0.5977 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.6586, allocations: 0 / 0.5977 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/0.6592, allocations: 155.9 kB / 0.5978 GB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007837/0.66, allocations: 393.4 kB / 0.5982 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/0.6601, allocations: 39.97 kB / 0.5982 GB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005309/0.6654, allocations: 6.218 MB / 0.6043 GB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6654, allocations: 7.953 kB / 0.6043 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/0.6688, allocations: 2.708 MB / 0.607 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.6693, allocations: 243.2 kB / 0.6072 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.6695, allocations: 31.98 kB / 0.6072 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007916/0.6703, allocations: 103.9 kB / 0.6073 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.6705, allocations: 100.7 kB / 0.6074 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/0.6706, allocations: 32 kB / 0.6074 GB, free: 15.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001234/0.6719, allocations: 0.9396 MB / 0.6084 GB, free: 14.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6719, allocations: 3.938 kB / 0.6084 GB, free: 14.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001719/0.6736, allocations: 0.6922 MB / 0.609 GB, free: 13.44 MB / 394.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.004226/0.6778, allocations: 3.75 MB / 0.6127 GB, free: 9.613 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002872/0.6807, allocations: 1.86 MB / 0.6145 GB, free: 7.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6807, allocations: 4 kB / 0.6145 GB, free: 7.727 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.6825, allocations: 1.183 MB / 0.6157 GB, free: 6.516 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.6838, allocations: 276.4 kB / 0.6159 GB, free: 6.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.7025, allocations: 17.45 MB / 0.633 GB, free: 4.293 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.7043, allocations: 2.227 MB / 0.6352 GB, free: 2.031 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001098/0.7054, allocations: 351 kB / 0.6355 GB, free: 1.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009699/0.7064, allocations: 0.8781 MB / 0.6364 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of SimCode: time 1.714e-06/0.7064, allocations: 4 kB / 0.6364 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2247/0.9311, allocations: 36.22 MB / 0.6717 GB, free: 116.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/0.9312, allocations: 230.7 kB / 0.672 GB, free: 116 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.685, allocations: 0 / 0.672 GB, free: 116 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat