Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001418/0.001418, allocations: 105.8 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 220.5 kB / 22.92 MB, free: 5.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.277/1.277, allocations: 230.5 MB / 256.4 MB, free: 8.441 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 71.83 kB / 376.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2008, allocations: 53.32 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008962/0.2098, allocations: 7.921 MB / 437.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004428/0.2142, allocations: 2.503 MB / 439.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008233/0.215, allocations: 59.75 kB / 439.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009365/0.216, allocations: 464.9 kB / 440.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.2182, allocations: 0.8731 MB / 441.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.219, allocations: 411.1 kB / 441.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003688/0.2227, allocations: 3.242 MB / 444.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.2246, allocations: 1.575 MB / 446.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.2263, allocations: 1.425 MB / 447.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.2284, allocations: 1.72 MB / 449.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000515/0.2289, allocations: 360 kB / 449.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009291/0.2299, allocations: 495.9 kB / 450.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007844/0.2307, allocations: 0.9075 MB / 451.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.2325, allocations: 1.618 MB / 452.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004769/0.2373, allocations: 4.714 MB / 457.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2373, allocations: 0 / 457.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2373, allocations: 0 / 457.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.123e-05/0.2374, allocations: 0 / 457.7 MB, free: 11.04 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.007673/0.245, allocations: 3.727 MB / 461.4 MB, free: 7.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2451, allocations: 12.03 kB / 461.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000603/0.2457, allocations: 437.1 kB / 461.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00376/0.2494, allocations: 0.7406 MB / 462.6 MB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.2523, allocations: 1.855 MB / 464.4 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.2525, allocations: 205.7 kB / 464.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.2529, allocations: 267.9 kB / 464.9 MB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005396/0.2582, allocations: 3.619 MB / 468.5 MB, free: 0 / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.159e-05/0.2583, allocations: 0 / 468.5 MB, free: 0 / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/0.2585, allocations: 104.1 kB / 468.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-05/0.2586, allocations: 105.4 kB / 468.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004865/0.2635, allocations: 3.109 MB / 471.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/0.2782, allocations: 10.29 MB / 482.1 MB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005022/0.2832, allocations: 4.476 MB / 486.6 MB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.2845, allocations: 0.8721 MB / 487.4 MB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003751/0.2883, allocations: 2.643 MB / 490.1 MB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.2883, allocations: 51.36 kB / 490.1 MB, free: 9.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.484e-06/0.2883, allocations: 0 / 490.1 MB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006004/0.2943, allocations: 2.646 MB / 492.8 MB, free: 6.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.2944, allocations: 101.9 kB / 492.9 MB, free: 6.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.2963, allocations: 1.4 MB / 494.3 MB, free: 4.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.736e-05/0.2963, allocations: 45.64 kB / 494.3 MB, free: 4.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009446/0.2973, allocations: 1.207 MB / 495.5 MB, free: 3.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/0.2976, allocations: 384.8 kB / 495.9 MB, free: 3.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.2979, allocations: 218.9 kB / 496.1 MB, free: 3.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2981, allocations: 349.9 kB / 496.5 MB, free: 2.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009258/0.299, allocations: 0.5686 MB / 497 MB, free: 2.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.3001, allocations: 0.8452 MB / 497.9 MB, free: 1.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.3023, allocations: 1.457 MB / 499.3 MB, free: 15.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.3023, allocations: 4 kB / 499.3 MB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0033/0.3056, allocations: 1.957 MB / 0.4895 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3056, allocations: 8 kB / 0.4896 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.3056, allocations: 8 kB / 0.4896 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009299/0.3066, allocations: 410.4 kB / 0.49 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/0.3074, allocations: 215.6 kB / 0.4902 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007601/0.315, allocations: 6.538 MB / 0.4965 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000885/0.3158, allocations: 143.1 kB / 0.4967 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/0.3159, allocations: 48.06 kB / 0.4967 GB, free: 6.047 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001297/0.3172, allocations: 0.872 MB / 0.4976 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.3174, allocations: 143.1 kB / 0.4977 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.3203, allocations: 1.632 MB / 0.4993 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.3203, allocations: 12 kB / 0.4993 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3203, allocations: 8 kB / 0.4993 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.3203, allocations: 11.91 kB / 0.4993 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005966/0.3263, allocations: 3.922 MB / 0.5032 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3263, allocations: 4.188 kB / 0.5032 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.3268, allocations: 131.8 kB / 0.5033 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008703/0.3277, allocations: 394.9 kB / 0.5037 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/0.3278, allocations: 31.98 kB / 0.5037 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007289/0.3351, allocations: 6.521 MB / 0.5101 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3351, allocations: 4.031 kB / 0.5101 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/0.3389, allocations: 2.486 MB / 0.5125 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.3393, allocations: 255.9 kB / 0.5128 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.3394, allocations: 24 kB / 0.5128 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007407/0.3401, allocations: 91.84 kB / 0.5129 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.3403, allocations: 96.67 kB / 0.513 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.3404, allocations: 31.98 kB / 0.513 GB, free: 4.949 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001287/0.3417, allocations: 0.9834 MB / 0.5139 GB, free: 3.961 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3417, allocations: 0 / 0.5139 GB, free: 3.961 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001702/0.3434, allocations: 0.6852 MB / 0.5146 GB, free: 3.273 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004135/0.3475, allocations: 3.076 MB / 0.5176 GB, free: 148 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002959/0.3505, allocations: 1.742 MB / 0.5193 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3505, allocations: 1.188 kB / 0.5193 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.3522, allocations: 1.094 MB / 0.5204 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.3536, allocations: 296.6 kB / 0.5207 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0232/0.3768, allocations: 16.07 MB / 0.5364 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/0.3787, allocations: 2.192 MB / 0.5385 GB, free: 10.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008245/0.3795, allocations: 350.9 kB / 0.5388 GB, free: 9.828 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.3806, allocations: 0.882 MB / 0.5397 GB, free: 8.945 MB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3806, allocations: 0 / 0.5397 GB, free: 8.945 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2368/0.6174, allocations: 39.35 MB / 0.5781 GB, free: 98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.52, allocations: 6.781 kB / 0.5781 GB, free: 98 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.677676010003779]