Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_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.001045/0.001045, allocations: 95 kB / 16.96 MB, free: 6.441 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.001284/0.001285, allocations: 177.8 kB / 17.84 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 224 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005095/0.0005097, allocations: 12 kB / 280.9 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1039, allocations: 47.58 MB / 328.5 MB, free: 3.949 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01568/0.1197, allocations: 14.23 MB / 342.7 MB, free: 5.664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.1304, allocations: 4.25 MB / 347 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.1326, allocations: 111.7 kB / 347.1 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.1349, allocations: 0.8468 MB / 347.9 MB, free: 452 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004378/0.1393, allocations: 1.583 MB / 349.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.1424, allocations: 1.274 MB / 350.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0158/0.1582, allocations: 12.12 MB / 362.9 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2487/0.4069, allocations: 17.37 MB / 380.3 MB, free: 18.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009231/0.4161, allocations: 3.96 MB / 384.2 MB, free: 18.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009498/0.4257, allocations: 4.335 MB / 388.5 MB, free: 18.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002846/0.4285, allocations: 0.5623 MB / 389.1 MB, free: 18.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00475/0.4333, allocations: 0.8382 MB / 389.9 MB, free: 18.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002671/0.436, allocations: 1.761 MB / 391.7 MB, free: 18.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004324/0.4403, allocations: 1.778 MB / 393.5 MB, free: 18.47 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.4545, allocations: 15.23 MB / 408.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4545, allocations: 0 / 408.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4546, allocations: 0 / 408.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004991/0.4551, allocations: 3.875 kB / 408.7 MB, free: 11.81 MB / 318.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.02664/0.4817, allocations: 10.38 MB / 419.1 MB, free: 6.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.4818, allocations: 10 kB / 419.1 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004856/0.4866, allocations: 1.508 MB / 420.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0312/0.5179, allocations: 6.218 MB / 426.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/0.5297, allocations: 5.125 MB / 432 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005722/0.5303, allocations: 0.6769 MB / 432.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003542/0.5339, allocations: 0.8761 MB / 433.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03663/0.5705, allocations: 14.67 MB / 448.2 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002272/0.5708, allocations: 12 kB / 448.2 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001556/0.5724, allocations: 372.1 kB / 448.6 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005113/0.5729, allocations: 499.3 kB / 449 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02679/0.5997, allocations: 13.48 MB / 462.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1064/0.7062, allocations: 44.73 MB / 0.4954 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01552/0.7217, allocations: 11.68 MB / 0.5068 GB, free: 8.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006469/0.7283, allocations: 3.212 MB / 0.5099 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005846/0.7289, allocations: 179.1 kB / 0.5101 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.422e-05/0.729, allocations: 74.56 kB / 0.5102 GB, free: 4.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=421): time 6.302e-06/0.729, allocations: 0 / 0.5102 GB, free: 4.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=421): time 0.02984/0.7589, allocations: 11.01 MB / 0.5209 GB, free: 9.863 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.759, allocations: 123.4 kB / 0.521 GB, free: 9.727 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006275/0.7653, allocations: 3.132 MB / 0.5241 GB, free: 6.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00127/0.7666, allocations: 93.7 kB / 0.5242 GB, free: 6.477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003495/0.7701, allocations: 3.676 MB / 0.5278 GB, free: 2.773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002703/0.7728, allocations: 1.434 MB / 0.5292 GB, free: 1.352 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007425/0.7736, allocations: 120 kB / 0.5293 GB, free: 1.234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004846/0.7741, allocations: 0.542 MB / 0.5298 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.231/1.005, allocations: 2.883 MB / 0.5326 GB, free: 131.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005919/1.011, allocations: 4.958 MB / 0.5375 GB, free: 129.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006024/1.017, allocations: 4.008 MB / 0.5414 GB, free: 128.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.654e-05/1.017, allocations: 19.41 kB / 0.5414 GB, free: 128.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01623/1.033, allocations: 9.19 MB / 0.5504 GB, free: 125.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/1.034, allocations: 32.22 kB / 0.5504 GB, free: 125.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/1.034, allocations: 70.59 kB / 0.5505 GB, free: 125.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/1.036, allocations: 1.128 MB / 0.5516 GB, free: 125.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003918/1.04, allocations: 1.288 MB / 0.5528 GB, free: 125.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/1.052, allocations: 9.916 MB / 0.5625 GB, free: 119.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00393/1.055, allocations: 0.7383 MB / 0.5632 GB, free: 119.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003717/1.056, allocations: 278.4 kB / 0.5635 GB, free: 119.1 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.005543/1.061, allocations: 3.431 MB / 0.5669 GB, free: 117.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006195/1.062, allocations: 350.4 kB / 0.5672 GB, free: 117.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009853/1.072, allocations: 7.03 MB / 0.5741 GB, free: 112.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007066/1.079, allocations: 5.838 MB / 0.5798 GB, free: 107.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/1.079, allocations: 12 kB / 0.5798 GB, free: 107.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.749e-05/1.079, allocations: 23.97 kB / 0.5798 GB, free: 107.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0215/1.101, allocations: 15.52 MB / 0.5949 GB, free: 93.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/1.101, allocations: 12 kB / 0.595 GB, free: 93.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/1.103, allocations: 0.784 MB / 0.5957 GB, free: 92.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002375/1.106, allocations: 1.04 MB / 0.5967 GB, free: 91.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002449/1.106, allocations: 115.9 kB / 0.5968 GB, free: 91.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/1.116, allocations: 9.658 MB / 0.6063 GB, free: 81.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/1.116, allocations: 19.94 kB / 0.6063 GB, free: 81.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.129, allocations: 10.88 MB / 0.6169 GB, free: 70.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/1.13, allocations: 1.003 MB / 0.6179 GB, free: 69.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004031/1.131, allocations: 99.94 kB / 0.618 GB, free: 69.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/1.132, allocations: 283.8 kB / 0.6183 GB, free: 68.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004269/1.133, allocations: 339.3 kB / 0.6186 GB, free: 68.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/1.133, allocations: 144 kB / 0.6187 GB, free: 68.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00292/1.136, allocations: 2.097 MB / 0.6208 GB, free: 66.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.335e-06/1.136, allocations: 0 / 0.6208 GB, free: 66.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005975/1.142, allocations: 2.237 MB / 0.623 GB, free: 64.01 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.01224/1.154, allocations: 11.62 MB / 0.6343 GB, free: 52.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009777/1.164, allocations: 7.543 MB / 0.6417 GB, free: 44.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.164, allocations: 8.125 kB / 0.6417 GB, free: 44.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004436/1.168, allocations: 3.711 MB / 0.6453 GB, free: 40.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/1.172, allocations: 0.7838 MB / 0.6461 GB, free: 40.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06924/1.241, allocations: 43.27 MB / 0.6883 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/1.252, allocations: 5.935 MB / 0.6941 GB, free: 4.805 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006107/1.258, allocations: 2.154 MB / 0.6962 GB, free: 2.645 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2168/1.475, allocations: 3.026 MB / 0.6992 GB, free: 144.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.543e-06/1.475, allocations: 0 / 0.6992 GB, free: 144.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1722/1.647, allocations: 111.2 MB / 0.8078 GB, free: 59.05 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/1.647, allocations: 251.7 kB / 0.808 GB, free: 58.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.591/6.238, allocations: 0 / 0.808 GB, free: 58.73 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat