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.0009709/0.0009709, allocations: 173 kB / 17.01 MB, free: 5.094 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.209/1.209, allocations: 205.4 MB / 223.1 MB, free: 9.102 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.0008063/0.0008063, allocations: 104 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002134/0.0002134, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1918, allocations: 47.56 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09291/0.2847, allocations: 87.81 MB / 463.7 MB, free: 8.824 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.285, allocations: 83.95 kB / 463.8 MB, free: 8.742 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2642/0.5493, allocations: 53.89 MB / 0.5056 GB, free: 87.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5493, allocations: 1.031 kB / 0.5056 GB, free: 87.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001622/0.5495, allocations: 67.39 kB / 0.5056 GB, free: 87.23 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.007139/0.5566, allocations: 2.972 MB / 0.5085 GB, free: 86.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.5567, allocations: 10.86 kB / 0.5085 GB, free: 86.03 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001064/0.5577, allocations: 445.8 kB / 0.509 GB, free: 85.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002986/0.5607, allocations: 0.5997 MB / 0.5095 GB, free: 85.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.5638, allocations: 1.827 MB / 0.5113 GB, free: 85.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.5639, allocations: 202.9 kB / 0.5115 GB, free: 85.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/0.5643, allocations: 261.9 kB / 0.5118 GB, free: 85.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004431/0.5687, allocations: 3.548 MB / 0.5152 GB, free: 84.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/0.5688, allocations: 0 / 0.5152 GB, free: 84.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.569, allocations: 116.8 kB / 0.5153 GB, free: 84.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.575e-05/0.5691, allocations: 108.2 kB / 0.5154 GB, free: 84.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003975/0.573, allocations: 2.909 MB / 0.5183 GB, free: 84.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.5855, allocations: 10.54 MB / 0.5286 GB, free: 78.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003502/0.5891, allocations: 4.693 MB / 0.5332 GB, free: 74.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002829/0.5919, allocations: 2.522 MB / 0.5356 GB, free: 73.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.5919, allocations: 46.41 kB / 0.5357 GB, free: 73.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 2.214e-06/0.592, allocations: 0 / 0.5357 GB, free: 73.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.004969/0.5969, allocations: 2.791 MB / 0.5384 GB, free: 72.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.597, allocations: 89.33 kB / 0.5385 GB, free: 72.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.5982, allocations: 1.209 MB / 0.5397 GB, free: 71.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.5982, allocations: 45.7 kB / 0.5397 GB, free: 71.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.5986, allocations: 1.135 MB / 0.5408 GB, free: 70.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.5988, allocations: 380.3 kB / 0.5412 GB, free: 70.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.5989, allocations: 24 kB / 0.5412 GB, free: 70.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.025e-05/0.599, allocations: 356 kB / 0.5415 GB, free: 69.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000715/0.5997, allocations: 0.5978 MB / 0.5421 GB, free: 69.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007855/0.6005, allocations: 0.8576 MB / 0.543 GB, free: 68.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008385/0.6013, allocations: 0.7415 MB / 0.5437 GB, free: 67.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6013, allocations: 4 kB / 0.5437 GB, free: 67.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002484/0.6038, allocations: 2.017 MB / 0.5457 GB, free: 66.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6039, allocations: 8 kB / 0.5457 GB, free: 66.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.6039, allocations: 11.94 kB / 0.5457 GB, free: 66.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007669/0.6046, allocations: 411.8 kB / 0.5461 GB, free: 65.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007816/0.6054, allocations: 227.1 kB / 0.5463 GB, free: 65.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005321/0.6108, allocations: 6.238 MB / 0.5524 GB, free: 59.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008062/0.6116, allocations: 142.8 kB / 0.5525 GB, free: 59.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.6117, allocations: 44 kB / 0.5526 GB, free: 59.18 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.001266/0.613, allocations: 0.8602 MB / 0.5534 GB, free: 58.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.6131, allocations: 138.5 kB / 0.5535 GB, free: 58.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.6156, allocations: 1.775 MB / 0.5553 GB, free: 56.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6156, allocations: 12 kB / 0.5553 GB, free: 56.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6156, allocations: 4 kB / 0.5553 GB, free: 56.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.6156, allocations: 3.984 kB / 0.5553 GB, free: 56.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005359/0.621, allocations: 4.119 MB / 0.5593 GB, free: 52.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.621, allocations: 3.984 kB / 0.5593 GB, free: 52.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.6216, allocations: 143.8 kB / 0.5594 GB, free: 52.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007362/0.6223, allocations: 409.6 kB / 0.5598 GB, free: 51.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/0.6224, allocations: 35.98 kB / 0.5599 GB, free: 51.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00523/0.6276, allocations: 6.209 MB / 0.5659 GB, free: 45.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6276, allocations: 4.031 kB / 0.5659 GB, free: 45.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.6307, allocations: 2.727 MB / 0.5686 GB, free: 42.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.631, allocations: 239.3 kB / 0.5688 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.6312, allocations: 31.98 kB / 0.5689 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007174/0.6319, allocations: 99.91 kB / 0.569 GB, free: 41.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.6321, allocations: 92.73 kB / 0.569 GB, free: 41.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/0.6322, allocations: 35.98 kB / 0.5691 GB, free: 41.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009224/0.6331, allocations: 0.9353 MB / 0.57 GB, free: 40.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6331, allocations: 4 kB / 0.57 GB, free: 40.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001503/0.6346, allocations: 0.6843 MB / 0.5707 GB, free: 40.2 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.003271/0.6379, allocations: 3.75 MB / 0.5743 GB, free: 36.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002331/0.6402, allocations: 1.87 MB / 0.5761 GB, free: 34.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6402, allocations: 4 kB / 0.5762 GB, free: 34.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.6417, allocations: 1.172 MB / 0.5773 GB, free: 33.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000989/0.6427, allocations: 292.3 kB / 0.5776 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.6568, allocations: 17.4 MB / 0.5946 GB, free: 15.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.6582, allocations: 2.227 MB / 0.5967 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008825/0.6591, allocations: 351.4 kB / 0.5971 GB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007716/0.6598, allocations: 0.8664 MB / 0.5979 GB, free: 11.68 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6598, allocations: 0 / 0.5979 GB, free: 11.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05329/0.7131, allocations: 36.08 MB / 0.6332 GB, free: 7.727 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/0.7133, allocations: 220.9 kB / 0.6334 GB, free: 7.488 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/3.363, allocations: 0 / 0.6334 GB, free: 7.488 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