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.001056/0.001056, allocations: 94.48 kB / 16.3 MB, free: 5.996 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.001191/0.001191, allocations: 179.6 kB / 17.2 MB, free: 5.914 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.357/1.357, allocations: 223.2 MB / 241.1 MB, free: 5.465 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002947, allocations: 6.125 kB / 300.8 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1011, allocations: 50.43 MB / 351.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01374/0.1148, allocations: 13.27 MB / 364.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.126, allocations: 4.375 MB / 368.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003219/0.1292, allocations: 111.7 kB / 369 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002951/0.1322, allocations: 0.9094 MB / 369.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005675/0.1379, allocations: 1.616 MB / 371.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.1411, allocations: 1.197 MB / 372.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01452/0.1556, allocations: 9.133 MB / 381.9 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03071/0.1864, allocations: 17.18 MB / 399 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007308/0.1937, allocations: 3.575 MB / 402.6 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008904/0.2027, allocations: 3.93 MB / 406.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003182/0.2059, allocations: 0.5625 MB / 407.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006281/0.2122, allocations: 0.7849 MB / 407.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004384/0.2167, allocations: 1.717 MB / 409.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005072/0.2218, allocations: 1.771 MB / 411.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4332/0.6551, allocations: 15.37 MB / 426.7 MB, free: 24.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6551, allocations: 0 / 426.7 MB, free: 24.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.6551, allocations: 0 / 426.7 MB, free: 24.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005681/0.6557, allocations: 0.5 kB / 426.7 MB, free: 24.21 MB / 350.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.03032/0.686, allocations: 10.31 MB / 437.1 MB, free: 21.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.926e-05/0.6861, allocations: 8.625 kB / 437.1 MB, free: 21.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006861/0.693, allocations: 1.515 MB / 438.6 MB, free: 21.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03473/0.7277, allocations: 6.265 MB / 444.8 MB, free: 20.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/0.7432, allocations: 5.579 MB / 450.4 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007598/0.744, allocations: 0.6682 MB / 451.1 MB, free: 18.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004105/0.7482, allocations: 0.8796 MB / 452 MB, free: 18.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03932/0.7875, allocations: 14.61 MB / 466.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000376/0.7879, allocations: 7.938 kB / 466.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002402/0.7903, allocations: 375 kB / 467 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004467/0.7908, allocations: 0.4893 MB / 467.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0243/0.8151, allocations: 13.49 MB / 480.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08332/0.8985, allocations: 44.73 MB / 0.5134 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.9116, allocations: 11.69 MB / 0.5248 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005829/0.9122, allocations: 181.1 kB / 0.5249 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.118e-05/0.9123, allocations: 86.08 kB / 0.525 GB, free: 7.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=421): time 5.681e-06/0.9123, allocations: 0 / 0.525 GB, free: 7.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=421): time 0.02098/0.9333, allocations: 10.29 MB / 0.5351 GB, free: 13.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/0.9334, allocations: 117.1 kB / 0.5352 GB, free: 13.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005115/0.9385, allocations: 3.14 MB / 0.5383 GB, free: 10 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008239/0.9394, allocations: 101.3 kB / 0.5383 GB, free: 9.898 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003474/0.9429, allocations: 3.682 MB / 0.5419 GB, free: 6.191 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002504/0.9454, allocations: 1.43 MB / 0.5433 GB, free: 4.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005246/0.9459, allocations: 116 kB / 0.5435 GB, free: 4.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005208/0.9465, allocations: 0.542 MB / 0.544 GB, free: 4.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005227/0.9517, allocations: 2.908 MB / 0.5468 GB, free: 1.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006855/0.9586, allocations: 4.951 MB / 0.5517 GB, free: 11.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006452/0.9651, allocations: 4.033 MB / 0.5556 GB, free: 7.344 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.193e-05/0.9652, allocations: 16 kB / 0.5556 GB, free: 7.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01734/0.9825, allocations: 9.214 MB / 0.5646 GB, free: 14.49 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.9827, allocations: 32 kB / 0.5646 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002013/0.9829, allocations: 68 kB / 0.5647 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004809/0.9877, allocations: 1.091 MB / 0.5658 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008572/0.9963, allocations: 1.305 MB / 0.567 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02309/1.02, allocations: 10.07 MB / 0.5769 GB, free: 1.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008003/1.028, allocations: 0.7495 MB / 0.5776 GB, free: 1.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001859/1.029, allocations: 276 kB / 0.5779 GB, free: 0.7734 MB / 462.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.01008/1.04, allocations: 3.43 MB / 0.5812 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001756/1.041, allocations: 351.5 kB / 0.5816 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/1.056, allocations: 7.048 MB / 0.5884 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01095/1.067, allocations: 5.864 MB / 0.5942 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.52e-05/1.067, allocations: 12 kB / 0.5942 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.405e-05/1.067, allocations: 19.92 kB / 0.5942 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2449/1.312, allocations: 15.11 MB / 0.609 GB, free: 161.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-05/1.312, allocations: 8.406 kB / 0.609 GB, free: 161.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003094/1.315, allocations: 0.7592 MB / 0.6097 GB, free: 161.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/1.318, allocations: 1.023 MB / 0.6107 GB, free: 161.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006352/1.319, allocations: 97.45 kB / 0.6108 GB, free: 161.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/1.331, allocations: 9.963 MB / 0.6205 GB, free: 155.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.331, allocations: 7.812 kB / 0.6205 GB, free: 155.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/1.346, allocations: 11.14 MB / 0.6314 GB, free: 150.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00304/1.349, allocations: 0.9876 MB / 0.6324 GB, free: 149.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007728/1.35, allocations: 87.95 kB / 0.6325 GB, free: 149.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002208/1.352, allocations: 270 kB / 0.6327 GB, free: 149.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006027/1.352, allocations: 307.9 kB / 0.633 GB, free: 149.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002442/1.353, allocations: 127.2 kB / 0.6331 GB, free: 149.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002995/1.356, allocations: 2.099 MB / 0.6352 GB, free: 147.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.356, allocations: 3.938 kB / 0.6352 GB, free: 147.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006769/1.362, allocations: 2.236 MB / 0.6374 GB, free: 145.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (401): * Single equations (assignments): 391 * 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.01414/1.377, allocations: 13.63 MB / 0.6507 GB, free: 132.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01151/1.388, allocations: 7.538 MB / 0.658 GB, free: 125 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/1.388, allocations: 0 / 0.658 GB, free: 125 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005876/1.394, allocations: 3.668 MB / 0.6616 GB, free: 121.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/1.398, allocations: 0.6887 MB / 0.6623 GB, free: 120.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0821/1.48, allocations: 88.39 MB / 0.7486 GB, free: 29.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006182/1.486, allocations: 6.063 MB / 0.7545 GB, free: 23.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005644/1.492, allocations: 2.13 MB / 0.7566 GB, free: 21.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004412/1.497, allocations: 3.006 MB / 0.7595 GB, free: 18.65 MB / 478.1 MB Notification: Performance of SimCode: time 1.372e-06/1.497, allocations: 0 / 0.7595 GB, free: 18.65 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4087/1.905, allocations: 110.4 MB / 0.8674 GB, free: 94.6 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002857/1.906, allocations: 242 kB / 0.8676 GB, free: 94.36 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.474/6.38, allocations: 0 / 0.8676 GB, free: 94.36 MB / 478.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