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.00174/0.00174, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.833/1.833, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009565/0.0009565, allocations: 89.75 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.723e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1199, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.383/0.503, allocations: 90.43 MB / 492.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5033, allocations: 82.41 kB / 492.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1341/0.6374, allocations: 56.61 MB / 0.5364 GB, free: 7.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6374, allocations: 0 / 0.5364 GB, free: 7.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000148/0.6376, allocations: 63.94 kB / 0.5364 GB, free: 7.609 MB / 410.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.006992/0.6446, allocations: 2.773 MB / 0.5391 GB, free: 4.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6446, allocations: 11.97 kB / 0.5392 GB, free: 4.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008464/0.6455, allocations: 436.9 kB / 0.5396 GB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/0.6488, allocations: 0.6646 MB / 0.5402 GB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003856/0.6527, allocations: 1.815 MB / 0.542 GB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.6529, allocations: 201.4 kB / 0.5422 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004297/0.6533, allocations: 263.9 kB / 0.5424 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006026/0.6594, allocations: 3.469 MB / 0.5458 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/0.6594, allocations: 0 / 0.5458 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.6597, allocations: 123.9 kB / 0.5459 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.6598, allocations: 101.4 kB / 0.546 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004404/0.6642, allocations: 2.786 MB / 0.5488 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01815/0.6824, allocations: 10.51 MB / 0.559 GB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005052/0.6875, allocations: 4.632 MB / 0.5635 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.6888, allocations: 0.8859 MB / 0.5644 GB, free: 9.699 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004102/0.6929, allocations: 2.694 MB / 0.567 GB, free: 6.863 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.6929, allocations: 47.44 kB / 0.5671 GB, free: 6.805 MB / 442.7 MB Notification: Performance of pre-optimization done (n=102): time 3.166e-06/0.6929, allocations: 3.938 kB / 0.5671 GB, free: 6.801 MB / 442.7 MB Notification: Performance of matching and sorting (n=102): time 0.002632/0.6956, allocations: 1.467 MB / 0.5685 GB, free: 5.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.6956, allocations: 85.98 kB / 0.5686 GB, free: 5.219 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.6975, allocations: 1.207 MB / 0.5698 GB, free: 4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.6977, allocations: 45.7 kB / 0.5698 GB, free: 3.949 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008301/0.6985, allocations: 1.168 MB / 0.571 GB, free: 2.766 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/0.6988, allocations: 358.8 kB / 0.5713 GB, free: 2.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.6989, allocations: 24 kB / 0.5713 GB, free: 2.387 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.699, allocations: 361.9 kB / 0.5717 GB, free: 2.027 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000777/0.6998, allocations: 0.5296 MB / 0.5722 GB, free: 1.496 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009783/0.7008, allocations: 0.8053 MB / 0.573 GB, free: 0.582 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2608/0.9616, allocations: 0.6715 MB / 0.5736 GB, free: 89.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-05/0.9617, allocations: 3.406 kB / 0.5736 GB, free: 89.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003884/0.9656, allocations: 1.898 MB / 0.5755 GB, free: 89.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.9657, allocations: 9.922 kB / 0.5755 GB, free: 89.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.9657, allocations: 10.34 kB / 0.5755 GB, free: 89.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009983/0.9667, allocations: 397.8 kB / 0.5759 GB, free: 89.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007728/0.9675, allocations: 218.6 kB / 0.5761 GB, free: 89.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006282/0.9738, allocations: 6.061 MB / 0.582 GB, free: 86.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.9751, allocations: 142.8 kB / 0.5822 GB, free: 86.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.681e-05/0.9752, allocations: 47.94 kB / 0.5822 GB, free: 86.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * 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.0002395/0.9754, allocations: 170.5 kB / 0.5824 GB, free: 86.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.9757, allocations: 137.7 kB / 0.5825 GB, free: 86.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.9784, allocations: 1.605 MB / 0.5841 GB, free: 86.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.9784, allocations: 9.562 kB / 0.5841 GB, free: 86.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.9784, allocations: 5.938 kB / 0.5841 GB, free: 86.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.9785, allocations: 10.27 kB / 0.5841 GB, free: 86.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006251/0.9847, allocations: 3.912 MB / 0.5879 GB, free: 86.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.9847, allocations: 0 / 0.5879 GB, free: 86.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.9853, allocations: 140.4 kB / 0.588 GB, free: 86.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008296/0.9861, allocations: 396.9 kB / 0.5884 GB, free: 86.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.593e-05/0.9862, allocations: 38.55 kB / 0.5885 GB, free: 86.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005744/0.992, allocations: 6.037 MB / 0.5944 GB, free: 83.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.992, allocations: 3.375 kB / 0.5944 GB, free: 83.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/0.9956, allocations: 2.487 MB / 0.5968 GB, free: 82.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/0.9961, allocations: 241.3 kB / 0.597 GB, free: 82.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.9962, allocations: 39.03 kB / 0.5971 GB, free: 82.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.9971, allocations: 96.31 kB / 0.5971 GB, free: 82.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.9973, allocations: 93.89 kB / 0.5972 GB, free: 82.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/0.9974, allocations: 31.97 kB / 0.5973 GB, free: 82.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00127/0.9987, allocations: 0.9391 MB / 0.5982 GB, free: 82.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9987, allocations: 3.172 kB / 0.5982 GB, free: 82.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002025/1.001, allocations: 0.6893 MB / 0.5989 GB, free: 82.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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.003545/1.004, allocations: 3.616 MB / 0.6024 GB, free: 81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00258/1.007, allocations: 1.706 MB / 0.6041 GB, free: 80.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.007, allocations: 0 / 0.6041 GB, free: 80.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/1.008, allocations: 1.095 MB / 0.6051 GB, free: 80.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.01, allocations: 277 kB / 0.6054 GB, free: 80.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009292/1.019, allocations: 4.497 MB / 0.6098 GB, free: 79.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/1.021, allocations: 2.232 MB / 0.612 GB, free: 78.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001417/1.023, allocations: 339.7 kB / 0.6123 GB, free: 78.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/1.024, allocations: 0.8681 MB / 0.6131 GB, free: 78.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/1.024, allocations: 0 / 0.6131 GB, free: 78.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06608/1.09, allocations: 36.28 MB / 0.6486 GB, free: 76.86 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/1.091, allocations: 196.2 kB / 0.6487 GB, free: 76.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/4.114, allocations: 6.688 kB / 0.6488 GB, free: 76.64 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