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.0009668/0.0009669, allocations: 93.73 kB / 16.93 MB, free: 5.984 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.001117/0.001117, allocations: 181.2 kB / 17.82 MB, free: 5.652 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.359/1.359, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004576/0.0004576, allocations: 20 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1027, allocations: 47.57 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01421/0.117, allocations: 13.22 MB / 341.7 MB, free: 6.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009642/0.1266, allocations: 4.388 MB / 346 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.1292, allocations: 111.6 kB / 346.1 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.132, allocations: 0.9016 MB / 347.1 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005174/0.1372, allocations: 1.535 MB / 348.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.1409, allocations: 1.278 MB / 349.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01598/0.1569, allocations: 9.122 MB / 359 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03098/0.1879, allocations: 17.19 MB / 376.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006289/0.1942, allocations: 3.571 MB / 379.7 MB, free: 488 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1972/0.3915, allocations: 3.921 MB / 383.7 MB, free: 23.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002887/0.3944, allocations: 0.562 MB / 384.2 MB, free: 23.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004705/0.3991, allocations: 0.7917 MB / 385 MB, free: 23.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00336/0.4025, allocations: 1.709 MB / 386.7 MB, free: 23.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003516/0.406, allocations: 1.771 MB / 388.5 MB, free: 23.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.4232, allocations: 15.21 MB / 403.7 MB, free: 17.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4233, allocations: 0 / 403.7 MB, free: 17.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.693e-06/0.4233, allocations: 0 / 403.7 MB, free: 17.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0007942/0.4241, allocations: 5.5 kB / 403.7 MB, free: 17.35 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.03057/0.4547, allocations: 10.31 MB / 414 MB, free: 12.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4547, allocations: 6.938 kB / 414 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004643/0.4594, allocations: 1.514 MB / 415.6 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03312/0.4925, allocations: 6.273 MB / 421.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01277/0.5053, allocations: 5.09 MB / 426.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000551/0.5059, allocations: 0.6735 MB / 427.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003509/0.5094, allocations: 0.8733 MB / 428.5 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03675/0.5462, allocations: 14.6 MB / 443.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002518/0.5465, allocations: 11.91 kB / 443.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/0.5482, allocations: 374.5 kB / 443.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005351/0.5488, allocations: 0.4914 MB / 443.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02986/0.5786, allocations: 13.49 MB / 457.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0805/0.6592, allocations: 44.73 MB / 0.4904 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/0.6718, allocations: 11.68 MB / 0.5018 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004706/0.6723, allocations: 186.4 kB / 0.502 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/0.6724, allocations: 74.56 kB / 0.502 GB, free: 15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=421): time 6.171e-06/0.6724, allocations: 4 kB / 0.502 GB, free: 14.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=421): time 0.02083/0.6933, allocations: 10.31 MB / 0.5121 GB, free: 4.531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.6934, allocations: 121.1 kB / 0.5122 GB, free: 4.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004955/0.6983, allocations: 3.124 MB / 0.5153 GB, free: 1.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005332/0.6989, allocations: 93.7 kB / 0.5154 GB, free: 1.152 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002517/0.7014, allocations: 3.687 MB / 0.519 GB, free: 13.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/0.7029, allocations: 1.428 MB / 0.5204 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.7033, allocations: 116 kB / 0.5205 GB, free: 11.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003394/0.7036, allocations: 0.5459 MB / 0.521 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004307/0.7079, allocations: 2.904 MB / 0.5238 GB, free: 8.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005882/0.7138, allocations: 4.948 MB / 0.5287 GB, free: 2.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1926/0.9064, allocations: 4.026 MB / 0.5326 GB, free: 131.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.331e-05/0.9065, allocations: 22.2 kB / 0.5326 GB, free: 131.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.0155/0.922, allocations: 9.214 MB / 0.5416 GB, free: 130.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.9221, allocations: 32.97 kB / 0.5417 GB, free: 130.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.204e-05/0.9222, allocations: 67.19 kB / 0.5417 GB, free: 130.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/0.9251, allocations: 1.103 MB / 0.5428 GB, free: 130.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004113/0.9292, allocations: 1.301 MB / 0.5441 GB, free: 130.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/0.9425, allocations: 10.07 MB / 0.5539 GB, free: 124.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005151/0.9477, allocations: 0.739 MB / 0.5546 GB, free: 124.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007726/0.9485, allocations: 277 kB / 0.5549 GB, free: 124.2 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.006253/0.9548, allocations: 3.439 MB / 0.5582 GB, free: 122.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006899/0.9555, allocations: 351 kB / 0.5586 GB, free: 122.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00996/0.9654, allocations: 7.054 MB / 0.5655 GB, free: 119.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008568/0.974, allocations: 5.855 MB / 0.5712 GB, free: 115 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-05/0.9741, allocations: 14.75 kB / 0.5712 GB, free: 115 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.791e-05/0.9741, allocations: 26.73 kB / 0.5712 GB, free: 115 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/0.9952, allocations: 15.11 MB / 0.586 GB, free: 101.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.9952, allocations: 8 kB / 0.586 GB, free: 101.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/0.9979, allocations: 0.7645 MB / 0.5867 GB, free: 100.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/1, allocations: 1.021 MB / 0.5877 GB, free: 99.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002938/1.001, allocations: 95.97 kB / 0.5878 GB, free: 99.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/1.011, allocations: 9.957 MB / 0.5975 GB, free: 89.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.011, allocations: 11.94 kB / 0.5976 GB, free: 89.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/1.024, allocations: 11.14 MB / 0.6084 GB, free: 77.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002818/1.027, allocations: 0.9873 MB / 0.6094 GB, free: 76.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005243/1.028, allocations: 83.98 kB / 0.6095 GB, free: 76.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/1.031, allocations: 271.8 kB / 0.6097 GB, free: 76.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007914/1.031, allocations: 311.4 kB / 0.61 GB, free: 76.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004052/1.032, allocations: 132 kB / 0.6102 GB, free: 76.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004451/1.036, allocations: 2.101 MB / 0.6122 GB, free: 73.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1.036, allocations: 0 / 0.6122 GB, free: 73.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00779/1.044, allocations: 2.233 MB / 0.6144 GB, free: 71.7 MB / 430.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.017/1.061, allocations: 13.61 MB / 0.6277 GB, free: 57.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01427/1.075, allocations: 7.539 MB / 0.635 GB, free: 50.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.075, allocations: 1.875 kB / 0.6351 GB, free: 50.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00499/1.08, allocations: 3.661 MB / 0.6386 GB, free: 46.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.084, allocations: 0.6913 MB / 0.6393 GB, free: 45.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2514/1.335, allocations: 88.39 MB / 0.7256 GB, free: 137.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005244/1.34, allocations: 6.064 MB / 0.7315 GB, free: 135.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004998/1.346, allocations: 2.129 MB / 0.7336 GB, free: 135.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003073/1.349, allocations: 3.007 MB / 0.7366 GB, free: 133.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/1.349, allocations: 0 / 0.7366 GB, free: 133.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1336/1.482, allocations: 110.3 MB / 0.8443 GB, free: 25.33 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/1.482, allocations: 237.6 kB / 0.8445 GB, free: 25.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.218/5.7, allocations: 7.891 kB / 0.8445 GB, free: 25.09 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