Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008779/0.0008779, allocations: 88.16 kB / 16.31 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 181.5 kB / 17.21 MB, free: 5.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000227/0.000227, allocations: 4 kB / 300.9 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.09921, allocations: 50.43 MB / 351.4 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0137/0.113, allocations: 14.28 MB / 365.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009417/0.1224, allocations: 4.253 MB / 369.9 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.1252, allocations: 119.7 kB / 370 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003324/0.1286, allocations: 0.8429 MB / 370.9 MB, free: 116 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2151/0.3437, allocations: 1.662 MB / 372.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.3474, allocations: 1.199 MB / 373.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01709/0.3645, allocations: 12.12 MB / 385.8 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02844/0.393, allocations: 17.38 MB / 403.2 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006749/0.3998, allocations: 3.969 MB / 407.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007376/0.4072, allocations: 4.349 MB / 411.5 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001772/0.409, allocations: 0.5625 MB / 412.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004482/0.4135, allocations: 0.8307 MB / 412.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002891/0.4164, allocations: 1.758 MB / 414.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004047/0.4205, allocations: 1.775 MB / 416.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01672/0.4372, allocations: 15.4 MB / 431.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.4373, allocations: 0 / 431.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4373, allocations: 0 / 431.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005392/0.4378, allocations: 0 / 431.8 MB, free: 4.652 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.02893/0.4668, allocations: 10.36 MB / 442.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4668, allocations: 12.03 kB / 442.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005484/0.4723, allocations: 1.514 MB / 443.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03391/0.5063, allocations: 6.214 MB / 450 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/0.5182, allocations: 5.608 MB / 455.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008205/0.5191, allocations: 0.6726 MB / 456.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003285/0.5224, allocations: 0.8809 MB / 457.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03721/0.5596, allocations: 14.68 MB / 471.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003535/0.56, allocations: 4 kB / 471.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002502/0.5625, allocations: 374.2 kB / 472.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005535/0.5631, allocations: 0.4914 MB / 472.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02657/0.5897, allocations: 13.49 MB / 486.1 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08296/0.6727, allocations: 44.72 MB / 0.5184 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3979/1.071, allocations: 11.68 MB / 0.5298 GB, free: 109.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005198/1.076, allocations: 3.216 MB / 0.533 GB, free: 108.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005081/1.076, allocations: 182.4 kB / 0.5331 GB, free: 108 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/1.077, allocations: 80.09 kB / 0.5332 GB, free: 107.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=421): time 5.901e-06/1.077, allocations: 1.094 kB / 0.5332 GB, free: 107.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=421): time 0.02527/1.102, allocations: 11.01 MB / 0.544 GB, free: 104.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/1.102, allocations: 120.6 kB / 0.5441 GB, free: 104.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004153/1.106, allocations: 3.136 MB / 0.5472 GB, free: 103.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000608/1.107, allocations: 89.58 kB / 0.5472 GB, free: 103.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.109, allocations: 3.683 MB / 0.5508 GB, free: 101 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001634/1.11, allocations: 1.429 MB / 0.5522 GB, free: 99.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/1.111, allocations: 115.6 kB / 0.5523 GB, free: 99.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002984/1.111, allocations: 0.5456 MB / 0.5529 GB, free: 99.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003877/1.115, allocations: 2.886 MB / 0.5557 GB, free: 98.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00445/1.119, allocations: 4.951 MB / 0.5605 GB, free: 94.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005207/1.124, allocations: 4.013 MB / 0.5644 GB, free: 93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.703e-05/1.125, allocations: 23.62 kB / 0.5645 GB, free: 92.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01301/1.138, allocations: 9.193 MB / 0.5734 GB, free: 88.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/1.138, allocations: 32 kB / 0.5735 GB, free: 88.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.998e-05/1.138, allocations: 68 kB / 0.5735 GB, free: 88.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00244/1.14, allocations: 1.127 MB / 0.5746 GB, free: 87.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004017/1.144, allocations: 1.294 MB / 0.5759 GB, free: 85.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/1.155, allocations: 9.916 MB / 0.5856 GB, free: 75.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004699/1.16, allocations: 0.7403 MB / 0.5863 GB, free: 75.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/1.161, allocations: 280 kB / 0.5866 GB, free: 74.74 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006156/1.167, allocations: 3.419 MB / 0.5899 GB, free: 71.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007741/1.168, allocations: 351.7 kB / 0.5903 GB, free: 70.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009985/1.178, allocations: 7.031 MB / 0.5971 GB, free: 63.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007284/1.185, allocations: 5.839 MB / 0.6028 GB, free: 57.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/1.185, allocations: 12 kB / 0.6028 GB, free: 57.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.493e-05/1.185, allocations: 23.92 kB / 0.6029 GB, free: 57.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02296/1.208, allocations: 15.51 MB / 0.618 GB, free: 42.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-05/1.208, allocations: 19.5 kB / 0.618 GB, free: 42.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002865/1.211, allocations: 0.7848 MB / 0.6188 GB, free: 41.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002595/1.214, allocations: 1.032 MB / 0.6198 GB, free: 40.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006443/1.215, allocations: 112 kB / 0.6199 GB, free: 40.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/1.225, allocations: 9.668 MB / 0.6293 GB, free: 30.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/1.225, allocations: 35.81 kB / 0.6294 GB, free: 30.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/1.24, allocations: 10.87 MB / 0.64 GB, free: 19.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002334/1.243, allocations: 1.011 MB / 0.641 GB, free: 18.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006516/1.243, allocations: 103.9 kB / 0.6411 GB, free: 18.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/1.245, allocations: 275.8 kB / 0.6413 GB, free: 17.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005131/1.246, allocations: 351.3 kB / 0.6417 GB, free: 17.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/1.246, allocations: 144 kB / 0.6418 GB, free: 17.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002871/1.249, allocations: 2.097 MB / 0.6439 GB, free: 15.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.249, allocations: 3.938 kB / 0.6439 GB, free: 15.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006729/1.256, allocations: 2.229 MB / 0.646 GB, free: 13.04 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01429/1.27, allocations: 11.63 MB / 0.6574 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01692/1.287, allocations: 7.536 MB / 0.6648 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.201e-05/1.287, allocations: 0 / 0.6648 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01117/1.298, allocations: 3.719 MB / 0.6684 GB, free: 5.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009183/1.307, allocations: 0.7714 MB / 0.6691 GB, free: 5.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3306/1.638, allocations: 43.26 MB / 0.7114 GB, free: 130.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007044/1.645, allocations: 5.935 MB / 0.7172 GB, free: 128.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005816/1.651, allocations: 2.157 MB / 0.7193 GB, free: 128.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004448/1.656, allocations: 3.025 MB / 0.7222 GB, free: 125.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.223e-06/1.656, allocations: 3.281 kB / 0.7222 GB, free: 125.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1442/1.8, allocations: 111.3 MB / 0.8309 GB, free: 23.41 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.8, allocations: 251.9 kB / 0.8312 GB, free: 23.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.032/6.832, allocations: 0 / 0.8312 GB, free: 23.07 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat