Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.000963/0.000963, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.355/1.355, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008047/0.0008047, allocations: 86.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.493e-05, allocations: 3.938 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07767/0.07771, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2842/0.3619, allocations: 87.71 MB / 457.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.3622, allocations: 82.27 kB / 457.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1207/0.4828, allocations: 53.94 MB / 0.4998 GB, free: 0.543 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4829, allocations: 0 / 0.4998 GB, free: 0.543 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001239/0.483, allocations: 75.88 kB / 0.4999 GB, free: 480 kB / 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.005988/0.489, allocations: 2.741 MB / 0.5026 GB, free: 13.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4891, allocations: 12.03 kB / 0.5026 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000646/0.4897, allocations: 440.8 kB / 0.503 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002669/0.4924, allocations: 0.5938 MB / 0.5036 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.4956, allocations: 1.818 MB / 0.5054 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.4957, allocations: 205.3 kB / 0.5056 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.4961, allocations: 260 kB / 0.5058 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00508/0.5012, allocations: 3.473 MB / 0.5092 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/0.5012, allocations: 0 / 0.5092 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.5015, allocations: 112 kB / 0.5093 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.031e-05/0.5016, allocations: 105.4 kB / 0.5094 GB, free: 6.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/0.5056, allocations: 2.786 MB / 0.5121 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.5198, allocations: 10.53 MB / 0.5224 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004557/0.5244, allocations: 4.624 MB / 0.5269 GB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.5256, allocations: 0.8882 MB / 0.5278 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003397/0.529, allocations: 2.46 MB / 0.5302 GB, free: 76 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.529, allocations: 51.42 kB / 0.5303 GB, free: 16 kB / 410.7 MB Notification: Performance of pre-optimization done (n=102): time 4.338e-06/0.529, allocations: 3.984 kB / 0.5303 GB, free: 12 kB / 410.7 MB Notification: Performance of matching and sorting (n=102): time 0.1839/0.713, allocations: 1.443 MB / 0.5317 GB, free: 101 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.713, allocations: 91.77 kB / 0.5318 GB, free: 100.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.7152, allocations: 1.201 MB / 0.5329 GB, free: 100.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.877e-05/0.7153, allocations: 43.64 kB / 0.533 GB, free: 100.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007173/0.7161, allocations: 1.158 MB / 0.5341 GB, free: 100.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.7163, allocations: 353.6 kB / 0.5344 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.7164, allocations: 24.03 kB / 0.5345 GB, free: 100.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.7165, allocations: 359.3 kB / 0.5348 GB, free: 99.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008385/0.7174, allocations: 0.535 MB / 0.5353 GB, free: 99.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009518/0.7183, allocations: 0.8025 MB / 0.5361 GB, free: 99.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.7194, allocations: 0.6766 MB / 0.5368 GB, free: 99.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.7194, allocations: 2.094 kB / 0.5368 GB, free: 99.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003101/0.7225, allocations: 1.897 MB / 0.5386 GB, free: 99.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.7226, allocations: 8.25 kB / 0.5386 GB, free: 99.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.7226, allocations: 8.812 kB / 0.5386 GB, free: 99.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009675/0.7236, allocations: 396.6 kB / 0.539 GB, free: 99.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/0.7244, allocations: 223.4 kB / 0.5392 GB, free: 99.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006695/0.7311, allocations: 6.051 MB / 0.5451 GB, free: 96.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.7322, allocations: 147.7 kB / 0.5453 GB, free: 96.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.7324, allocations: 51.81 kB / 0.5453 GB, free: 96.66 MB / 410.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.0002432/0.7326, allocations: 170.5 kB / 0.5455 GB, free: 96.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/0.7329, allocations: 133.1 kB / 0.5456 GB, free: 96.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/0.7359, allocations: 1.604 MB / 0.5472 GB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.736, allocations: 10.31 kB / 0.5472 GB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.736, allocations: 5.875 kB / 0.5472 GB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.736, allocations: 8.406 kB / 0.5472 GB, free: 96.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007059/0.7431, allocations: 3.913 MB / 0.551 GB, free: 95.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.7431, allocations: 1.156 kB / 0.551 GB, free: 95.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.7436, allocations: 141.1 kB / 0.5512 GB, free: 95.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008726/0.7445, allocations: 399.4 kB / 0.5516 GB, free: 95.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/0.7446, allocations: 32.5 kB / 0.5516 GB, free: 95.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005641/0.7503, allocations: 6.035 MB / 0.5575 GB, free: 93.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7503, allocations: 7.125 kB / 0.5575 GB, free: 93.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.7532, allocations: 2.494 MB / 0.5599 GB, free: 92.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000496/0.7537, allocations: 241.5 kB / 0.5602 GB, free: 92.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.754, allocations: 35.28 kB / 0.5602 GB, free: 92.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008437/0.7548, allocations: 106.9 kB / 0.5603 GB, free: 92.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.755, allocations: 94.34 kB / 0.5604 GB, free: 92.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/0.7551, allocations: 35.38 kB / 0.5604 GB, free: 92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001138/0.7562, allocations: 0.929 MB / 0.5613 GB, free: 91.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7563, allocations: 0 / 0.5613 GB, free: 91.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001815/0.7581, allocations: 0.684 MB / 0.562 GB, free: 91.43 MB / 410.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.003208/0.7613, allocations: 3.596 MB / 0.5655 GB, free: 89.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002316/0.7636, allocations: 1.709 MB / 0.5672 GB, free: 88.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7636, allocations: 0 / 0.5672 GB, free: 88.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.765, allocations: 1.091 MB / 0.5682 GB, free: 87.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.7661, allocations: 285.4 kB / 0.5685 GB, free: 87.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/0.7726, allocations: 4.486 MB / 0.5729 GB, free: 86.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/0.774, allocations: 2.229 MB / 0.5751 GB, free: 85.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008422/0.7749, allocations: 336.2 kB / 0.5754 GB, free: 85.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008088/0.7757, allocations: 0.8635 MB / 0.5762 GB, free: 84.4 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.7757, allocations: 3.562 kB / 0.5762 GB, free: 84.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04836/0.8241, allocations: 36.14 MB / 0.6115 GB, free: 67.28 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001358/0.8242, allocations: 198 kB / 0.6117 GB, free: 67.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/3.423, allocations: 0 / 0.6117 GB, free: 67.05 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat