Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001107/0.001106, allocations: 181 kB / 16.39 MB, free: 5.762 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.327/1.327, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008488/0.0008487, allocations: 96.97 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.0002778, allocations: 4 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2323, allocations: 50.41 MB / 401.6 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.3382, allocations: 89.01 MB / 490.6 MB, free: 7.453 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.3385, allocations: 87.95 kB / 490.7 MB, free: 7.367 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3088/0.6472, allocations: 54.74 MB / 0.5326 GB, free: 79.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6473, allocations: 0 / 0.5326 GB, free: 79.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001876/0.6475, allocations: 63.94 kB / 0.5327 GB, free: 79.83 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.008138/0.6556, allocations: 2.981 MB / 0.5356 GB, free: 76.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6557, allocations: 8.031 kB / 0.5356 GB, free: 76.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001576/0.6573, allocations: 452.8 kB / 0.536 GB, free: 76.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003365/0.6606, allocations: 0.5974 MB / 0.5366 GB, free: 75.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004291/0.665, allocations: 1.814 MB / 0.5384 GB, free: 73.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.6652, allocations: 205.3 kB / 0.5386 GB, free: 73.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008759/0.666, allocations: 263.1 kB / 0.5389 GB, free: 73.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00642/0.6725, allocations: 3.546 MB / 0.5423 GB, free: 69.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/0.6726, allocations: 0 / 0.5423 GB, free: 69.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.6728, allocations: 112 kB / 0.5424 GB, free: 69.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-05/0.6729, allocations: 109.4 kB / 0.5425 GB, free: 69.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004072/0.677, allocations: 2.902 MB / 0.5454 GB, free: 66.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/0.6906, allocations: 10.53 MB / 0.5556 GB, free: 55.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/0.6945, allocations: 4.679 MB / 0.5602 GB, free: 50.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003949/0.6985, allocations: 2.519 MB / 0.5627 GB, free: 47.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6985, allocations: 47.56 kB / 0.5627 GB, free: 47.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 2.755e-06/0.6986, allocations: 0 / 0.5627 GB, free: 47.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.005621/0.7042, allocations: 2.787 MB / 0.5654 GB, free: 44.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.7043, allocations: 90.11 kB / 0.5655 GB, free: 44.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.7065, allocations: 1.204 MB / 0.5667 GB, free: 43.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.7066, allocations: 45.7 kB / 0.5667 GB, free: 43.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007186/0.7073, allocations: 1.149 MB / 0.5679 GB, free: 42.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003535/0.7077, allocations: 374.6 kB / 0.5682 GB, free: 42.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.7078, allocations: 24 kB / 0.5682 GB, free: 42.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7079, allocations: 361.9 kB / 0.5686 GB, free: 41.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008722/0.7088, allocations: 0.592 MB / 0.5692 GB, free: 41.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00093/0.7097, allocations: 0.8605 MB / 0.57 GB, free: 40.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009975/0.7108, allocations: 0.7303 MB / 0.5707 GB, free: 39.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.7108, allocations: 4 kB / 0.5707 GB, free: 39.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003178/0.714, allocations: 2.023 MB / 0.5727 GB, free: 37.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.714, allocations: 8 kB / 0.5727 GB, free: 37.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.714, allocations: 8 kB / 0.5727 GB, free: 37.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000974/0.715, allocations: 401.9 kB / 0.5731 GB, free: 36.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/0.7158, allocations: 223.7 kB / 0.5733 GB, free: 36.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005841/0.7217, allocations: 6.239 MB / 0.5794 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.7229, allocations: 150.8 kB / 0.5796 GB, free: 30.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.7231, allocations: 44 kB / 0.5796 GB, free: 30.02 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.001508/0.7246, allocations: 0.8611 MB / 0.5804 GB, free: 29.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/0.725, allocations: 134.4 kB / 0.5806 GB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.7278, allocations: 1.768 MB / 0.5823 GB, free: 27.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.7278, allocations: 12 kB / 0.5823 GB, free: 27.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/0.7278, allocations: 4 kB / 0.5823 GB, free: 27.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.7278, allocations: 11.97 kB / 0.5823 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006697/0.7345, allocations: 4.108 MB / 0.5863 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.7346, allocations: 4 kB / 0.5863 GB, free: 23.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/0.7352, allocations: 147.8 kB / 0.5865 GB, free: 22.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000827/0.736, allocations: 397.7 kB / 0.5869 GB, free: 22.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.302e-05/0.7361, allocations: 39.97 kB / 0.5869 GB, free: 22.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005632/0.7418, allocations: 6.21 MB / 0.593 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7418, allocations: 7.969 kB / 0.593 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/0.7454, allocations: 2.712 MB / 0.5956 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005723/0.746, allocations: 239.2 kB / 0.5958 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/0.7464, allocations: 35.98 kB / 0.5959 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009715/0.7474, allocations: 99.91 kB / 0.596 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.7476, allocations: 100.6 kB / 0.5961 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-05/0.7477, allocations: 35.98 kB / 0.5961 GB, free: 12.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001419/0.7491, allocations: 0.9353 MB / 0.597 GB, free: 11.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7491, allocations: 0 / 0.597 GB, free: 11.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002133/0.7513, allocations: 0.6883 MB / 0.5977 GB, free: 11.01 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.00396/0.7553, allocations: 3.751 MB / 0.6013 GB, free: 7.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.7582, allocations: 1.859 MB / 0.6032 GB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7582, allocations: 0 / 0.6032 GB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.7599, allocations: 1.172 MB / 0.6043 GB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.7615, allocations: 288.4 kB / 0.6046 GB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/0.7855, allocations: 17.39 MB / 0.6216 GB, free: 1.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002991/0.7886, allocations: 2.231 MB / 0.6237 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001408/0.79, allocations: 347 kB / 0.6241 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.7913, allocations: 0.8742 MB / 0.6249 GB, free: 14.46 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.7913, allocations: 0 / 0.6249 GB, free: 14.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06333/0.8547, allocations: 36.08 MB / 0.6602 GB, free: 10.82 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.8549, allocations: 226 kB / 0.6604 GB, free: 10.58 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.687/3.542, allocations: 0 / 0.6604 GB, free: 10.58 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat