Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001105/0.001105, allocations: 98 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 206.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002067/0.0002067, allocations: 8 kB / 306.7 MB, free: 1.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1007, allocations: 51.49 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01296/0.1137, allocations: 13.27 MB / 371.5 MB, free: 464 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1885/0.3022, allocations: 4.435 MB / 375.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.3044, allocations: 112.6 kB / 376 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.3077, allocations: 0.9031 MB / 376.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007912/0.3156, allocations: 1.603 MB / 378.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00472/0.3203, allocations: 1.216 MB / 379.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02092/0.3413, allocations: 9.203 MB / 389 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04325/0.3846, allocations: 17.2 MB / 406.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01025/0.3949, allocations: 3.571 MB / 409.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008122/0.403, allocations: 3.93 MB / 413.7 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.4048, allocations: 0.5625 MB / 414.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.4089, allocations: 0.8105 MB / 415 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001948/0.4108, allocations: 1.709 MB / 416.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003522/0.4144, allocations: 1.77 MB / 418.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01991/0.4343, allocations: 15.39 MB / 433.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4344, allocations: 0 / 433.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4344, allocations: 0 / 433.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006792/0.4351, allocations: 0 / 433.9 MB, free: 0.5234 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.03066/0.4657, allocations: 10.32 MB / 444.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.4658, allocations: 8.031 kB / 444.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005088/0.4709, allocations: 1.512 MB / 445.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03501/0.5059, allocations: 6.298 MB / 452 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.5195, allocations: 5.586 MB / 457.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007217/0.5203, allocations: 0.6703 MB / 458.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003135/0.5234, allocations: 0.8749 MB / 459.2 MB, free: 7.074 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03409/0.5575, allocations: 14.61 MB / 473.8 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000275/0.5579, allocations: 7.906 kB / 473.8 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001926/0.5598, allocations: 375.9 kB / 474.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005217/0.5603, allocations: 0.4953 MB / 474.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/0.585, allocations: 13.49 MB / 488.1 MB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07346/0.6584, allocations: 45.21 MB / 0.5208 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4193/1.078, allocations: 11.69 MB / 0.5323 GB, free: 123.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007254/1.079, allocations: 262 kB / 0.5325 GB, free: 123.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.597e-05/1.079, allocations: 82.03 kB / 0.5326 GB, free: 123 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 7.474e-06/1.079, allocations: 0 / 0.5326 GB, free: 123 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.02781/1.107, allocations: 10.3 MB / 0.5426 GB, free: 121 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.107, allocations: 121.9 kB / 0.5428 GB, free: 120.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006476/1.113, allocations: 3.133 MB / 0.5458 GB, free: 119.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009299/1.114, allocations: 91.23 kB / 0.5459 GB, free: 119.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002387/1.117, allocations: 3.688 MB / 0.5495 GB, free: 117.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001865/1.118, allocations: 1.427 MB / 0.5509 GB, free: 116 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/1.119, allocations: 120 kB / 0.551 GB, free: 115.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003223/1.119, allocations: 0.5434 MB / 0.5516 GB, free: 115.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004729/1.124, allocations: 2.91 MB / 0.5544 GB, free: 114.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005565/1.129, allocations: 4.951 MB / 0.5592 GB, free: 110.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005292/1.135, allocations: 4.029 MB / 0.5632 GB, free: 109.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.498e-05/1.135, allocations: 19.84 kB / 0.5632 GB, free: 109.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01588/1.151, allocations: 9.206 MB / 0.5722 GB, free: 105.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.535e-05/1.151, allocations: 33.91 kB / 0.5722 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001983/1.151, allocations: 65.97 kB / 0.5723 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003069/1.154, allocations: 1.096 MB / 0.5733 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00533/1.16, allocations: 1.298 MB / 0.5746 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/1.172, allocations: 10.08 MB / 0.5844 GB, free: 99.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00523/1.177, allocations: 0.7308 MB / 0.5852 GB, free: 98.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/1.178, allocations: 279.7 kB / 0.5854 GB, free: 98.36 MB / 446.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.005517/1.184, allocations: 3.428 MB / 0.5888 GB, free: 94.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007335/1.184, allocations: 351.6 kB / 0.5891 GB, free: 94.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009939/1.194, allocations: 7.043 MB / 0.596 GB, free: 87.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007717/1.202, allocations: 5.87 MB / 0.6017 GB, free: 81.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.812e-05/1.202, allocations: 12 kB / 0.6017 GB, free: 81.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.79e-05/1.202, allocations: 27.75 kB / 0.6018 GB, free: 81.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/1.226, allocations: 15.11 MB / 0.6165 GB, free: 66.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/1.226, allocations: 8.875 kB / 0.6165 GB, free: 66.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/1.228, allocations: 0.7645 MB / 0.6173 GB, free: 65.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/1.231, allocations: 1.016 MB / 0.6183 GB, free: 64.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003918/1.231, allocations: 99.97 kB / 0.6184 GB, free: 64.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/1.243, allocations: 9.943 MB / 0.6281 GB, free: 54.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.243, allocations: 19.73 kB / 0.6281 GB, free: 54.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/1.257, allocations: 11.15 MB / 0.639 GB, free: 42.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00262/1.259, allocations: 0.9835 MB / 0.6399 GB, free: 41.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006553/1.26, allocations: 84 kB / 0.64 GB, free: 41.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.262, allocations: 275.1 kB / 0.6403 GB, free: 41.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005322/1.263, allocations: 311.3 kB / 0.6406 GB, free: 41.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/1.263, allocations: 132 kB / 0.6407 GB, free: 40.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002606/1.266, allocations: 2.101 MB / 0.6428 GB, free: 38.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.266, allocations: 0 / 0.6428 GB, free: 38.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005192/1.271, allocations: 2.235 MB / 0.6449 GB, free: 36.56 MB / 446.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.01381/1.285, allocations: 13.61 MB / 0.6582 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01146/1.296, allocations: 7.538 MB / 0.6656 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/1.296, allocations: 4 kB / 0.6656 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005553/1.302, allocations: 3.659 MB / 0.6692 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/1.305, allocations: 0.6831 MB / 0.6698 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2479/1.553, allocations: 88.38 MB / 0.7562 GB, free: 118.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004495/1.558, allocations: 6.065 MB / 0.7621 GB, free: 116.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004713/1.562, allocations: 2.131 MB / 0.7642 GB, free: 116 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002902/1.565, allocations: 3.009 MB / 0.7671 GB, free: 113.5 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/1.565, allocations: 7.938 kB / 0.7671 GB, free: 113.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3598/1.925, allocations: 110.3 MB / 0.8748 GB, free: 11.85 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/1.925, allocations: 234.5 kB / 0.875 GB, free: 11.61 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.797/6.722, allocations: 0 / 0.875 GB, free: 11.61 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat