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.001533/0.001533, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00186/0.00186, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] 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.001959/0.001959, allocations: 68.77 kB / 378.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2903, allocations: 53.38 MB / 431.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01013/0.3005, allocations: 7.913 MB / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005468/0.3059, allocations: 2.515 MB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.307, allocations: 67.56 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.3082, allocations: 468.9 kB / 442.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.3108, allocations: 0.8782 MB / 443.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.3118, allocations: 409.8 kB / 444.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004484/0.3162, allocations: 3.25 MB / 447.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.3185, allocations: 1.577 MB / 449 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.3205, allocations: 1.457 MB / 450.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.3233, allocations: 1.728 MB / 452.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005946/0.3239, allocations: 356 kB / 452.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.3251, allocations: 491.9 kB / 453 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.3261, allocations: 0.9114 MB / 453.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.3283, allocations: 1.618 MB / 455.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005954/0.3342, allocations: 4.71 MB / 460.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.3343, allocations: 8 kB / 460.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3343, allocations: 0 / 460.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.313e-05/0.3343, allocations: 0 / 460.3 MB, free: 10.45 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.009206/0.3435, allocations: 3.651 MB / 463.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3436, allocations: 12.03 kB / 463.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007124/0.3443, allocations: 437 kB / 464.3 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003961/0.3483, allocations: 0.7406 MB / 465.1 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/0.3522, allocations: 1.799 MB / 466.9 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.3524, allocations: 197.7 kB / 467.1 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004671/0.3528, allocations: 279.9 kB / 467.3 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006748/0.3596, allocations: 3.619 MB / 471 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.563e-05/0.3596, allocations: 0 / 471 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/0.3599, allocations: 112 kB / 471.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.36, allocations: 101.4 kB / 471.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005754/0.3658, allocations: 3.101 MB / 474.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01773/0.3835, allocations: 10.13 MB / 484.4 MB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00393/0.3874, allocations: 1.775 MB / 486.2 MB, free: 0 / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.3889, allocations: 0.8684 MB / 487 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004442/0.3934, allocations: 2.191 MB / 489.2 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.3934, allocations: 47.44 kB / 489.3 MB, free: 12.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.735e-06/0.3934, allocations: 4 kB / 489.3 MB, free: 12.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006388/0.3998, allocations: 2.495 MB / 491.8 MB, free: 10.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.3999, allocations: 89.92 kB / 491.9 MB, free: 10.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.4022, allocations: 1.404 MB / 493.3 MB, free: 8.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.876e-05/0.4023, allocations: 41.7 kB / 493.3 MB, free: 8.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.4034, allocations: 1.203 MB / 494.5 MB, free: 7.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/0.4037, allocations: 388.8 kB / 494.9 MB, free: 7.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004454/0.4042, allocations: 218.9 kB / 495.1 MB, free: 6.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4044, allocations: 353.9 kB / 495.5 MB, free: 6.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009525/0.4053, allocations: 0.5647 MB / 496 MB, free: 6.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.4065, allocations: 0.8412 MB / 496.9 MB, free: 5.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/0.4092, allocations: 1.463 MB / 498.3 MB, free: 3.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.4092, allocations: 4 kB / 498.3 MB, free: 3.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003859/0.413, allocations: 1.95 MB / 0.4886 GB, free: 1.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.4131, allocations: 10.66 kB / 0.4886 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.4131, allocations: 12 kB / 0.4886 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.4141, allocations: 403.3 kB / 0.489 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/0.415, allocations: 219.6 kB / 0.4892 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008349/0.4233, allocations: 6.338 MB / 0.4954 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.4245, allocations: 139.1 kB / 0.4955 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/0.4246, allocations: 51.98 kB / 0.4955 GB, free: 10.16 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.00169/0.4263, allocations: 0.8604 MB / 0.4964 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.4266, allocations: 151.1 kB / 0.4965 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.4297, allocations: 1.644 MB / 0.4981 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.4297, allocations: 8 kB / 0.4981 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.4297, allocations: 8 kB / 0.4981 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.4297, allocations: 7.922 kB / 0.4982 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006867/0.4366, allocations: 3.902 MB / 0.502 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.4366, allocations: 4 kB / 0.502 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/0.4373, allocations: 135.8 kB / 0.5021 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000961/0.4382, allocations: 389.6 kB / 0.5025 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.637e-05/0.4383, allocations: 35.97 kB / 0.5025 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008133/0.4464, allocations: 6.308 MB / 0.5087 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4464, allocations: 0 / 0.5087 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004655/0.4511, allocations: 2.49 MB / 0.5111 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005331/0.4516, allocations: 170.9 kB / 0.5113 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.4518, allocations: 31.92 kB / 0.5113 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007359/0.4525, allocations: 91.86 kB / 0.5114 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/0.4528, allocations: 96.67 kB / 0.5115 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.298e-05/0.4529, allocations: 39.98 kB / 0.5115 GB, free: 9.441 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.4544, allocations: 0.9795 MB / 0.5125 GB, free: 8.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4544, allocations: 0 / 0.5125 GB, free: 8.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002131/0.4566, allocations: 0.6891 MB / 0.5131 GB, free: 7.766 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.004645/0.4612, allocations: 3.083 MB / 0.5161 GB, free: 4.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.4644, allocations: 1.737 MB / 0.5178 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.4644, allocations: 0 / 0.5178 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.4663, allocations: 1.085 MB / 0.5189 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.4679, allocations: 304.5 kB / 0.5192 GB, free: 1.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02783/0.4957, allocations: 16.08 MB / 0.5349 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2282/0.7239, allocations: 2.188 MB / 0.537 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001242/0.7251, allocations: 341.5 kB / 0.5374 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.7261, allocations: 0.8848 MB / 0.5382 GB, free: 101.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/0.7262, allocations: 0 / 0.5382 GB, free: 101.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08352/0.8097, allocations: 40.16 MB / 0.5774 GB, free: 70.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.37, allocations: 13.69 kB / 0.5774 GB, free: 70.56 MB / 446.1 MB " [Timeout remaining time 647] (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 --stepSize=0.01 --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: 15.833424671087414] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter_e.singlePhaseElectroMagneticConverter[1].Phi.re', 'converter_e.singlePhaseElectroMagneticConverter[2].Phi.im', 'loss_m.Phi.im', 'loss_m.Phi.re'] 13.471779291983694 13.488267086 13.150539636 Calling exit ...